A lot of CUDA samples are included , one of these samples is imageDenoising. This sample demonstrates two adaptive image denoising techniques: KNN and NLM, based on computation of both geometric and color distance between texel
Check out the samples included with CUDA and what they do in CUDA Samples. If you are new to the Xavier or are planning on getting one please visit our Jetson Xavier wiki page.