摘要 |
PROBLEM TO BE SOLVED: To provide a program which corrects luminance of an image which is cut from a photographed image, generates a synthesis image and can correct exposure of a camera by using an adjustment value corresponding to a correction value of the luminance and to provide a terminal device and a method.SOLUTION: CPU of a terminal detects a face of a person included in image data which a camera photographs (S22). When two or more faces are detected (S23), CPU stores extracted image data obtained by cutting an image in a prescribed range, which includes the face, in RAM (S25). CPU determines neighboring luminance values of the faces of individual extracted image data (S26), obtains differential values with a reference luminance value and corrects them (S28). CPU determines an exposure correction value which corrects exposure of the camera in response to an average value of the differential value and transmits it to a camera driver (S30). CPU synthesizes the extracted image data obtained by correcting the luminance value and generates a synthesis image data. |