This is an practical implementation of the novel GNDF technique for noise removal of medical images base on the scientific publication:
A new denoising filter based on the nonlinear diffusion filter model. Rather than employing four directional gradients around the pixel of interest, we use geometric parameters derived from the local pixel intensity distribution in calculating the diffusion coefficients in the horizontal and vertical directions. We have tested the filter performance, including edge preservation and noise reduction.
This denoising filter can be greatly used for fast noise reduction of medical images.
Black and Saphiro function was deleted due to it's limited performance