Non Local means source code added