摘要 |
A method and apparatus for enhancing image resolution by determining a nearest neighbor class for an input image vector from a plurality of spatial classes are disclosed. In one embodiment, the nearest neighbor class is determined by first receiving the input image vector that is to be classified into one of several spatial classes. Each spatial class has a corresponding normalized mean class vector. The input image vector is normalized. Then, the weighted distances from the normalized image vector to each normalized mean class vector are determined. The class vector which is the nearest neighbor class to the input image vector is determined based on the weighted distances. A filter corresponding to the nearest neighbor class is applied to the input image vector to enhance the resolution of the image. |