cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix (Operator)
Name
cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix
— Calculate gray value features from a co-occurrence matrix.
Signature
Description
The operator calculates from a co-occurence matrix
(CoocMatrix CoocMatrix CoocMatrix CoocMatrix coocMatrix
) the energy (Energy Energy Energy Energy energy
), correlation
(Correlation Correlation Correlation Correlation correlation
), local homogeneity (Homogeneity Homogeneity Homogeneity Homogeneity homogeneity
)
and contrast (Contrast Contrast Contrast Contrast contrast
).
The operator cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix
calculates the gray value
features from the part of the input matrix generated by
gen_cooc_matrix gen_cooc_matrix GenCoocMatrix GenCoocMatrix GenCoocMatrix
corresponding to the direction matrix
indicated by the parameters LdGray and Direction according to
the following formulae:
Energy:
Correlation:
Local homogeneity:
Contrast:
where
Attention
The region of the input image is disregarded.
Execution Information
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).
Automatically parallelized on tuple level.
Parameters
CoocMatrix CoocMatrix CoocMatrix CoocMatrix coocMatrix
(input_object) singlechannelimage(-array) →
object HImage HImage Hobject (real)
Co-occurrence matrix.
Energy Energy Energy Energy energy
(output_control) real →
HTuple HTuple Htuple (real) (double ) (double ) (double )
Homogeneity of the gray values.
Correlation Correlation Correlation Correlation correlation
(output_control) real →
HTuple HTuple Htuple (real) (double ) (double ) (double )
Correlation of gray values.
Homogeneity Homogeneity Homogeneity Homogeneity homogeneity
(output_control) real →
HTuple HTuple Htuple (real) (double ) (double ) (double )
Local homogeneity of gray values.
Contrast Contrast Contrast Contrast contrast
(output_control) real →
HTuple HTuple Htuple (real) (double ) (double ) (double )
Gray value contrast.
Result
The operator cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix
returns the value 2 (H_MSG_TRUE) if an
image with defined gray values is passed and the parameters are
correct. The behavior in case of empty input (no input images
available) is set via the operator
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>)
.
If necessary an exception is raised.
Possible Predecessors
gen_cooc_matrix gen_cooc_matrix GenCoocMatrix GenCoocMatrix GenCoocMatrix
Alternatives
cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage CoocFeatureImage
See also
intensity intensity Intensity Intensity Intensity
,
min_max_gray min_max_gray MinMaxGray MinMaxGray MinMaxGray
,
entropy_gray entropy_gray EntropyGray EntropyGray EntropyGray
,
select_gray select_gray SelectGray SelectGray SelectGray
Module
Foundation