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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 mono...
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 sourc...
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 the ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com