Patent ID: 7840087

Claim:
An image processing method performed by an image processing apparatus comprising the steps of: inputting into the image processing apparatus image data representing an input image which contains a plurality of face images; detecting with a detector of the image processing apparatus plural face-image areas corresponding to the plurality of face images; calculating with a calculator of the image processing apparatus a size of each of the plurality of face images included in the detected plural face-image areas; determining with a determiner of the image processing apparatus a maximum size among the calculated sizes of the plurality of face images; setting with a setting section of the image processing apparatus a first correcting condition based on the determined maximum size and an input-image size; and correcting with a corrector of the image processing apparatus the image data of the entire input image using the first correcting condition, regardless of the calculated size of each of the plurality of face images, by using a mathematical formula containing a coefficient, wherein the coefficient depends on the value of the set first correcting condition, and wherein the same mathematical formula is used to calculate the corrected image data for different values of the first correcting condition, but with the value of the coefficient changed, in accordance with the value of the first correcting condition.