skimage2.filters.hessian#
- skimage2.filters.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='reflect', cval=0)[source]#
Filter an image with the Hybrid Hessian filter.
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 [1] to find the differences between Frangi and Hessian filters.
- Parameters:
- image(M, N[, P]) ndarray
Array with input image data.
- sigmasiterable of floats, optional
Sigmas used as scales of filter, i.e., np.arange(scale_range[0], scale_range[1], scale_step)
- scale_range2-tuple of floats, optional
The range of sigmas used.
- scale_stepfloat, optional
Step size between sigmas.
- betafloat, optional
Frangi correction constant that adjusts the filterâs sensitivity to deviation from a blob-like structure.
- gammafloat, optional
Frangi correction constant that adjusts the filterâs sensitivity to areas of high variance/texture/structure.
- black_ridgesbool, 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.
- cvalfloat, optional
Used in conjunction with mode âconstantâ, the value outside the image boundaries.
- Returns:
- out(M, N[, P]) ndarray
Filtered image (maximum of pixels across all scales).
Notes
Written by Marc Schrijver (November 2001) Re-Written by D. J. Kroon University of Twente (May 2009) [2]
References
[1]Ng, C. C., Yap, M. H., Costen, N., & Li, B. (2014,). Automatic wrinkle detection using hybrid Hessian filter. In Asian Conference on Computer Vision (pp. 609-622). Springer International Publishing. DOI:10.1007/978-3-319-16811-1_40
[2]Kroon, D. J.: Hessian based Frangi vesselness filter.