Patent ID: 8213720

Claim:
An image processing apparatus, comprising: a chin position calculating apparatus comprising: a face detecting section that detects faces having skin color, from input color images; a reference line calculating section that calculates reference lines from center positions between eyes and center positions of mouths, which are included in faces, based on the faces detected by the face detecting section; a database having data that indicates statistical positional relationships among center positions between eyes, center positions of mouths, and chins therein; a chin position estimating section that calculates the probabilities that the reference lines calculated by the reference line calculating section include the positions of chins, based on the data that indicates the statistical positional relationships and the reference lines; a skin color probability calculating section including a processor that calculates the probabilities of skin colored pixels being present on the reference line; a brightness variation calculating section that calculates the rates of brightness variations along the reference line; and a chin position calculating section that calculates the positions of chins based on the results of calculation obtained by the chin position estimating section, the skin color probability calculating section, and the brightness variation calculating section; said image processing apparatus further comprising: a top of head calculating section that calculates the positions of the tops of heads, based on the faces detected by the face detecting section; and a trimming section that determines ranges to be trimmed within the input color images, based on the positions of chins calculated by the chin position calculating section and the positions of the tops of heads calculated by the top of head calculating section, and trims the color images.