Patent ID: 8717458

Claim:
An image processing method comprising: forming a reference division line to perform white balance; forming a grid including a pixel distribution degree based on the reference division line; extracting a red gain value, a blue gain value, and the pixel distribution degree with respect to a specific point on the reference division line; determining if the extracted pixel distribution degree is a maximum point; and setting new gain values by using the extracted red gain value and the extracted blue gain value if the pixel distribution degree is the maximum point; applying a preset weighted value to the extracted red and blue gain values, wherein the new gain values are set based on the red and blue gain values to which the preset weighted value is applied; wherein the setting of the new gain values comprises: storing the red and blue gain values, to which the weighted value is applied, if the pixel distribution degree is the maximum point; and updating preset red and blue gain values by using the stored red and blue gain values, wherein the updating of the preset red and blue gain values by using the stored red and blue gain values comprises setting the new gain values based on “present gain value +(present gain value −previous gain value)/(present gain value +previous gain value),” in which the present gain value includes the stored blue gain value or the stored red gain value.