skimage 0.17.2

NotesParametersReturnsBackRef
estimate_sigma(image, average_sigmas=False, multichannel=False)

Notes

This function assumes the noise follows a Gaussian distribution. The estimation algorithm is based on the median absolute deviation of the wavelet detail coefficients as described in section 4.2 of .

Parameters

image : ndarray

Image for which to estimate the noise standard deviation.

average_sigmas : bool, optional

If true, average the channel estimates of :None:None:`sigma`. Otherwise return a list of sigmas corresponding to each channel.

multichannel : bool

Estimate sigma separately for each channel.

Returns

sigma : float or list

Estimated noise standard deviation(s). If :None:None:`multichannel` is True and :None:None:`average_sigmas` is False, a separate noise estimate for each channel is returned. Otherwise, the average of the individual channel estimates is returned.

Robust wavelet-based estimator of the (Gaussian) noise standard deviation.

Examples

This example is valid syntax, but we were not able to check execution
>>> import skimage.data
... from skimage import img_as_float
... img = img_as_float(skimage.data.camera())
... sigma = 0.1
... img = img + sigma * np.random.standard_normal(img.shape)
... sigma_hat = estimate_sigma(img, multichannel=False)
See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

skimage.restoration._denoise.estimate_sigma

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /skimage/restoration/_denoise.py#878
type: <class 'function'>
Commit: