Patent ID: 8471932

Claim:
A method comprising receiving an image frame comprising raw pixels, wherein the image frame is acquired using an image sensor, and wherein the raw pixels comprise multi-color raw pixel data; applying spatial noise filtering to each raw pixel of the image frame using a spatial noise filter, wherein applying spatial noise filtering comprises: identifying a first set of pixels from the image frame, the set of pixels comprising a current input pixel and a plurality of same-colored neighboring pixels, wherein the current input pixel has a first spatial location within the image frame and a pixel value, and wherein the neighboring pixels are spatially located about the current input pixel; identifying a set of filtering coefficients for each filter tap of the spatial noise filter, wherein the set of filtering coefficients comprise a respective filtering coefficient for the each of the first set of pixels; determining a pixel difference value between the current input pixel and each neighboring pixel of the first set of pixels; determining an attenuation factor for each filtering coefficient of the spatial noise filter using the pixel difference values; applying a respective attenuation factor to each filtering coefficient to determine a set of attenuated filtering coefficients; applying the attenuated filtering coefficients to the first set of pixels to obtain a set of filtered pixel values; and providing a spatially filtered output value corresponding to the current input pixel by normalizing a sum of the filtered pixel values using a sum of the set of attenuated filtering coefficients.