Patent ID: 6907136

Claim:
An image processing method comprising: a designation step, of designating a rectangle circumscribed about a face area on an original image including a human face; an acquisition step, of acquiring the vertical length and the horizontal length of the rectangle designated in said designation step; and a determination step, of determining a cut-out area including the face area, based on the vertical length and the horizontal length, wherein said determination step includes: a calculation step, of calculating the horizontal length of the area to be cut out, according to the vertical length of the cut-out area, in such a manner that the area to be cut out has a predetermined aspect ratio, a discrimination step, of discriminating whether the horizontal length of the area to be cut out calculated in said calculation step can be cut out from the original image, and a re-calculation step, in which, in a case where it is identified in said discrimination step that the horizontal length of the area to be cut out is smaller than the horizontal length of the face area, the vertical length of the output area is re-calculated in such a manner that the face area is included in the cut-out area.