摘要 |
A circuit for transforming a raster image at least partially stored within an image buffer includes memory storing micro-code; a multiplier; an accumulator; and a sequential logic circuit. The multiplier is in communication with the image buffer and the memory and is operable to form a weighted pixel value as a product of a given pixel value from the buffer and an associated weighting factor within the micro-code. The sequential logic circuit is in communication with the memory and the buffer. It steps through the pixels and the memory to present pixels in the buffer and associated weighting factors from the micro-code, to the multiplier. The accumulator sums weighted pixel values calculated by the multiplier. Conveniently, the memory may be loaded with coefficients of linear equations to scale a raster image.
|