An image processing apparatus for processing a photographed image of an
object extracts an object region from the photographed image and
determines a region from which a feature value of the photographed image
is extracted on the basis of a pixel value on a contour in the extracted
object region.