cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage cooc_feature_image (Operator)
Name
cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage cooc_feature_image — 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 )
def cooc_feature_image (regions : HObject, image : HObject, ld_gray : int, direction : Union[int, str]) -> Tuple[Sequence[float], Sequence[float], Sequence[float], Sequence[float]]
def cooc_feature_image_s (regions : HObject, image : HObject, ld_gray : int, direction : Union[int, str]) -> Tuple[float, float, float, float]
Beschreibung
Der Aufruf von cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage CoocFeatureImage cooc_feature_image entspricht der
Hintereinanderausführung von gen_cooc_matrix gen_cooc_matrix GenCoocMatrix GenCoocMatrix GenCoocMatrix gen_cooc_matrix und
cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix cooc_feature_matrix . 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 gen_cooc_matrix zu
erstellen und danach cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix cooc_feature_matrix für die
Ergebnismatrix aufzurufen. Bei dem Parameter Direction Direction Direction Direction direction direction
wird die Richtung der Nachbarschaft in Winkel oder 'mean' "mean" "mean" "mean" "mean" "mean"
übergeben. Bei 'mean' "mean" "mean" "mean" "mean" "mean" wird der Mittelwert aller vier
Richtungen berechnet.
Achtung
Der Operator cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage CoocFeatureImage cooc_feature_image berücksichtigt nur die mittels
Regions Regions Regions Regions regions regions übergebenen Regionen und ignoriert jede Domäne, die zuvor
für das Eingabebild Image 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 regions (input_object) region(-array) → object HRegion HObject HRegion Hobject
Zu untersuchende Regionen.
Image Image Image Image image image (input_object) singlechannelimage → object HImage HObject HImage Hobject (byte)
Zugehörige Grauwerte.
LdGray LdGray LdGray LdGray ldGray ld_gray (input_control) integer → HTuple int 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 direction (input_control) integer → HTuple Union[int, str] 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" "mean"
Energy Energy Energy Energy energy energy (output_control) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Energie der Grauwerte.
Correlation Correlation Correlation Correlation correlation correlation (output_control) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Korrelation der Grauwerte.
Homogeneity Homogeneity Homogeneity Homogeneity homogeneity homogeneity (output_control) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Lokale Homogenität der Grauwerte.
Contrast Contrast Contrast Contrast contrast contrast (output_control) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Kontrast der Grauwerte.
Ergebnis
cooc_feature_image cooc_feature_image CoocFeatureImage CoocFeatureImage CoocFeatureImage cooc_feature_image liefert den Wert TRUE, falls ein Bild mit
definierten Grauwerten ('byte' "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>) set_system("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>) set_system("empty_region_result",<Result>)
festgelegt. Gegebenenfalls wird eine Fehlerbehandlung
durchgeführt.
Vorgänger
gen_cooc_matrix gen_cooc_matrix GenCoocMatrix GenCoocMatrix GenCoocMatrix gen_cooc_matrix
Alternativen
cooc_feature_matrix cooc_feature_matrix CoocFeatureMatrix CoocFeatureMatrix CoocFeatureMatrix cooc_feature_matrix
Siehe auch
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
Modul
Foundation