An Affinity-Based Algorithm in Nonsubsampled Contourlet Transform Domain: Application to Synthetic Aperture Radar Image Denoising