Patent ID: 8031915

Claim:
An image processing device comprising: a deformation processing unit that deforms at least a portion of an area on a target image, which is generated by photographing, wherein the deformation processing unit deforms the area, based on a distance between a photographic device and a subject of the target image; a deformation amount adjustment unit that uses a distance parameter that correlates with the distance between photographic device and the subject of the target image when photographing to adjust a degree of deformation to increase as a distance indicated by the distance parameter becomes shorter; a detection unit that detects a subject of a predetermined type on the target image; and a size calculation unit that calculates a size of the detected subject on the target image by analyzing the target image, wherein the deformation amount adjustment unit uses the size as the distance parameter that indicates that a distance is shorter as the size increases; wherein, when a plurality of subjects are detected by the detection unit, the size calculation unit calculates the size for each of the subjects, and wherein the deformation amount adjustment unit adjusts the degree of deformation on the basis of a maximum size among the sizes of the subjects.