A method for image scaling. Specifically, one embodiment of the present
invention discloses a method for image scaling that begins by selecting
an input pixel from a first image. An input edge characteristic is
determined from an input window associated with the input pixel. The
input edge characteristic is determined from a plurality of predetermined
edge characteristics that are associated with sets of filter coefficient
vectors. An output window is generated by filtering the input window with
a corresponding set of filter coefficients associated with the input edge
characteristic. An output image is generated by repeating the above for a
plurality of input pixels associated with the first image.