skimage 0.17.2

NotesParametersReturnsBackRef
hessian(image, sigmas=range(1, 10, 2), scale_range=None, scale_step=None, alpha=0.5, beta=0.5, gamma=15, black_ridges=True, mode=None, cval=0)

This filter can be used to detect continuous edges, e.g. vessels, wrinkles, rivers. It can be used to calculate the fraction of the whole image containing such objects.

Defined only for 2-D and 3-D images. Almost equal to Frangi filter, but uses alternative method of smoothing. Refer to to find the differences between Frangi and Hessian filters.

Notes

Written by Marc Schrijver (November 2001) Re-Written by D. J. Kroon University of Twente (May 2009)

Parameters

image : (N, M[, P]) ndarray

Array with input image data.

sigmas : iterable of floats, optional

Sigmas used as scales of filter, i.e., np.arange(scale_range[0], scale_range[1], scale_step)

scale_range : 2-tuple of floats, optional

The range of sigmas used.

scale_step : float, optional

Step size between sigmas.

beta : float, optional

Frangi correction constant that adjusts the filter's sensitivity to deviation from a blob-like structure.

gamma : float, optional

Frangi correction constant that adjusts the filter's sensitivity to areas of high variance/texture/structure.

black_ridges : boolean, optional

When True (the default), the filter detects black ridges; when False, it detects white ridges.

mode : {'constant', 'reflect', 'wrap', 'nearest', 'mirror'}, optional

How to handle values outside the image borders.

cval : float, optional

Used in conjunction with mode 'constant', the value outside the image boundaries.

Returns

out : (N, M[, P]) ndarray

Filtered image (maximum of pixels across all scales).

Filter an image with the Hybrid Hessian filter.

See Also

frangi
meijering
sato

Examples

See :

Back References

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

skimage.filters.ridges.frangi skimage.filters.ridges.meijering skimage.filters.ridges.sato

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