Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
auto estimate the standard deviation globally for nlmeans #432
As a side note, we could cheaply estimate the SD for the whole image on a voxelwise basis using neighbors (see Eq. 3 and 4 of Coupé reference), thus making it usable for 3D structural denoising. Also, there might be a mistake in the denominator of w, according to Eq.6 and line 144 of denspeed.pyx, we should double check that.
Depending on which implementation we plan to duplicate, the one in Descoteaux 2008 uses h=sigma, while the Coupé one seems to use h = sqrt(2) * sigma.