Patent ID: 7627196

Claim:
An image processing device comprising: a plane conversion unit which receives a subject image in which a subject having a particular shape has been captured and shape information about three-dimensional shape of the subject and converts the subject image into a plane image in which the subject is viewed from a prescribed direction based on the shape information; an in-plane position detection unit which recognizes a subject area in the plane image as an area representing the subject and determines a position of the subject in the plane image; a first correction conversion unit which converts the subject image into a corrected image in which the subject is viewed from a prescribed direction and placed substantially at the center based on the shape information and the position of the subject determined by the in-plane position detection unit; and an in-plane angle detection unit which recognizes the subject area in the plane image and determines an angle of a prescribed side of the subject area with respect to a prescribed direction in the plane image, wherein the first correction conversion unit converts the subject image into a corrected image in which the subject is viewed from a prescribed direction and placed substantially at the center and a prescribed side of the subject is oriented in a prescribed direction in the image based on the shape information, the position of the subject determined by the in-plane position detection unit, and the angle determined by the in-plane angle detection unit.