Patent ID: 9288363
Filing Date: 2016-03-15
CPC Classification: G06T,H04N

Claim Text:
1. An image processing apparatus configured to enlarge or reduce, in accordance with a set zooming ratio, inputted image data by calculating an interpolation pixel between input pixels included in the inputted image data, said image processing apparatus comprising: a reference block setting section configured to set a reference block including the interpolation pixel; an edge gradient direction setting section configured to set an edge gradient direction of the interpolation pixel by use of input pixels located within the reference block; a reference pixel setting section configured to set four reference pixels to be respective vertices of a quadrangle having two sides perpendicular to the edge gradient direction; a reference pixel value setting section configured such that, in a case where a first reference pixel of the four reference pixels is located outside the reference block, the reference pixel value setting section determines an intersection of a boundary line of the reference block and a side of the quadrangle including the first reference pixel, specifies, as adjacent input pixels, input pixels which are adjacent to the intersection and which are located within the reference block, and evaluates, based on distances between the intersection and the respective adjacent input pixels and based on pixel values of the respective adjacent input pixels, the first reference pixel value and, in a case where the first reference pixel is located inside the reference block, the reference pixel value setting section designates, as a reference pixel value, a pixel value of an input pixel located at the first reference pixel; and an interpolation pixel value calculating section configured to calculate a pixel value of the interpolation pixel by use of the reference pixel values of the respective four reference pixels.