Patent ID: 7742636

Claim:
A method for scaling down a Bayer domain image made up of a number of 2×2 basic units, each having a Red (R) pixel, a Blue (B) pixel, and two green (G) pixels arranged in a fixed configuration and replicated throughout the image, the method performed by a scaling engine coupled to a central processing unit, the method comprising: partitioning the image into 2M×2N input blocks, where M and N are integers greater than or equal to 1 for each 2M×2N input block, averaging a selection of R pixels in the block to produce a R pixel in a scaled down image corresponding to the Bayer domain image; averaging a selection of B pixels in the block to produce a B pixel in the scaled down image; and partitioning the 2M×2N input block into first and second triangular regions, and averaging a selection of pixels in the first triangular region to produce a first G pixel in the scaled down image, and averaging a selection of pixels in the second triangular region to produce a second G pixel in the scaled down image.