摘要 |
Provided is a method for magnifying an image by interpolation. The method including: a) setting mxm local windows and calculating a direction of each mxm local window; b) when a linear direction exists in an mxm local window, considering an edge exists; c) when a linear direction does not exist in the mxm local window, dividing the mxm local window into m/2xm/2 sub windows and calculating directions of the m/2xm/2 sub windows; d) when the directions of the m/2xm/2 sub windows exists toward the center of the mxm local window, considering a corner exists in the mxm local window; and e) selecting pixels located in a virtual line that goes along in the linear direction or in the directions to calculate a new pixel value by using the pixels.
|