hessian_matrix(image, sigma=1, mode='constant', cval=0, order='rc')
The Hessian matrix is defined as:
H = [Hrr Hrc] [Hrc Hcc]
which is computed by convolving the image with the second derivatives of the Gaussian kernel in the respective r- and c-directions.
Input image.
Standard deviation used for the Gaussian kernel, which is used as weighting function for the auto-correlation matrix.
How to handle values outside the image borders.
Used in conjunction with mode 'constant', the value outside the image boundaries.
This parameter allows for the use of reverse or forward order of the image axes in gradient computation. 'rc' indicates the use of the first axis initially (Hrr, Hrc, Hcc), whilst 'xy' indicates the usage of the last axis initially (Hxx, Hxy, Hyy)
Element of the Hessian matrix for each pixel in the input image.
Element of the Hessian matrix for each pixel in the input image.
Element of the Hessian matrix for each pixel in the input image.
Compute Hessian matrix.
>>> from skimage.feature import hessian_matrixSee :
... square = np.zeros((5, 5))
... square[2, 2] = 4
... Hrr, Hrc, Hcc = hessian_matrix(square, sigma=0.1, order='rc')
... Hrc array([[ 0., 0., 0., 0., 0.], [ 0., 1., 0., -1., 0.], [ 0., 0., 0., 0., 0.], [ 0., -1., 0., 1., 0.], [ 0., 0., 0., 0., 0.]])
The following pages refer to to this document either explicitly or contain code examples using this.
skimage.feature.corner.hessian_matrix
skimage.feature.corner._hessian_matrix_image
skimage.feature.corner.hessian_matrix_eigvals
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