1. An image processing apparatus, comprising: a determining unit configured to determine a position separated by a predetermined distance from an edge of an object included in image data, the position being outer side of the object; a deforming unit configured to deform a shape of the object based on the determined position so that the determined position becomes a new edge of the object; and a processing unit configured to perform predetermined image processing for edge, based on the determined position, on the new edge of the object after the deformation is performed by the deforming unit.