Light source detection apparatus and method as well as image processing method

A technology of image processing and detection methods, applied in the field of image processing, can solve problems affecting image processing, large amount of calculation, and inaccurate physical meaning of weighting factors, etc., to achieve the effect of reducing the amount of calculation and improving accuracy

Active Publication Date: 2008-10-08
北京中星天视科技有限公司
View PDF0 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Collect the image corresponding to the detected light source, and the image width is wd, and the height is ht, then the number of pixels in the image is wd*ht, and 5 standard light sources are pre-calibrated, and wd*ht pixels in the image corresponding to the detected light source The R, G, and B values ​​of the points are compared and detected with the R, G, and B values ​​of each pre-calibrated standard light source one by one, and the comparison and detection process of each pixel in the image corresponding to the detected light source is set as one operation, then it is There are a total of 1*5*wd*ht operations to detect the image corresponding to the light source. This detection method has a larg...

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
  • Light source detection apparatus and method as well as image processing method
  • Light source detection apparatus and method as well as image processing method
  • Light source detection apparatus and method as well as image processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0088] We take the RGB color space of the image and take the gray point of the sample pixel as an example to describe the light source detection method involved in the present invention in detail:

[0089] Pre-set the RB ratio of various standard light sources, obtain the image corresponding to the target light source, and count the average values ​​of R and B corresponding to the gray points in the image, which are represented by Rmean and Bmean respectively, and calculate the average value of R and B Ratio RB;

[0090] RB=Rmean / Bmean;

[0091] Compare the RB ratio of the gray point in the image corresponding to the target light source with the RB ratio of the preset standard light source, and determine the smallest one or more corresponding standard light sources in the absolute value of the difference as the A standard light source that matches the target light source.

[0092] In the RGB color space, the value of RB or BR is based on the reason that RB or BR changes mo...

Embodiment 2

[0095] We take the YUV color space of the image and select the red point in any colored point as an example to describe the light source detection method involved in the present invention in detail:

[0096] Preset the VU ratio of various standard light sources, obtain the image corresponding to the target light source, and count the average values ​​of V and U corresponding to the red dots in the image, which are represented by Vmean and Umean respectively, and calculate the average value of V and U Ratio VU,

[0097] VU=Vmean / Umean;

[0098] Compare the calculated VU ratio of the target light source corresponding to the red point of the image with the VU ratio of the preset standard light source, and determine one or more corresponding standard light sources with the smallest absolute value of the difference as the target The standard light source that the light source matches.

[0099] Similarly, obtain the UV ratio of the red point corresponding to the target light sou...

Embodiment 3

[0163] combined with Figure 4 Taking the target light source as an indoor light source as an example to illustrate the image processing method.

[0164] We set the target light source as an indoor light source, and the image corresponding to the indoor light source is in the RGB color space, and take the gray point of the sample pixel as an example to describe the light source detection method and image processing method involved in the present invention in detail:

[0165] Pre-set the RB ratio of various standard light sources, such as D65, CWF, U30, A, H and other 5 standard light sources.

[0166] Obtain the image corresponding to the indoor light source, and calculate the average value of R and B corresponding to the gray point in the image, which is represented by Rmean and Bmean respectively, and calculate the ratio RB of the average value of R and B;

[0167] RB=Rmean / Bmean;

[0168] Compare the calculated RB ratio of the gray point in the image corresponding to th...

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 relates to the field of image processing technology, particularly to a light source detecting equipment and method as well as an image processing method, which are used for gathering images corresponding to the object light source and obtaining sample pixel points of images corresponding to the object light source; computing color parameters of images corresponding to the object light source according to the sample pixel points; comparing the color parameters of images corresponding to the object light source with preset color parameters of various standard light sources, thereby determining a standard light source matched with the object light source. The technical solution of the invention can accurately detect the light source with simple operation.

Description

technical field [0001] The present invention relates to the technical field of image processing, in particular to a light source detection device and method and an image processing method. Background technique [0002] In digital still cameras, digital video cameras, and other electronic image pickup devices, the scene is picked up as an image through the response of a CCD (charge-coupled device) or other photoelectric sensor; however, since generally, R, G, B, or other The sensor response balance between color channels is constant, so in order to form an image in a natural-looking state according to the scene lighting, the detection of the corresponding light source in the scene and the processing of the picked-up image are necessary. Without detection of the light source and processing of the image, what would normally be recognized as a colorless object by the viewer of the image will be reproduced in the image as colored, or the object will be reproduced in a color diffe...

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
IPC IPC(8): H04N9/64H04N9/73
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