An original pupil color of a subject person in an image in which an
abnormality such as a red-eye or gold-eye occurs is estimated. Further,
whether an image correction is required or not and to produce an image
having a natural pupil color in the image correction by estimating the
original pupil color from the image is judged. A pupil color estimating
device has a skin color of a subject person specified from an inputted
image, regardless of whether an abnormality such as a red-eye or gold-eye
occurs. This skin color is substituted in an approximate equation based
upon a statistical result carried out in advance, and thereby a normal
color component of a pupil is estimated from the skin color of the
subject person.