Abstract:
The present disclosure relates to a method and an apparatus for image processing. The method includes: setting a block including at least one pixel and a window including the at least one block, with a center pixel as a reference; converting an input image in a YCbCr format to a monochrome image; determining a magnitude of an edge component and an edge direction in the window; determining a weight of the block in consideration of the magnitude of the edge component and the edge direction; and determining a color signal value of the center pixel by reflecting the weight of the block in the monochrome-converted window.
Abstract:
A method of operating an electronic device for image interpolation is provided. The method includes estimating a direction of pixels using a plurality of filters respectively corresponding to a plurality of angles, correcting the direction of the pixels using a direction of neighboring pixels, determining whether the direction estimation has an error according to a direction distribution of the neighboring pixels, and when the direction estimation is determined to have error, correcting the error in the direction estimation.