An image processing apparatus comprising: an imaging device for capturing an image on an object using a lens; a storage means for storing image data based on the captured image; an image processing means for processing the image data; and a display means for displaying the captured image based on the processed image data, the image processing apparatus being characterized by a ranging means for measuring distance information by determining the distance to a plurality of regions of the captured image, each region corresponding to at least one pixel, wherein the storage means store the distance information in association with the image data; a designation means for designating by a user of the image processing apparatus a point in the displayed image; an object plane setting means (6, 7) for setting an object plane perpendicular to an optical axis of the lens and based on the distance information of the region corresponding to the point designated by the user in the displayed image based on the image data; a user operated setting means (4, 33, 34) for setting a tilt angle and a tilt direction of the object plane containing the designated point with respect to the optical axis of the lens by rotating the object plane around an X-axis and/or Y-axis, the X-axis and Y-axis being perpendicular to each other and to the optical axis of the lens, to process a set object plane; and a distance information conversion means (6, 7) for converting the distance information of the image data according to the set object plane based on the coordinates of the designated point, the tilt angle and the tilt direction, wherein the image processing means perform image processing on the image data based on the converted distance information by blurring the image data with a blur amount according to the converted distance information. an imaging device for capturing an image on an object using a lens; a storage means for storing image data based on the captured image; an image processing means for processing the image data; and a display means for displaying the captured image based on the processed image data, the image processing apparatus being characterized by a ranging means for measuring distance information by determining the distance to a plurality of regions of the captured image, each region corresponding to at least one pixel, wherein the storage means store the distance information in association with the image data; a designation means for designating by a user of the image processing apparatus a point in the displayed image; an object plane setting means (6, 7) for setting an object plane perpendicular to an optical axis of the lens and based on the distance information of the region corresponding to the point designated by the user in the displayed image based on the image data; a user operated setting means (4, 33, 34) for setting a tilt angle and a tilt direction of the object plane containing the designated point with respect to the optical axis of the lens by rotating the object plane around an X-axis and/or Y-axis, the X-axis and Y-axis being perpendicular to each other and to the optical axis of the lens, to process a set object plane; and a distance information conversion means (6, 7) for converting the distance information of the image data according to the set object plane based on the coordinates of the designated point, the tilt angle and the tilt direction, wherein the image processing means perform image processing on the image data based on the converted distance information by blurring the image data with a blur amount according to the converted distance information.