cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix cooc_feature_matrix (Operator)
Name
cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix cooc_feature_matrix
— Calculate gray value features from a co-occurrence matrix.
Signature
def cooc_feature_matrix (cooc_matrix : HObject) -> Tuple[float, float, float, float]
Description
The operator 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
).
The operator 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,
,
,
,
.
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 cooc_matrix
(input_object) singlechannelimage(-array) →
object HImage HObject HImage Hobject (real)
Co-occurrence matrix.
Energy Energy Energy Energy energy energy
(output_control) real →
HTuple float HTuple Htuple (real) (double ) (double ) (double )
Homogeneity of the gray values.
Correlation Correlation Correlation Correlation correlation correlation
(output_control) real →
HTuple float HTuple Htuple (real) (double ) (double ) (double )
Correlation of gray values.
Homogeneity Homogeneity Homogeneity Homogeneity homogeneity homogeneity
(output_control) real →
HTuple float HTuple Htuple (real) (double ) (double ) (double )
Local homogeneity of gray values.
Contrast Contrast Contrast Contrast contrast contrast
(output_control) real →
HTuple float HTuple Htuple (real) (double ) (double ) (double )
Gray value contrast.
Result
The operator cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix cooc_feature_matrix
returns the value 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>) set_system("no_object_result",<Result>)
.
If necessary an exception is raised.
Possible Predecessors
gen_cooc_matrix gen_cooc_matrix GenCoocMatrix GenCoocMatrix GenCoocMatrix gen_cooc_matrix
Alternatives
cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage CoocFeatureImage cooc_feature_image
See also
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
Module
Foundation