Stein's unbiased risk estimate (SURE) for non-local means (NLM)
The original code from Gabriel Peyré has been modified according to the patch.
[1] D. Van De Ville, M. Kocher, "SURE-Based Non-Local Means", IEEE Signal Processing Letters, 2009, 16, 973-976