|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
NonlocalMeansFilter
NonlocalMeansFilter[image, r]
applies a nonlocal means filter to image by comparing a range r neighborhood to its nearby neighborhoods.
NonlocalMeansFilter[image, r, ns]
assumes an additive noise power value ns for comparing neighborhoods.
NonlocalMeansFilter[image, r, ns, w]
compares neighborhoods in a range w window.
Details and OptionsDetails and Options
- NonlocalMeansFilter is a nonlinear filter used for edge-preserving smoothing.
- In NonlocalMeansFilter[image, r, ns, w], normalized similarities between the range r neighborhoods are used as weights to replace each pixel by a weighted average of all the pixels in the range w window. The similarity between two neighborhoods is computed by Exp[-Max[0, SquaredEuclideanDistance[n1, n2]/len-2ns]/(k^2 ns)], where len is the total number of channel values in the neighborhood and k is
. - NonlocalMeansFilter[image, r] is equivalent to NonlocalMeansFilter[image, r, Automatic, 5r].
- NonlocalMeansFilter returns an image of the same type as image.
- NonlocalMeansFilter takes a Padding option. The default setting is Padding->"Fixed".
New in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »




