entropy_gray entropy_gray EntropyGray EntropyGray entropy_gray (Operator)
Name
entropy_gray entropy_gray EntropyGray EntropyGray entropy_gray — Bestimmung der Entropie und der Anisotropie von Bildern.
Signatur
def entropy_gray (regions : HObject, image : HObject) -> Tuple[Sequence[float], Sequence[float]]
def entropy_gray_s (regions : HObject, image : HObject) -> Tuple[float, float]
Beschreibung
entropy_gray entropy_gray EntropyGray EntropyGray EntropyGray entropy_gray erstellt das Histogramm der relativen
Häufigkeiten der Grauwerte im Eingabebild und errechnet daraus nach
folgenden Formeln im Eingabebild und errechnet daraus für jede
Region aus Regions Regions Regions Regions regions regions nach folgenden Formeln die Entropie
und den Anisotropiekoeffizienten:
Entropie:
Anisotropiekoeffizient:
wobei
rel[i] Histogramm der relativen Grauwerthäufigkeiten
i Grauwert des Eingabebildes (0..255)
und k Kleinstmöglicher Grauwert mit sum(rel[i]) >= 0.5
Achtung
Der Operator entropy_gray entropy_gray EntropyGray EntropyGray EntropyGray entropy_gray 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
Regionen, in denen die Merkmale bestimmt werden sollen.
Image Image Image Image image image (input_object) singlechannelimage → object HImage HObject HImage Hobject (byte)
Grauwertdaten.
Entropy Entropy Entropy Entropy entropy entropy (output_control) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Informationsgehalt (Entropie) der Grauwerte.
Zusicherung: 0 <= Entropy && Entropy <= 8
Anisotropy Anisotropy Anisotropy Anisotropy anisotropy anisotropy (output_control) real(-array) → HTuple Sequence[float] HTuple Htuple (real) (double ) (double ) (double )
Bewertung der Symmetrie der Grauwertverteilung.
Komplexität
Sei F die Fläche der Region, dann beträgt die Laufzeitkomplexität
O(F + 255).
Ergebnis
entropy_gray entropy_gray EntropyGray EntropyGray EntropyGray entropy_gray 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>) 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.
Alternativen
select_gray select_gray SelectGray SelectGray SelectGray select_gray
Siehe auch
entropy_image entropy_image EntropyImage EntropyImage EntropyImage entropy_image ,
gray_histo gray_histo GrayHisto GrayHisto GrayHisto gray_histo ,
gray_histo_abs gray_histo_abs GrayHistoAbs GrayHistoAbs GrayHistoAbs gray_histo_abs ,
fuzzy_entropy fuzzy_entropy FuzzyEntropy FuzzyEntropy FuzzyEntropy fuzzy_entropy ,
fuzzy_perimeter fuzzy_perimeter FuzzyPerimeter FuzzyPerimeter FuzzyPerimeter fuzzy_perimeter
Modul
Foundation