Digital camera and method of controlling same
AssigneeFUJIFILM Corporation
InventorMasahiko Sugimoto
Life of this patent
Estimating the term…
Abstract
Whether a portrait photography mode has been set is determined. A first threshold value is set when the portrait photography mode has been set and a second threshold value that is smaller than the first threshold value is set when the portrait photography mode has not been set. A cross-correlation coefficient between the image of the subject and a template image is calculated. The calculated coefficient and the set threshold value are compared and the position of the image of a face is detected in the image of the subject. When the portrait photography mode has been set, it can be construed that the subject contains a person and therefore the position of the face image can be detected comparatively accurately by increasing the threshold value.
Claims9
A digital camera having an image sensing device for sensing an image of a subject and outputting image data that represents the image of the subject, a setting device for setting a portrait photography mode, a scenery photography mode, or a night-scene photography mode, and an image processing device for subjecting image data that is output from the image sensing device to image processing, which is suited to portrait photography, in accordance with setting of the portrait photography mode by the setting device, the camera comprising:
- a correlation value calculating device for calculating a correlation value between a template image of a face and an image within an area in a part of the image of the subject represented by the image data output from the image sensing device;
- a determination device for determining whether the image in said area comprises the image of a face based upon whether the correlation value calculated by said correlation value calculating device is greater than a threshold value;
- and
- a control device for controlling said determination device in response to setting of the portrait photography mode by said setting device in such a manner that the threshold value used in said determination device is made to be higher for said portrait photography mode, in comparison with a case where the scenery photography mode or the night-scene photography mode has been set by said setting device.
A method of controlling a digital camera having an image sensing device for sensing an image of a subject and outputting image data that represents the image of the subject, a setting device for setting a portrait photography mode, a scenery photography mode, or a night-scene photography mode, and an image processing device for subjecting image data that is output from the image sensing device to image processing, which is suited to portrait photography, in accordance with setting of the portrait photography mode by the setting device, the method comprising:
- calculating a correlation value between a template image of a face and an image within an area in a part of the image of the subject represented by the image data output from the image sensing device;
- in response to setting of the portrait photography mode, making a threshold value that is compared with the calculated correlation value to be higher for said photography mode, in comparison with a case where the scenery photography mode or the night-scene photography mode has been set by said setting device;
- and
- determining whether the image in said area comprises the image of a face based upon whether the calculated correlation value is greater than the threshold value.
Dependencies are inferred from the claim text.