Non-local means filtering of image
uses name-value pairs to change the behavior of the non-local means filter.J
= imnlmfilt(I
,Name,Value
)
To smooth perceptually close colors in an RGB image, convert the image to the CIE
L*a*b* color space using rgb2lab
before applying the non-local means
filter. To view the results, first convert the filtered L*a*b* image to the RGB color
space using lab2rgb
.
If the data type of I
is double
, then
computations are performed in data type double
. Otherwise, computations
are performed in data type single
.
[1] Buades, A., B. Coll, and J.-M. Morel. "A Non-Local Algorithm for Image Denoising." 2005 IEEE® Computer Society Conference on Computer Vision and Pattern Recognition. Vol. 2, June 2005, pp. 60–65.
[2] Immerkær, J. "Fast Noise Variance Estimation." Computer Vision and Image Understanding. Vol. 64, Number 2, Sept. 1996, pp. 300–302.