non-local means filter for OpenCV