Patent ID: 8879841

Claim:
A machine-implemented method comprising: determining an initial denoised pixel value for a color component of a particular pixel based at least in part upon a value of the color component of the particular pixel and values of the color component of a set of other pixels; for at least a first pixel in the set of other pixels, determining whether the first pixel is to be used in denoising the particular pixel; in response to determining that the first pixel is to be used to denoise the particular pixel, determining a weight value to be assigned to the first pixel; determining the initial denoised pixel value for the particular pixel based at least in part upon the weight value and a value of the color component for the first pixel; determining a type of image environment in which the particular pixel is situated, the type of image environment being one of a set comprising (a) edge/line and (b) detail; based at least in part upon the type of image environment, determining an adjusted denoising power value for the color component of the particular pixel; and based at least in part upon the initial denoised pixel value and the adjusted denoising power value, determining a final denoised pixel value for the color component of the particular pixel.