Update denoise.cpp