http://www.emgu.com
Perform image denoising using Non-local Means Denoising algorithm (modified for color image): http://www.ipol.im/pub/algo/bcm_non_local_means_denoising/ with several computational optimizations. Noise expected to be a gaussian white noise. The function converts image to CIELAB colorspace and then separately denoise L and AB components with given h parameters using fastNlMeansDenoising function.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public static void cvFastNlMeansDenoisingColored(
	IntPtr src,
	IntPtr dst,
	float h,
	float hColor,
	int templateWindowSize,
	int searchWindowSize
)
Visual Basic
Public Shared Sub cvFastNlMeansDenoisingColored ( 
	src As IntPtr,
	dst As IntPtr,
	h As Single,
	hColor As Single,
	templateWindowSize As Integer,
	searchWindowSize As Integer
)
Visual C++
public:
static void cvFastNlMeansDenoisingColored(
	IntPtr src, 
	IntPtr dst, 
	float h, 
	float hColor, 
	int templateWindowSize, 
	int searchWindowSize
)
F#
static member cvFastNlMeansDenoisingColored : 
        src : IntPtr * 
        dst : IntPtr * 
        h : float32 * 
        hColor : float32 * 
        templateWindowSize : int * 
        searchWindowSize : int -> unit 

Parameters

src
Type: System..::..IntPtr
Input 8-bit 1-channel, 2-channel or 3-channel image.
dst
Type: System..::..IntPtr
Output image with the same size and type as src.
h
Type: System..::..Single
Parameter regulating filter strength. Big h value perfectly removes noise but also removes image details, smaller h value preserves details but also preserves some noise. Recommended value 3
hColor
Type: System..::..Single
The same as h but for color components. For most images value equals 10 will be enought to remove colored noise and do not distort colors.
templateWindowSize
Type: System..::..Int32
Size in pixels of the template patch that is used to compute weights. Should be odd. Recommended value 7 pixels
searchWindowSize
Type: System..::..Int32
Size in pixels of the window that is used to compute weighted average for given pixel. Should be odd. Affect performance linearly: greater searchWindowsSize - greater denoising time. Recommended value 21 pixels

See Also