Abstract:
An apparatus for scaling an image composed of pixels by a scale factor is described. The apparatus includes a local image analyzer for identifying from among said pixels a target pixel and a set of pixels proximate to said target pixel and determining a type for the target pixel. The apparatus includes a linear interpolation function that is parameterized by a horizontal linear interpolation coefficient and a vertical linear interpolation coefficient. The apparatus includes an interpolation coefficient generator for defining the horizontal and vertical linear interpolation coefficients. The apparatus includes an image scaler for scaling said image in a neighborhood of the target pixel by the scale factor using the linear interpolation function with the horizontal linear interpolation coefficient and the vertical linear interpolation coefficient. A method of scaling a source image. The source image comprised of a first plurality of pixels, by a scale factor said method for scaling comprising the acts of: determining a first type of a target pixel, said target pixel in said plurality of pixels; selecting a first interpolation function for said target pixel from said first type of said target pixel; and scaling said source image using said first interpolation function for scaling said target pixel.