cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage (Operator)
Name
cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage
— Berechnung der Co-Occurrence-Matrix und daraus abgeleiteter
Grauwertmerkmale.
Signatur
Herror cooc_feature_image (const Hobject Regions , const Hobject Image , const Hlong LdGray , const Hlong Direction , double* Energy , double* Correlation , double* Homogeneity , double* Contrast )
Herror T_cooc_feature_image (const Hobject Regions , const Hobject Image , const Htuple LdGray , const Htuple Direction , Htuple* Energy , Htuple* Correlation , Htuple* Homogeneity , Htuple* Contrast )
void CoocFeatureImage (const HObject& Regions , const HObject& Image , const HTuple& LdGray , const HTuple& Direction , HTuple* Energy , HTuple* Correlation , HTuple* Homogeneity , HTuple* Contrast )
HTuple HImage ::CoocFeatureImage (const HRegion& Regions , Hlong LdGray , const HTuple& Direction , HTuple* Correlation , HTuple* Homogeneity , HTuple* Contrast ) const
double HImage ::CoocFeatureImage (const HRegion& Regions , Hlong LdGray , Hlong Direction , double* Correlation , double* Homogeneity , double* Contrast ) const
HTuple HRegion ::CoocFeatureImage (const HImage& Image , Hlong LdGray , const HTuple& Direction , HTuple* Correlation , HTuple* Homogeneity , HTuple* Contrast ) const
double HRegion ::CoocFeatureImage (const HImage& Image , Hlong LdGray , Hlong Direction , double* Correlation , double* Homogeneity , double* Contrast ) const
static void HOperatorSet .CoocFeatureImage (HObject regions , HObject image , HTuple ldGray , HTuple direction , out HTuple energy , out HTuple correlation , out HTuple homogeneity , out HTuple contrast )
HTuple HImage .CoocFeatureImage (HRegion regions , int ldGray , HTuple direction , out HTuple correlation , out HTuple homogeneity , out HTuple contrast )
double HImage .CoocFeatureImage (HRegion regions , int ldGray , int direction , out double correlation , out double homogeneity , out double contrast )
HTuple HRegion .CoocFeatureImage (HImage image , int ldGray , HTuple direction , out HTuple correlation , out HTuple homogeneity , out HTuple contrast )
double HRegion .CoocFeatureImage (HImage image , int ldGray , int direction , out double correlation , out double homogeneity , out double contrast )
Beschreibung
Der Aufruf von cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage CoocFeatureImage
entspricht der
Hintereinanderausführung von gen_cooc_matrix gen_cooc_matrix GenCoocMatrix GenCoocMatrix GenCoocMatrix
und
cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix
. Wenn mehrere Richtungsmatrizen der
Co-Occurrence-Matrix hintereinander ausgewertet werden sollen, ist
es günstiger, die Matrix mit gen_cooc_matrix gen_cooc_matrix GenCoocMatrix GenCoocMatrix GenCoocMatrix
zu
erstellen und danach cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix
für die
Ergebnismatrix aufzurufen. Bei dem Parameter Direction Direction Direction Direction direction
wird die Richtung der Nachbarschaft in Winkel oder 'mean' "mean" "mean" "mean" "mean"
übergeben. Bei 'mean' "mean" "mean" "mean" "mean" wird der Mittelwert aller vier
Richtungen berechnet.
Achtung
Der Operator cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage CoocFeatureImage
berücksichtigt nur die mittels
Regions Regions Regions Regions regions
übergebenen Regionen und ignoriert jede Domäne, die zuvor
für das Eingabebild Image Image Image Image image
festgelegt wurde.
Ausführungsinformationen
Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
Automatisch parallelisiert auf Tupelebene.
Parameter
Regions Regions Regions Regions regions
(input_object) region(-array) →
object HRegion HRegion Hobject
Zu untersuchende Regionen.
Image Image Image Image image
(input_object) singlechannelimage →
object HImage HImage Hobject (byte)
Zugehörige Grauwerte.
LdGray LdGray LdGray LdGray ldGray
(input_control) integer →
HTuple HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Anzahl der zu unterscheidenden Grauwerte
(
).
Defaultwert: 6
Werteliste: 1, 2, 3, 4, 5, 6, 7, 8
Direction Direction Direction Direction direction
(input_control) integer →
HTuple HTuple Htuple (integer / string) (int / long / string) (Hlong / HString) (Hlong / char*)
Auszuwertende Richtung in der Matrix.
Defaultwert: 0
Werteliste: 0, 45, 90, 135, 'mean' "mean" "mean" "mean" "mean"
Energy Energy Energy Energy energy
(output_control) real(-array) →
HTuple HTuple Htuple (real) (double ) (double ) (double )
Energie der Grauwerte.
Correlation Correlation Correlation Correlation correlation
(output_control) real(-array) →
HTuple HTuple Htuple (real) (double ) (double ) (double )
Korrelation der Grauwerte.
Homogeneity Homogeneity Homogeneity Homogeneity homogeneity
(output_control) real(-array) →
HTuple HTuple Htuple (real) (double ) (double ) (double )
Lokale Homogenität der Grauwerte.
Contrast Contrast Contrast Contrast contrast
(output_control) real(-array) →
HTuple HTuple Htuple (real) (double ) (double ) (double )
Kontrast der Grauwerte.
Ergebnis
cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage CoocFeatureImage
liefert den Wert 2 (H_MSG_TRUE), falls ein Bild mit
definierten Grauwerten ('byte' "byte" "byte" "byte" "byte" ) 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>)
, das bei
leerer Region mit
set_system(::'empty_region_result',<Result>:) set_system("empty_region_result",<Result>) SetSystem("empty_region_result",<Result>) SetSystem("empty_region_result",<Result>) SetSystem("empty_region_result",<Result>)
festgelegt. Gegebenenfalls wird eine Fehlerbehandlung
durchgeführt.
Vorgänger
gen_cooc_matrix gen_cooc_matrix GenCoocMatrix GenCoocMatrix GenCoocMatrix
Alternativen
cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix
Siehe auch
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
Modul
Foundation