cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix cooc_feature_matrix (算子)
名称
cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix cooc_feature_matrix — 根据共生矩阵计算灰度值特征。
签名
def cooc_feature_matrix (cooc_matrix : HObject) -> Tuple[float, float, float, float]
描述
算子 cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix cooc_feature_matrix calculates from a co-occurrence
matrix (CoocMatrix CoocMatrix CoocMatrix CoocMatrix coocMatrix cooc_matrix ) the energy (Energy Energy Energy Energy energy energy ), correlation
(Correlation Correlation Correlation Correlation correlation correlation ), local homogeneity (Homogeneity Homogeneity Homogeneity Homogeneity homogeneity homogeneity )
and contrast (Contrast Contrast Contrast Contrast contrast contrast ).
算子 cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix cooc_feature_matrix calculates the gray value
features from the part of the input matrix generated by
gen_cooc_matrix gen_cooc_matrix GenCoocMatrix GenCoocMatrix GenCoocMatrix gen_cooc_matrix corresponding to the direction matrix
indicated by the parameters LdGray LdGray LdGray LdGray ldGray ld_gray and Direction Direction Direction Direction direction direction according
to the following formulae:
Energy (Measure for image homogeneity):
Correlation (Measure for gray value dependencies):
Local homogeneity:
Contrast (Measure for the size of the intensity differences):
where
Width of CoocMatrix CoocMatrix CoocMatrix CoocMatrix coocMatrix cooc_matrix ,
Entry of co-occurrence matrix,
,
,
,
。
注意
The region of the input image is disregarded.
执行信息
多线程类型:可重入(与非独占算子并行运行)。
多线程作用域:全局(可从任何线程调用)。
在元组级别上自动并行化。
参数
CoocMatrix CoocMatrix CoocMatrix CoocMatrix coocMatrix cooc_matrix (输入对象) singlechannelimage(-array) → object HImage HObject HImage Hobject (real)
Co-occurrence matrix.
Energy Energy Energy Energy energy energy (输出控制) real → HTuple float HTuple Htuple (real) (double ) (double ) (double )
Homogeneity of the gray values.
Correlation Correlation Correlation Correlation correlation correlation (输出控制) real → HTuple float HTuple Htuple (real) (double ) (double ) (double )
Correlation of gray values.
Homogeneity Homogeneity Homogeneity Homogeneity homogeneity homogeneity (输出控制) real → HTuple float HTuple Htuple (real) (double ) (double ) (double )
Local homogeneity of gray values.
Contrast Contrast Contrast Contrast contrast contrast (输出控制) real → HTuple float HTuple Htuple (real) (double ) (double ) (double )
Gray value contrast.
结果
算子 cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix cooc_feature_matrix 返回值 2 (
H_MSG_TRUE )
if an
image with defined gray values is passed and the parameters are
correct.当输入为空(无可用输入图像)时可设置行为通过算子 set_system(::'no_object_result',<Result>:) set_system("no_object_result",<Result>) SetSystem("no_object_result",<Result>) SetSystem("no_object_result",<Result>) SetSystem("no_object_result",<Result>) set_system("no_object_result",<Result>) 。如有必要,则抛出异常。
可能的前趋
gen_cooc_matrix gen_cooc_matrix GenCoocMatrix GenCoocMatrix GenCoocMatrix gen_cooc_matrix
替代
cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage CoocFeatureImage cooc_feature_image
另见
intensity intensity Intensity Intensity Intensity intensity ,
min_max_gray min_max_gray MinMaxGray MinMaxGray MinMaxGray min_max_gray ,
entropy_gray entropy_gray EntropyGray EntropyGray EntropyGray entropy_gray ,
select_gray select_gray SelectGray SelectGray SelectGray select_gray
模块
基础