Sigma estimate in denoise is not MAD

Author: genmeblogCreated Mar 10, 2026Updated Sep 18, 2026
Labels:sleeping: Dormant:bug: Bug

Description:

I think I found a bug in sigma estimation for wavelet denoising.

In the function _sigma_est_dwt in _denoise.py we have median of absolute values of coefficients while the Donoho/Johnstone paper (and other implementations) uses median absolute deviation (MAD).

https://github.com/scikit-image/scikit-image/blob/862aaf6a96713f94f5ac5e9cfbf3e71fd7db064a/src/skimage/restoration/_denoise.py#L653

Way to reproduce:

No response

Version information:

bash

Source: scikit-image/scikit-image