cooc_feature_matrixcooc_feature_matrixCoocFeatureMatrixCoocFeatureMatrixcooc_feature_matrix (Operator)

Name

cooc_feature_matrixcooc_feature_matrixCoocFeatureMatrixCoocFeatureMatrixcooc_feature_matrix — 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)

def cooc_feature_matrix(cooc_matrix: HObject) -> Tuple[float, float, float, float]

Beschreibung

Die Prozedur berechnet aus einer Co-Occurence-Matrix (CoocMatrixCoocMatrixCoocMatrixCoocMatrixcoocMatrixcooc_matrix) die Energie (EnergyEnergyEnergyEnergyenergyenergy), Korrelation (CorrelationCorrelationCorrelationCorrelationcorrelationcorrelation), lokale Homogenität (HomogeneityHomogeneityHomogeneityHomogeneityhomogeneityhomogeneity) und den Kontrast (ContrastContrastContrastContrastcontrastcontrast).

cooc_feature_matrixcooc_feature_matrixCoocFeatureMatrixCoocFeatureMatrixCoocFeatureMatrixcooc_feature_matrix berechnet aus dem Teil der mit gen_cooc_matrixgen_cooc_matrixGenCoocMatrixGenCoocMatrixGenCoocMatrixgen_cooc_matrix 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

CoocMatrixCoocMatrixCoocMatrixCoocMatrixcoocMatrixcooc_matrix (input_object)  singlechannelimage(-array) objectHImageHObjectHImageHobject (real)

Co-Occurrence-Matrix.

EnergyEnergyEnergyEnergyenergyenergy (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

Homogenität der Grauwerte.

CorrelationCorrelationCorrelationCorrelationcorrelationcorrelation (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

Korrelation der Grauwerte.

HomogeneityHomogeneityHomogeneityHomogeneityhomogeneityhomogeneity (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

Lokale Homogenität der Grauwerte.

ContrastContrastContrastContrastcontrastcontrast (output_control)  real HTuplefloatHTupleHtuple (real) (double) (double) (double)

Kontrast der Grauwerte.

Ergebnis

cooc_feature_matrixcooc_feature_matrixCoocFeatureMatrixCoocFeatureMatrixCoocFeatureMatrixcooc_feature_matrix liefert den Wert 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>)set_system("no_object_result",<Result>) festgelegt. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

gen_cooc_matrixgen_cooc_matrixGenCoocMatrixGenCoocMatrixGenCoocMatrixgen_cooc_matrix

Alternativen

cooc_feature_imagecooc_feature_imageCoocFeatureImageCoocFeatureImageCoocFeatureImagecooc_feature_image

Siehe auch

intensityintensityIntensityIntensityIntensityintensity, min_max_graymin_max_grayMinMaxGrayMinMaxGrayMinMaxGraymin_max_gray, entropy_grayentropy_grayEntropyGrayEntropyGrayEntropyGrayentropy_gray, select_grayselect_graySelectGraySelectGraySelectGrayselect_gray

Modul

Foundation