skimage 0.17.2

ParametersReturns
_calibrate_denoiser_search(image, denoise_function, denoise_parameters, *, stride=4, approximate_loss=True)

Parameters

image : ndarray

Input data to be denoised (converted using img_as_float ).

denoise_function : function

Denoising function to be calibrated.

denoise_parameters : dict of list

Ranges of parameters for :None:None:`denoise_function` to be calibrated over.

stride : int, optional

Stride used in masking procedure that converts :None:None:`denoise_function` to J-invariance.

approximate_loss : bool, optional

Whether to approximate the self-supervised loss used to evaluate the denoiser by only computing it on one masked version of the image. If False, the runtime will be a factor of :None:None:`stride**image.ndim` longer.

Returns

parameters_tested : list of dict

List of parameters tested for :None:None:`denoise_function`, as a dictionary of kwargs.

losses : list of int

Self-supervised loss for each set of parameters in :None:None:`parameters_tested`.

Return a parameter search history with losses for a denoise function.

Examples

See :

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/j_invariant.py#257
type: <class 'function'>
Commit: