1. An image processing apparatus comprising: a mask correcting section configured to correct externally-set mask patterns into corrected mask patterns in a variable correction degree; a depth map processing section configured to process a depth map for each of areas designated by the corrected mask patterns respectively, the depth map being for an input image; an image generating section configured to generate a different-viewpoint image on the basis of the input image and the depth map processed by the depth map processing section, the different-viewpoint image relating to a viewpoint different from the viewpoint concerning the input image; and a texture analyzing section configured to analyze a texture in the input image to obtain an analyzation result; wherein the mask correcting section varies the correction degree in response to the analyzation result obtained by the texture analyzing section.