Lab-space-based detection method based on image color cast

A detection method and image technology, which is applied in the field of image and video, can solve problems such as the inability to detect image color cast correctly and reliably, achieve good detection ability, improve accuracy and reliability, and achieve good real-time performance

Active Publication Date: 2013-04-03
昆山市工业技术研究院有限责任公司
View PDF3 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these methods have certain limitations and cannot detect the color cast of the image correctly and reliably.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Lab-space-based detection method based on image color cast
  • Lab-space-based detection method based on image color cast
  • Lab-space-based detection method based on image color cast

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0032] Embodiment: a kind of detection method based on the image color cast of Lab space, carries out according to the following steps:

[0033] 1) Get the current video frame.

[0034] 2) Divide the acquired video frame image into several blocks, calculate the average value of R, G, and B of each sub-block, and calculate the Lab value of each color block according to the average value of R, G, and B. The conversion from RGB color space to Lab color space can use the cvCvtcolor function in OpenCV.

[0035] The Lab color space is a color-opposite space with dimension L for lightness and a and b for color-opposite dimensions, based on non-linearly compressed CIE XYZ color space coordinates. To measure the degree of deviation between two colors, you first need to choose an appropriate color space. The most commonly used color space is the RGB color space. However, when people want to use the Euclidean distance to describe the difference between two colors, there is a serious p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a lab-space-based detection method based on image color cast. The method includes the steps of firstly, acquiring a current video frame; secondly, converting RGB (red, green, blue) into a lab space; thirdly, evaluating ratio K of image average chroma D to chroma center distance M according to a lab value; fourthly, evaluating histograms of a and b, calculating a factor according to the histograms, and multiplying the factor to the ratio K to acquire a result f; and fifthly, determining color cast occurs in an image to be detected when value of f is larger than a threshold value. Limitation of scene or prior knowledge is avoided, and compared with the prior art, the lab-space-based detection method based on image color cast is higher in detection precision and has excellent detection capacity in terms of scene color occupying large area also, universal adaptability and higher detection accuracy for color cast and reliability. In addition, conversion of color space and knowledge of the histograms are utilized flexibly, calculation is simplified, and real-time performance is high.

Description

technical field [0001] The invention belongs to the technical field of image and video, and particularly relates to the use of color space conversion and histogram algorithm in color cast detection, and the use of the method in intelligent video monitoring. Background technique [0002] With the rapid advancement of the safe city project across the country, the construction of video surveillance systems has formed a certain scale. It is very inefficient to check the fault screens one by one, so intelligent video fault diagnosis is very important. [0003] Image color cast detection is a key diagnostic item in video fault diagnosis. Color cast means that there is a certain degree of error between the color of the digital image captured by the imaging device and the real color of the surface of the object being photographed. [0004] In the prior art, the detection methods for image color cast mainly include gray scale world method, white area method, neural network method a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/40
Inventor 韩光李晓飞林泽游苏英程晓东
Owner 昆山市工业技术研究院有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products