Patent ID: 8730344

Claim:
A digital photographing apparatus comprising: a light-emitting device configured to emit light of any one of a plurality of colors; a light-emitting device control unit configured to control an intensity and color of light emission of the light-emitting device; an imaging device configured to capture light incident on and reflected from a subject to generate a captured image of the subject; a control unit configured to control the light-emitting device control unit and the imaging device to generate a plurality of separate images of a subject by: (1) illuminating the subject with a single color of light; (2) capturing an image of the subject under single-color illumination; (3) repeating steps (1) and (2) to generate a plurality of single-color illuminated images using a different single color for each image of the plurality; (4) capturing an image of the subject while no light is emitted from the light-emitting device to generate a non-illuminated image; and a gain setting unit configured to set a manual white balance gain based on a comparison of the generated plurality of single-color illuminated images and the non-illuminated image.