摘要 |
The present invention relates to a device, method, and program for processing an image, which can suppress occurrence of erroneous interpolation, and which can reduce jaggy portions of image data in a more preferable manner. The device for processing an image comprises: an edge direction determination unit which determines an edge direction based on correlation values between pixels, including pixels of attention, in a first block and pixels in a plurality of second blocks disposed in the edge direction for the first block, and calculates reliability of the edge direction; a filter coefficient calculation unit which calculates filter coefficients corresponding to the respective pixels of attention based on pixel-of-attention edge directions corresponding to the pixels of attention, reliability of the pixel-of-attention edge directions, tab pixel edge directions corresponding to a plurality of respective tab pixels disposed in the pixel-of-attention edge directions, and reliability of the tab pixel edge directions; and a filter processing unit which filters input image data based on the filter coefficients for the respective pixels of attention, and generates output image data. |