skimage 0.17.2

NotesParametersBackRef
smooth_with_function_and_mask(image, function, mask)

Notes

This function calculates the fractional contribution of masked pixels by applying the function to the mask (which gets you the fraction of the pixel data that's due to significant points). We then mask the image and apply the function. The resulting values will be lower by the bleed-over fraction, so you can recalibrate by dividing by the function on the mask to recover the effect of smoothing from just the significant pixels.

Parameters

image : array

Image you want to smooth.

function : callable

A function that does image smoothing.

mask : array

Mask with 1's for significant pixels, 0's for masked pixels.

Smooth an image with a linear function, ignoring masked pixels.

Examples

See :

Back References

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

skimage.measure.block.block_reduce

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/feature/_canny.py#23
type: <class 'function'>
Commit: