KlassenKlassenKlassenKlassen | | | | Operatoren

entropy_grayentropy_grayEntropyGrayentropy_grayEntropyGrayEntropyGray (Operator)

Name

entropy_grayentropy_grayEntropyGrayentropy_grayEntropyGrayEntropyGray — Bestimmung der Entropie und der Anisotropie von Bildern.

Signatur

entropy_gray(Regions, Image : : : Entropy, Anisotropy)

Herror entropy_gray(const Hobject Regions, const Hobject Image, double* Entropy, double* Anisotropy)

Herror T_entropy_gray(const Hobject Regions, const Hobject Image, Htuple* Entropy, Htuple* Anisotropy)

Herror entropy_gray(Hobject Regions, Hobject Image, double* Entropy, double* Anisotropy)

Herror entropy_gray(Hobject Regions, Hobject Image, HTuple* Entropy, HTuple* Anisotropy)

double HRegion::EntropyGray(const HImage& Image, double* Anisotropy) const

HTuple HRegionArray::EntropyGray(const HImage& Image, HTuple* Anisotropy) const

void EntropyGray(const HObject& Regions, const HObject& Image, HTuple* Entropy, HTuple* Anisotropy)

HTuple HImage::EntropyGray(const HRegion& Regions, HTuple* Anisotropy) const

double HImage::EntropyGray(const HRegion& Regions, double* Anisotropy) const

HTuple HRegion::EntropyGray(const HImage& Image, HTuple* Anisotropy) const

double HRegion::EntropyGray(const HImage& Image, double* Anisotropy) const

void HOperatorSetX.EntropyGray(
[in] IHUntypedObjectX* Regions, [in] IHUntypedObjectX* Image, [out] VARIANT* Entropy, [out] VARIANT* Anisotropy)

VARIANT HImageX.EntropyGray(
[in] IHRegionX* Regions, [out] VARIANT* Anisotropy)

VARIANT HRegionX.EntropyGray(
[in] IHImageX* Image, [out] VARIANT* Anisotropy)

static void HOperatorSet.EntropyGray(HObject regions, HObject image, out HTuple entropy, out HTuple anisotropy)

HTuple HImage.EntropyGray(HRegion regions, out HTuple anisotropy)

double HImage.EntropyGray(HRegion regions, out double anisotropy)

HTuple HRegion.EntropyGray(HImage image, out HTuple anisotropy)

double HRegion.EntropyGray(HImage image, out double anisotropy)

Beschreibung

entropy_grayentropy_grayEntropyGrayentropy_grayEntropyGrayEntropyGray 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 RegionsRegionsRegionsRegionsRegionsregions 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_grayentropy_grayEntropyGrayentropy_grayEntropyGrayEntropyGray berücksichtigt nur die mittels RegionsRegionsRegionsRegionsRegionsregions übergebenen Regionen und ignoriert jede Domäne, die zuvor für das Eingabebild ImageImageImageImageImageimage festgelegt wurde.

Parallelisierung

Parameter

RegionsRegionsRegionsRegionsRegionsregions (input_object)  region(-array) objectHRegionHRegionHRegionHRegionXHobject

Regionen, in denen die Merkmale bestimmt werden sollen.

ImageImageImageImageImageimage (input_object)  singlechannelimage objectHImageHImageHImageHImageXHobject (byte)

Grauwertdaten.

EntropyEntropyEntropyEntropyEntropyentropy (output_control)  real(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Informationsgehalt (Entropie) der Grauwerte.

Zusicherung: 0 <= Entropy && Entropy <= 8

AnisotropyAnisotropyAnisotropyAnisotropyAnisotropyanisotropy (output_control)  real(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (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_grayentropy_grayEntropyGrayentropy_grayEntropyGrayEntropyGray 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>)set_system("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>)set_system("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>) festgelegt. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Alternativen

select_grayselect_graySelectGrayselect_graySelectGraySelectGray

Siehe auch

entropy_imageentropy_imageEntropyImageentropy_imageEntropyImageEntropyImage, gray_histogray_histoGrayHistogray_histoGrayHistoGrayHisto, gray_histo_absgray_histo_absGrayHistoAbsgray_histo_absGrayHistoAbsGrayHistoAbs, fuzzy_entropyfuzzy_entropyFuzzyEntropyfuzzy_entropyFuzzyEntropyFuzzyEntropy, fuzzy_perimeterfuzzy_perimeterFuzzyPerimeterfuzzy_perimeterFuzzyPerimeterFuzzyPerimeter

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren