White balance adjusting method
An adjustment method and white balance technology, applied in the field of white balance adjustment, can solve problems such as missing selection, wrong selection, and large white point error, so as to reduce the large error of white point selection, improve robustness and accuracy, and improve The effect of choosing flexibility
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2015-05-13
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] A white balance adjustment method is used to improve the robustness and accuracy of white point statistics in the white balance adjustment method, and belongs to the technical field of white balance adjustment methods. Background technique
[0002] White balance adjustment is an important part of color imaging, color display and other equipment. White balance adjustment refers to the use of digital signal processing methods to adaptively correct the color temperature deviation of the image acquired by the image sensor or the color temperature deviation of the liquid crystal display according to the image data, so that it is as consistent as possible with the actual scene color temperature.
[0003] White balance adjustment includes white point selection and color component statistics, channel gain acquisition and color cast correction. The core of the white balance adjustment method is the selection of the white point, the statistics of the color comp...
Examples
Embodiment 1
[0064] (1) Get as figure 2 The color fringe image shown has a width of 1920 and a height of 1080. The horizontal direction is composed of eight color stripes on average, and the vertical direction is within the same color stripe. The color remains unchanged, but the brightness gradually decreases from top to bottom. , consisting of eight grayscale changes. The colors of the eight color bars from left to right are white [250, 250, 250], blue [0, 0, 250], green [0, 250, 0], red [250, 0, 0], light blue [0, 250, 250], black [0, 0, 0], rose red [250, 0, 250] and yellow [250, 250, 0], each color The grayscale change coefficient from top to bottom in the bar is [255 / 255, 192 / 255, 160 / 255, 128 / 255, 96 / 255, 64 / 255, 32 / 255, 16 / 255], the RGB image conversion To YCbCb image, that is to use one of the conversion methods in the color space conversion formula to convert, but not limited to this method, such as CCIR601 and so on.
[0065] (2) According to the luminance component Y, in the ...
Embodiment 2
[0122] (1) Get as image 3 For the Lena color image shown, the width of the color image is 512, and the height is 512. Convert the RGB image to the YCbCb image, that is, use a conversion method in the color space conversion formula, but not limited to this method, such as CCIR601 Wait.
[0123] (2) According to the luminance component Y, in the YCbCr space, the YCbCr image is divided into a plurality of luminance level areas; the steps of dividing the YCbCr image into a plurality of luminance level areas are as follows:
[0124] (21) Construct a 256x256 two-dimensional matrix P, the value of each pixel in the matrix is the same, and its value range is an integer from 0 to 255, construct a 256x256 two-dimensional matrix Q, the value of each column in the matrix is from 0 to 255 sheets, construct a 256x256 two-dimensional matrix R, the value of each row in the matrix is from 0 to 255 sheets, P={p ij}, p ij =k, where k∈[0 255], Q={q ij},q ij =j,R={r ij}, r ij =i, i, ...