non-local-means: add very naive implementation of NLM denoising