skimage 0.17.2

ParametersReturnsBackRef
apply_hysteresis_threshold(image, low, high)

This algorithm finds regions where image is greater than high OR image is greater than low and that region is connected to a region greater than high .

Parameters

image : array, shape (M,[ N, ..., P])

Grayscale input image.

low : float, or array of same shape as ``image``

Lower threshold.

high : float, or array of same shape as ``image``

Higher threshold.

Returns

thresholded : array of bool, same shape as ``image``

Array in which True indicates the locations where image was above the hysteresis threshold.

Apply hysteresis thresholding to image .

Examples

This example is valid syntax, but we were not able to check execution
>>> image = np.array([1, 2, 3, 2, 1, 2, 1, 3, 2])
... apply_hysteresis_threshold(image, 1.5, 2.5).astype(int) array([0, 1, 1, 1, 0, 0, 0, 1, 1])
See :

Back References

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

skimage.feature._hog.hog skimage.filters.thresholding.apply_hysteresis_threshold

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/filters/thresholding.py#1041
type: <class 'function'>
Commit: