摘要 |
PROBLEM TO BE SOLVED: To solve the problem that, in conventional interpolation processing, a difference may occur in a resolution for each pixel.SOLUTION: An image processing device comprises: an image input section; an interpolation target position setting section for setting an interpolation target position on an input image corresponding to a pixel of an output image obtained by deforming the input image; a reference pixel value extraction section for defining N (N is an integer equal to or more than 3) pieces of pixels, among a plurality of pixels forming the input image, in the vicinity of the interpolation target position as reference pixels and extracting pixel values of the reference pixels; an interpolation weighting factor setting section for setting an interpolation weighting factor for each reference pixel in accordance with positions of the N pieces of reference pixels; and an interpolation section for calculating a multiplication value by multiplying the pixel value of a reference pixel by the interpolation weighting factor of the reference pixel, and defining a total sum of the multiplication values for the N pieces of reference pixels as an interpolation value of the interpolation target position. The interpolation weighting factor setting section sets the interpolation weighting factor in such a manner that an evaluation value representing a degree of diffusion for the positions of the N pieces of reference pixels is fixed independently of the interpolation target position. |