用法:
cucim.skimage.feature.structure_tensor_eigenvalues(A_elems)
计算结构张量的特征值。
- A_elems:ndarray 列表
结构张量的 upper-diagonal 元素,由
structure_tensor
返回。
- ndarray
结构张量的特征值,按降序排列。特征值是前导维度。也就是说,坐标[i,j,k]对应于位置(j,k)的ith-largest特征值。
参数:
返回:
例子:
>>> import cupy as cp >>> from cucim.skimage.feature import structure_tensor >>> from cucim.skimage.feature import structure_tensor_eigenvalues >>> square = cp.zeros((5, 5)) >>> square[2, 2] = 1 >>> A_elems = structure_tensor(square, sigma=0.1, order='rc') >>> structure_tensor_eigenvalues(A_elems)[0] array([[0., 0., 0., 0., 0.], [0., 2., 4., 2., 0.], [0., 4., 0., 4., 0.], [0., 2., 4., 2., 0.], [0., 0., 0., 0., 0.]])
相关用法
- Python cucim.skimage.feature.structure_tensor_eigvals用法及代码示例
- Python cucim.skimage.feature.structure_tensor用法及代码示例
- Python cucim.skimage.feature.shape_index用法及代码示例
- Python cucim.skimage.feature.corner_foerstner用法及代码示例
- Python cucim.skimage.feature.corner_shi_tomasi用法及代码示例
- Python cucim.skimage.feature.peak_local_max用法及代码示例
- Python cucim.skimage.feature.match_template用法及代码示例
- Python cucim.skimage.feature.hessian_matrix_eigvals用法及代码示例
- Python cucim.skimage.feature.canny用法及代码示例
- Python cucim.skimage.feature.hessian_matrix用法及代码示例
- Python cucim.skimage.feature.corner_peaks用法及代码示例
- Python cucim.skimage.feature.corner_kitchen_rosenfeld用法及代码示例
- Python cucim.skimage.feature.corner_harris用法及代码示例
- 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.structure_tensor_eigenvalues。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。