cooc_feature_matrixcooc_feature_matrixCoocFeatureMatrixCoocFeatureMatrix (Operator)

Name

cooc_feature_matrixcooc_feature_matrixCoocFeatureMatrixCoocFeatureMatrix — Berechnung von Grauwertmerkmalen aus einer Co-Occurrence-Matrix.

Signatur

cooc_feature_matrix(CoocMatrix : : : Energy, Correlation, Homogeneity, Contrast)

Herror cooc_feature_matrix(const Hobject CoocMatrix, double* Energy, double* Correlation, double* Homogeneity, double* Contrast)

Herror T_cooc_feature_matrix(const Hobject CoocMatrix, Htuple* Energy, Htuple* Correlation, Htuple* Homogeneity, Htuple* Contrast)

void CoocFeatureMatrix(const HObject& CoocMatrix, HTuple* Energy, HTuple* Correlation, HTuple* Homogeneity, HTuple* Contrast)

double HImage::CoocFeatureMatrix(double* Correlation, double* Homogeneity, double* Contrast) const

static void HOperatorSet.CoocFeatureMatrix(HObject coocMatrix, out HTuple energy, out HTuple correlation, out HTuple homogeneity, out HTuple contrast)

double HImage.CoocFeatureMatrix(out double correlation, out double homogeneity, out double contrast)

Beschreibung

Die Prozedur berechnet aus einer Co-Occurence-Matrix (CoocMatrixCoocMatrixCoocMatrixCoocMatrixcoocMatrix) die Energie (EnergyEnergyEnergyEnergyenergy), Korrelation (CorrelationCorrelationCorrelationCorrelationcorrelation), lokale Homogenität (HomogeneityHomogeneityHomogeneityHomogeneityhomogeneity) und den Kontrast (ContrastContrastContrastContrastcontrast).

cooc_feature_matrixcooc_feature_matrixCoocFeatureMatrixCoocFeatureMatrixCoocFeatureMatrix berechnet aus dem Teil der mit gen_cooc_matrixgen_cooc_matrixGenCoocMatrixGenCoocMatrixGenCoocMatrix generierten Eingabe-Matrix, der der mit dem dortigen Parametern LdGray und Direction angegebenen Richtungsmatrix entspricht, die Grauwertmerkmale nach folgenden Formeln:

Energie: Korrelation: lokale Homogenität: Kontrast:

Achtung

Die Region des Eingabebildes wird nicht beachtet.

Ausführungsinformationen

Parameter

CoocMatrixCoocMatrixCoocMatrixCoocMatrixcoocMatrix (input_object)  singlechannelimage(-array) objectHImageHImageHobject (real)

Co-Occurrence-Matrix.

EnergyEnergyEnergyEnergyenergy (output_control)  real HTupleHTupleHtuple (real) (double) (double) (double)

Homogenität der Grauwerte.

CorrelationCorrelationCorrelationCorrelationcorrelation (output_control)  real HTupleHTupleHtuple (real) (double) (double) (double)

Korrelation der Grauwerte.

HomogeneityHomogeneityHomogeneityHomogeneityhomogeneity (output_control)  real HTupleHTupleHtuple (real) (double) (double) (double)

Lokale Homogenität der Grauwerte.

ContrastContrastContrastContrastcontrast (output_control)  real HTupleHTupleHtuple (real) (double) (double) (double)

Kontrast der Grauwerte.

Ergebnis

cooc_feature_matrixcooc_feature_matrixCoocFeatureMatrixCoocFeatureMatrixCoocFeatureMatrix liefert den Wert 2 (H_MSG_TRUE), falls ein Bild mit definierten Grauwerten eingegeben wird und die Parameter korrekt sind. Das Verhalten bei leerer Eingabe (keine Eingabebilder) wird mit 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>) festgelegt. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

gen_cooc_matrixgen_cooc_matrixGenCoocMatrixGenCoocMatrixGenCoocMatrix

Alternativen

cooc_feature_imagecooc_feature_imageCoocFeatureImageCoocFeatureImageCoocFeatureImage

Siehe auch

intensityintensityIntensityIntensityIntensity, min_max_graymin_max_grayMinMaxGrayMinMaxGrayMinMaxGray, entropy_grayentropy_grayEntropyGrayEntropyGrayEntropyGray, select_grayselect_graySelectGraySelectGraySelectGray

Modul

Foundation