Each crest-shape distribution region is sectioned in accordance with a value of a color obtained from extracted elements such as hue, saturation and lightness. A characteristic amount at each of a plurality of positions of an image including a designated eye is calculated, on the basis of values of obtained characteristic amounts, an image of a pupil portion is extracted, and red-eye correction processing is carried out.