nlmeans | R Documentation |
Implements the Non-Local-Means Filter of Buades et al 2005
nlmeans(x, lambda, sigma, patchhw = 1, searchhw = 7, pd = NULL)
x |
1, 2 or 3-dimensional array of obseved response (image intensity) data. |
lambda |
scale factor for kernel in image space. |
sigma |
error standard deviation (for additive Gaussian errors). |
patchhw |
Half width of patches in each dimension (patchsize is |
searchhw |
Half width of search area (size of search area is |
pd |
If |
The implementation follows the description of the Non-Local-Means Filter of Buades et al 2005 on http://www.numerical-tours.com/matlab/denoisingadv_6_nl_means/#biblio that incorporates dimension reduction for patch comparisons by PCA.
A list of class "nlmeans"
with components
theta |
Denoised array |
lambda |
Scale parameter used |
sigma |
The error standard deviation |
patchhw |
Half width of patches |
pd |
Effective patchsize used |
searchhw |
Half width of search area |
use setCores='number of threads'
to enable parallel execution.
Joerg Polzehl, polzehl@wias-berlin.de, https://www.wias-berlin.de/people/polzehl/
J. Polzehl, K. Papafitsoros, K. Tabelow (2020). Patch-Wise Adaptive Weights Smoothing in R, Journal of Statistical Software, 95(6), 1-27. doi:10.18637/jss.v095.i06 .
A. Buades, B. Coll and J. M. Morel (2006). A review of image denoising algorithms, with a new one. Simulation, 4, 490-530. DOI:10.1137/040616024.
http://www.numerical-tours.com/matlab/denoisingadv_6_nl_means/#biblio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.