Patent ID: 8654207

Claim:
An electronic apparatus comprising an image processing unit configured to: perform achromatic color extraction on a first area of an input image by using a first set of threshold values to obtain first extracted-color-component signals; perform a face detection procedure to detect a face in the first area; set a face area within the first area, where a location of the face area corresponds to a location of the detected face; perform achromatic color extraction on the face area using a second set of threshold values to obtain second extracted-color-component signals; calculate a third set of threshold values based on the second extracted-color-component signals; perform achromatic color extraction on the first area by using the third set of threshold values to obtain third extracted-color-component signals; create skin-color-eliminated-component-signal-information by eliminating the third extracted-color-component signals from the first extracted-color-component signals; and set a white balance gain value by using the skin-color-eliminated component-signal information.