This example was modified from Image Denoising Project in CUDA SDK examples. You can understand the program behaivor from the document in "doc" directory. Note that this project was created in older VS version. If you can not open it or normally compile, you can copy the one from your CUDA SDK example directory instead.