{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / feature / corner / structure_tensor_eigenvalues

function

skimage.feature.corner:structure_tensor_eigenvalues

source: /dev/scikit-image/src/skimage/feature/corner.py :451

Signature

def   structure_tensor_eigenvalues ( A_elems )

Summary

Compute eigenvalues of structure tensor.

Parameters

A_elems : list of ndarray

The upper-diagonal elements of the structure tensor, as returned by structure_tensor.

Returns

: ndarray

The eigenvalues of the structure tensor, in decreasing order. The eigenvalues are the leading dimension. That is, the coordinate [i, j, k] corresponds to the ith-largest eigenvalue at position (j, k).

Examples

from skimage.feature import structure_tensor
from skimage.feature import structure_tensor_eigenvalues
square = np.zeros((5, 5))
square[2, 2] = 1
A_elems = structure_tensor(square, sigma=0.1, order='rc')
structure_tensor_eigenvalues(A_elems)[0]

See also

structure_tensor

Aliases

  • skimage.feature.structure_tensor_eigenvalues