Patent ID: 8525895

Claim:
A method for processing raw image data comprising: using a binning compensation filter of an image signal processor: using a position value stored by a position register to determine a plurality of output pixel locations, wherein each of the plurality of output pixel locations is determined by incrementing the position value using a step value; for each output pixel location corresponding to a current position value stored in the position register: using the current position value to select a center input pixel from the raw image data and to select an index value, wherein the index value represents a fractional position of a current output pixel at the current position value between two input pixels of the same color, and wherein the raw image data comprises multiple color components in a single plane and corresponds to an image scene captured by a digital image sensor; selecting a set of input pixels adjacent to the center input pixel, wherein the adjacent input pixels and the center input pixel form a set of source input pixels; selecting a set of filtering coefficients from a filter coefficient lookup table using the index value; filtering the set of source input pixels using scaling logic to apply a respective one of the set of filtering coefficients to each of the set of source input pixels to determine an output value for the current output pixel at the current position value; and processing the output pixels provided by the binning compensation filter to display a visual representation of the image scene on a display device.