1. An image processing apparatus comprising: a mask correcting section including filters each having a settable number of taps and configured to filter externally-set mask patterns and thereby correct the externally-set mask patterns into corrected mask patterns at a variable filtering correction degree depending on the number of taps in each of the filters, wherein the number of taps in each of the filters is equal to or less than a given maximum; 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 differentiate at least one of luminance, hue, brightness, and chroma in the input image to obtain a differentiation result, and calculate an absolute value of the obtained differentiation result; wherein the mask correcting section multiplies the calculated absolute value and the given maximum to obtain a multiplication result and sets the number of taps in each of the filters in response to the obtained multiplication result to determine the filtering correction degree in response to the obtained multiplication result.