An object of the present invention is to obtain an image photographed with
an image-sensing device using a flash, in which the brightness of the
image of the subject of the photograph is proper. An integrated value of
brightness of a photographed image is obtained; a weighted evaluation
value is calculated; contrast of the photographed image is obtained; a
gain of an image signal is obtained by using the evaluation value after
which, a suppression gain, by which a value of suppressing the gain
fluctuates according to the contrast, is obtained in order to correct the
brightness of a photographed subject to the proper brightness; a
correction gain for making final corrections to an image by using the
gain and the suppression gain is calculated; and the image signal is
amplified by a gain adjustment circuit, thereby correcting the
photographed image.