用法:
cucim.skimage.feature.hessian_matrix_eigvals(H_elems)
计算 Hessian 矩阵的特征值。
- H_elems:ndarray 列表
Hessian 矩阵的 upper-diagonal 元素,由
hessian_matrix
返回。
- eigs:ndarray
Hessian 矩阵的特征值,按降序排列。特征值是前导维度。也就是说,
eigs[i, j, k]
包含位置 (j, k) 处的 ith-largest 特征值。
参数:
返回:
例子:
>>> import cupy as cp >>> from cucim.skimage.feature import (hessian_matrix, ... hessian_matrix_eigvals) >>> square = cp.zeros((5, 5)) >>> square[2, 2] = 4 >>> H_elems = hessian_matrix(square, sigma=0.1, order='rc') >>> hessian_matrix_eigvals(H_elems)[0] array([[ 0., 0., 2., 0., 0.], [ 0., 1., 0., 1., 0.], [ 2., 0., -2., 0., 2.], [ 0., 1., 0., 1., 0.], [ 0., 0., 2., 0., 0.]])
相关用法
- Python cucim.skimage.feature.hessian_matrix用法及代码示例
- Python cucim.skimage.feature.shape_index用法及代码示例
- Python cucim.skimage.feature.corner_foerstner用法及代码示例
- Python cucim.skimage.feature.structure_tensor_eigenvalues用法及代码示例
- Python cucim.skimage.feature.corner_shi_tomasi用法及代码示例
- Python cucim.skimage.feature.peak_local_max用法及代码示例
- Python cucim.skimage.feature.match_template用法及代码示例
- Python cucim.skimage.feature.structure_tensor_eigvals用法及代码示例
- Python cucim.skimage.feature.canny用法及代码示例
- Python cucim.skimage.feature.corner_peaks用法及代码示例
- Python cucim.skimage.feature.corner_kitchen_rosenfeld用法及代码示例
- Python cucim.skimage.feature.corner_harris用法及代码示例
- Python cucim.skimage.feature.structure_tensor用法及代码示例
- Python cucim.skimage.filters.roberts_neg_diag用法及代码示例
- Python cucim.skimage.filters.gabor用法及代码示例
- Python cucim.skimage.filters.roberts_pos_diag用法及代码示例
- Python cucim.skimage.filters.roberts用法及代码示例
- Python cucim.skimage.filters.gabor_kernel用法及代码示例
- Python cucim.skimage.filters.sobel_v用法及代码示例
- Python cucim.skimage.filters.sobel_h用法及代码示例
注:本文由纯净天空筛选整理自rapids.ai大神的英文原创作品 cucim.skimage.feature.hessian_matrix_eigvals。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。