KR20110079310A - Auto white balance image processing method - Google Patents

Auto white balance image processing method Download PDF

Info

Publication number
KR20110079310A
KR20110079310A KR1020090136328A KR20090136328A KR20110079310A KR 20110079310 A KR20110079310 A KR 20110079310A KR 1020090136328 A KR1020090136328 A KR 1020090136328A KR 20090136328 A KR20090136328 A KR 20090136328A KR 20110079310 A KR20110079310 A KR 20110079310A
Authority
KR
South Korea
Prior art keywords
pixels
exposure time
image
overexposed
white
Prior art date
Application number
KR1020090136328A
Other languages
Korean (ko)
Inventor
천복기
Original Assignee
주식회사 동부하이텍
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 동부하이텍 filed Critical 주식회사 동부하이텍
Priority to KR1020090136328A priority Critical patent/KR20110079310A/en
Publication of KR20110079310A publication Critical patent/KR20110079310A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration using histogram techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Color Television Image Signal Generators (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

AWB image processing method according to an embodiment comprises the steps of analyzing the histogram of the pixels constituting the image; Determining whether more pixels than the reference value are overexposed as a result of the histogram analysis; If more pixels than the reference value are overexposed, reducing the current exposure time by the ratio of total pixels to overexposed pixels; And extracting color (B / G, R / G) values of pixels constituting the image, and selecting only pixels belonging to a white point region among the extracted color values as white pixels.

According to the exemplary embodiment, more effective data, ie, white pixels, may be selected among pixels constituting the image by adjusting the exposure time, thereby obtaining AWB information as close as possible to the light source.

Description

AF image processing method {Auto White Balance image processing method}

Embodiments relate to AWB image processing methods.

In the case of natural light, the color temperature is changed by factors such as visual difference, climate, lighting conditions, shadows, etc. Therefore, the white balance should be adjusted according to the change of light conditions.

In the case of the camera module, AWB (Auto White Balance) is processed through image processing.

The AWB refers to a process in which an image processor stores a white balance value in a reference environment, and compensates for the color value of light according to the stored white balance value when light is incident from the outside.

Conventional image processing sets the exposure time to a relatively large value in order to adjust the overall brightness, whereby the homeostasis of the ratio (B / G, R / G) of the element values (R, G, B) of the white point pixel is broken. It cannot be used as valid data for AWB execution.

As such, when AWB is performed with a small number of valid data by excluding over-exposed pixels, a loss of information and a deterioration of an image may occur.

The embodiment improves the conventional processing method of performing AWB with a small number of valid data by excluding over-exposed pixels, thereby selecting more white pixels among the pixels constituting the image to obtain AWB information as close as possible to the light source. Provides AWB image processing method to obtain.

AWB image processing method according to an embodiment comprises the steps of analyzing the histogram of the pixels constituting the image; Determining whether more pixels than the reference value are overexposed as a result of the histogram analysis; If more pixels than the reference value are overexposed, reducing the current exposure time by the ratio of total pixels to overexposed pixels; And extracting color (B / G, R / G) values of pixels constituting the image, and selecting only pixels belonging to a white point region among the extracted color values as white pixels.

According to the embodiment, the following effects are obtained.

First, more effective data, ie, white pixels, may be selected among pixels constituting the image by adjusting the exposure time, and the AWB information as close as possible to the light source may be obtained.

Second, the AWB information can be obtained as much as possible by moving the overexposed pixel to the measurable effective range by adjusting the exposure time, and the image degradation can be prevented due to the improved AWB performance.

AWB image processing method according to an embodiment will be described in detail with reference to the accompanying drawings.

Hereinafter, in describing the embodiments, detailed descriptions of related known functions or configurations are considered to unnecessarily obscure the subject matter of the present invention, and thus only the core configurations directly related to the technical spirit of the present invention will be referred to.

The embodiment relates to an AWB image sensing method of increasing effective data used as white pixels when performing AWB (Auto White Balance) by adjusting an exposure time of an image sensor.

First, the AWB will be briefly described as follows.

1 is a diagram illustrating a Bayer image and an AWB processed image, and FIG. 2 is a graph illustrating the coordinates of an AWB white pixel.

First, color (B / G, R / G) values of all pixels are extracted from a Bayer image as shown in FIG. 1A, and the extracted color values are displayed in coordinates of the AWB white pixel as shown in FIG.

Second, R and B gains to be compensated for are calculated by selecting only pixels belonging to a white point region, which is a reference of AWB.

In this case, the selected pixel is referred to as a "white pixel".

The white pixels are pixels belonging to the first to sixth patches of the Macbeth Chart A of FIG. 1.

The white pixel informs the current temperature of the light source, and is represented by a histogram having a scattering point concentrated at a predetermined coordinate point as shown in the region “B” of FIG. 2.

Third, when the R and B gains are calculated, AWB is completed as shown in FIG.

As such, the white pixel is selected not only for all pixels on the screen but only for pixels belonging to the white point area, and thus performs AWB. If more white pixels exist, more accurate information closer to a light source can be obtained. .

3 and 4 are graphs showing the effective range of the white pixel according to the color value (code) level and the patch number.

3 shows that the exposure time is set to 300 ms. Patches 5 and 6 are overexposed so that linearity (see the white pixel line in FIG. 2) is collapsed between the R, G, and B pixels. It goes beyond and is not selected as useful data, ie white pixels.

On the other hand, Figure 4 is a case where the exposure time is set to 100ms, patches 1 to 6 are all within the effective range can be selected as a white pixel.

As such, reducing the exposure time increases the probability that all patches are selected as the white pixel.

Hereinafter, an AWB image sensing method according to an embodiment will be described.

5 is a graph illustrating a result of analyzing a histogram of pixels.

(A) of FIG. 5 shows the number of pixels for each pixel brightness level present within the effective range of the histogram during overexposure, and (b) shows the number of pixels for each pixel brightness level present within the effective range of the histogram during proper exposure. It is.

First, the histogram of the pixels forming the image is analyzed.

Second, as a result of histogram analysis, it is determined whether more pixels than the reference value are overexposed.

Third, if more pixels than the reference value are excessively exposed as shown in (a) of FIG. 5, the current exposure time is reduced by the ratio of the total pixels to the overexposed pixels.

For example, according to the experimental results of FIGS. 3 and 4, it is possible to reduce the current exposure time by 1/3 to make an overexposed pixel a valid pixel.

Fourth, color (B / G, R / G) values of pixels constituting the image are extracted, and only pixels belonging to a white point region of the extracted color values are selected as white pixels.

Fifth, an R and B gain to be applied to the compensation is calculated based on the selected white pixel.

Sixth, after returning to the past exposure time, the calculated R and B gains are applied to the image to process the compensation process.

The AWB image processing method according to this embodiment is assumed to be performed once in a still capture mode.

While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be understood that various modifications and applications other than those described above are possible. For example, each component specifically shown in the embodiments of the present invention can be modified and implemented. And differences relating to such modifications and applications will have to be construed as being included in the scope of the invention defined in the appended claims.

1 illustrates a Bayer image and an AWB processed image.

2 is a graph illustrating the coordinates of an AWB white pixel.

3 and 4 are graphs showing effective ranges of white pixels according to color value (code) levels and patch numbers.

5 is a graph showing a result of analyzing a histogram of pixels.

Claims (8)

Analyzing a histogram of pixels forming an image; Determining whether more pixels than the reference value are overexposed as a result of the histogram analysis; If more pixels than the reference value are overexposed, reducing the current exposure time by the ratio of total pixels to overexposed pixels; And AWB image processing comprising extracting color (B / G, R / G) values of pixels constituting the image and selecting only pixels belonging to a white point region among the extracted color values as white pixels Way. The method of claim 1, If fewer pixels than the reference value are overexposed, the current exposure time is maintained within the white point area of the extracted color values while maintaining the current exposure time without reducing the current exposure time by the ratio of the total pixels to the overexposed pixels. And selecting only pixels as white pixels. The method of claim 1, wherein after selecting the white pixel: And calculating R and B gains to be applied to the compensation based on the selected white pixels. The method of claim 3, wherein after calculating the R and B gains, AWB image processing method further comprising the step of returning to the past exposure time. 5. The method of claim 4, And processing the compensation process by applying the calculated R and B gains to the image. The method of claim 1, wherein reducing the current exposure time by the ratio of total pixels to overexposed pixels AWB image processing method characterized by reducing the current exposure time by 1/3. 5. The method of claim 4, Analyzing the histogram of the pixels constituting the image, and returning to the past exposure time, is performed in a still capture mode. The method of claim 7, wherein Analyzing the histogram of the pixels constituting the image to returning to the past exposure time is performed once in a still capture mode.
KR1020090136328A 2009-12-31 2009-12-31 Auto white balance image processing method KR20110079310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090136328A KR20110079310A (en) 2009-12-31 2009-12-31 Auto white balance image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090136328A KR20110079310A (en) 2009-12-31 2009-12-31 Auto white balance image processing method

Publications (1)

Publication Number Publication Date
KR20110079310A true KR20110079310A (en) 2011-07-07

Family

ID=44918693

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090136328A KR20110079310A (en) 2009-12-31 2009-12-31 Auto white balance image processing method

Country Status (1)

Country Link
KR (1) KR20110079310A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093429A (en) * 2013-01-18 2013-05-08 金三立视频科技(深圳)有限公司 Image intensification method
CN103929632A (en) * 2014-04-15 2014-07-16 浙江宇视科技有限公司 Automatic white balance correcting method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093429A (en) * 2013-01-18 2013-05-08 金三立视频科技(深圳)有限公司 Image intensification method
CN103929632A (en) * 2014-04-15 2014-07-16 浙江宇视科技有限公司 Automatic white balance correcting method and device
CN103929632B (en) * 2014-04-15 2016-02-03 浙江宇视科技有限公司 A kind of method for correcting automatic white balance and device

Similar Documents

Publication Publication Date Title
US10574961B2 (en) Image processing apparatus and image processing method thereof
US9516290B2 (en) White balance method in multi-exposure imaging system
CN108668093B (en) HDR image generation method and device
US20200043225A1 (en) Image processing apparatus and control method thereof
JP6160004B2 (en) Scene recognition method and apparatus
CN110022469B (en) Image processing method, image processing device, storage medium and electronic equipment
US10074165B2 (en) Image composition device, image composition method, and recording medium
CN110519485B (en) Image processing method, image processing device, storage medium and electronic equipment
US9451226B2 (en) White balance method for shading compensation, and apparatus applied to the same
CN103945145A (en) Apparatus and method for processing image
JP2009212853A (en) White balance controller, its control method, and imaging apparatus
JP2014143613A (en) Image processor, image processing method, program and imaging apparatus
US10972676B2 (en) Image processing method and electronic device capable of optimizing hdr image by using depth information
US9013605B2 (en) Apparatus and method for processing intensity of image in digital camera
JP5899894B2 (en) Imaging apparatus, image processing apparatus, image processing program, and image processing method
KR20110079310A (en) Auto white balance image processing method
KR20110074443A (en) Photographing apparatus, photographing method and recording medium
US11153467B2 (en) Image processing
KR102419799B1 (en) Backlight Determination and Improvement Apparatus and Method between Smartphone Front Ambient Light Sensor and Rear Camera Sensor Using Artificial Object Detection
CN113793291A (en) Image fusion method and device, electronic equipment and storage medium
JP2018160024A (en) Image processing device, image processing method and program
JP2012085093A (en) Imaging device and acquisition method
US9154716B2 (en) Image processing apparatus and method for smoothing pixel values according to a divergence of pixel candidates
KR20210155695A (en) Image processing system for image quality tuning and method of image quality tuning
KR101710629B1 (en) Image pickup apparatus and image pickup method

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination