A method of spatially filtering a digital image includes receiving a source digital
image including pixels corresponding to one or more different colors; selecting
a pixel of interest in the source digital image; calculating two or more noise
free pixel estimates for the pixel of interest using pixel values sampled in a
local region about the pixel of interest; selecting a final noise free pixel estimate
for the pixel of interest from the noise free pixel estimates; and repeating for
other pixels in the source digital image to provide a spatially filtered digital image.