Patent ID: 7009641

Claim:
An electronic camera comprising: an image-capturing device that captures an image of a subject passing through a photographic lens and outputs image data; a color temperature detection circuit that detects color temperature information indicating a color temperature of the subject image; a gain calculation circuit that engages in a specific calculation to obtain a gain by using the color temperature information; a gain adjustment circuit that performs gain adjustment by multiplying the image data output from said image-capturing device by the gain calculated at said gain calculation circuit; a decision-making circuit that makes a decision as to whether or not the color temperature information indicates a value within a predetermined range; a storage circuit that stores at least either the color temperature information used at said gain calculation circuit or the gain calculated at said gain calculation circuit by using the color temperature information; and a control circuit that controls said gain adjustment circuit so as to implement a gain adjustment by using either a gain calculated with the color temperature information stored in said storage circuit or the gain stored in said storage circuit when said decision-making device determines that the value indicated by the color temperature information is not within the predetermined range, wherein: said storage circuit sequentially stores at least either the color temperature information or the gain with predetermined timing; and when said decision-making circuit determines that the value indicated by the color temperature information is not within the predetermined range, said control circuit implements control on said gain adjustment circuit so that a gain adjustment is performed using either (1) a gain calculated with color temperature information inferred through extrapolating from a plurality of sets of color temperature information stored in said storage circuit or (2) a gain inferred through extrapolating from a plurality of gains stored in said storage circuit.