Patent ID: 8472751

Claim:
An image processing device that executes deformation of an image, comprising: a candidate area setting unit that sets candidate areas, each of which includes a specific image, on a target image used as a target for a deformation process; an exclusion determination unit that, when there is a candidate area that partially extends off a cropped image that is clipped from the target image through predetermined cropping, excludes the candidate area that partially extends off the cropped image from the target for the deformation process; and a deformation processing unit that performs deformation of an image on candidate areas other than the excluded candidate areas, wherein the exclusion determination unit, when there are candidate areas of which top sides of the specific images are different from each other, excludes a candidate area, other than candidate areas of which the top side of the specific image is oriented in a direction in which a number of candidate areas having the specific images of which the top sides are oriented in a same direction is maximal, from the target for the deformation process.