1. An image processing apparatus for reconstructing a deteriorated image including an image of an object, the image processing apparatus comprising: a measuring unit that measures a distance to the object, thereby setting a distance layer to which the object belongs; an image reconstructing unit that reconstructs the deteriorated image in regions by repetitive calculations, each region corresponding to a different distance layer; an end discriminating unit that discriminates, for each region, an end of the repetitive calculations by the image reconstructing unit, wherein the end discriminating unit makes the end discrimination only to a specific distance layer among the distance layers or to each of the distance layers, and wherein the image reconstructing unit synthesizes the reconstruction image of each of the distance layers in the case of making the end discrimination to each of the distance layers; a designating unit that designates reconstructing conditions of the image; and a presenting unit that presents the reconstructed reconstruction image, wherein in the case of changing the presented reconstruction image, the reconstructing conditions of the image are designated again by the designating unit and the deteriorated image is reconstructed.