KlassenKlassenKlassenKlassen | | | | Operatoren

gray_featuresgray_featuresGrayFeaturesgray_featuresGrayFeaturesGrayFeatures (Operator)

Name

gray_featuresgray_featuresGrayFeaturesgray_featuresGrayFeaturesGrayFeatures — Berechnet Grauwertmerkmale von Regionen .

Signatur

gray_features(Regions, Image : : Features : Value)

Herror gray_features(const Hobject Regions, const Hobject Image, const char* Features, double* Value)

Herror T_gray_features(const Hobject Regions, const Hobject Image, const Htuple Features, Htuple* Value)

Herror gray_features(Hobject Regions, Hobject Image, const HTuple& Features, double* Value)

Herror gray_features(Hobject Regions, Hobject Image, const HTuple& Features, HTuple* Value)

HTuple HRegionArray::GrayFeatures(const HImage& Image, const HTuple& Features) const

void GrayFeatures(const HObject& Regions, const HObject& Image, const HTuple& Features, HTuple* Value)

HTuple HRegion::GrayFeatures(const HImage& Image, const HTuple& Features) const

double HRegion::GrayFeatures(const HImage& Image, const HString& Features) const

double HRegion::GrayFeatures(const HImage& Image, const char* Features) const

void HOperatorSetX.GrayFeatures(
[in] IHUntypedObjectX* Regions, [in] IHUntypedObjectX* Image, [in] VARIANT Features, [out] VARIANT* Value)

VARIANT HRegionX.GrayFeatures(
[in] IHImageX* Image, [in] VARIANT Features)

static void HOperatorSet.GrayFeatures(HObject regions, HObject image, HTuple features, out HTuple value)

HTuple HRegion.GrayFeatures(HImage image, HTuple features)

double HRegion.GrayFeatures(HImage image, string features)

Beschreibung

gray_featuresgray_featuresGrayFeaturesgray_featuresGrayFeaturesGrayFeatures hat als Eingabe mehrere Regionen (RegionsRegionsRegionsRegionsRegionsregions). Für jede dieser Regionen werden die Merkmale (FeaturesFeaturesFeaturesFeaturesFeaturesfeatures) berechnet und in ValueValueValueValueValuevalue zurückgegeben. Mögliche Werte für FeaturesFeaturesFeaturesFeaturesFeaturesfeatures:

'area'

Volumen des Grauwertgebirges (vgl. area_center_grayarea_center_grayAreaCenterGrayarea_center_grayAreaCenterGrayAreaCenterGray)

'row'

Zeilenindex des Schwerpunkts des Grauwertgebirges (vgl. area_center_grayarea_center_grayAreaCenterGrayarea_center_grayAreaCenterGrayAreaCenterGray)

'column'

Spaltenindex des Schwerpunkts des Grauwertgebirges (vgl. area_center_grayarea_center_grayAreaCenterGrayarea_center_grayAreaCenterGrayAreaCenterGray)

'ra'

Hauptradius der äquivalenten Ellipse (vgl. elliptic_axis_grayelliptic_axis_grayEllipticAxisGrayelliptic_axis_grayEllipticAxisGrayEllipticAxisGray)

'rb'

Nebenradius der äquivalenten Ellipse (vgl. elliptic_axis_grayelliptic_axis_grayEllipticAxisGrayelliptic_axis_grayEllipticAxisGrayEllipticAxisGray)

'phi'

Hauptradius der äquivalenten Ellipse (vgl. elliptic_axis_grayelliptic_axis_grayEllipticAxisGrayelliptic_axis_grayEllipticAxisGrayEllipticAxisGray)

'min'

Minimaler Grauwert (vgl. min_max_graymin_max_grayMinMaxGraymin_max_grayMinMaxGrayMinMaxGray)

'max'

Maximaler Grauwert (vgl. min_max_graymin_max_grayMinMaxGraymin_max_grayMinMaxGrayMinMaxGray)

'median'

Zentraler Grauwert (vgl. min_max_graymin_max_grayMinMaxGraymin_max_grayMinMaxGrayMinMaxGray, mit Percent=50)

'mean'

Mittlerer Grauwert (vgl. intensityintensityIntensityintensityIntensityIntensity)

'deviation'

Standardabweichung der Grauwerte (vgl. intensityintensityIntensityintensityIntensityIntensity)

'plane_deviation'

Standardabweichung von der approximierten Grauwertebene (vgl. plane_deviationplane_deviationPlaneDeviationplane_deviationPlaneDeviationPlaneDeviation)

'anisotropy'

Anisotropie (vgl. entropy_grayentropy_grayEntropyGrayentropy_grayEntropyGrayEntropyGray)

'entropy'

Entropie (vgl. entropy_grayentropy_grayEntropyGrayentropy_grayEntropyGrayEntropyGray)

'fuzzy_entropy'

Fuzzy-Entropie der Region (vgl. fuzzy_entropyfuzzy_entropyFuzzyEntropyfuzzy_entropyFuzzyEntropyFuzzyEntropy, mit einer Fuzzyfunktion von Apar=0 bis Cpar=255)

'fuzzy_perimeter'

Fuzzy-Umfang der Region (vgl. fuzzy_perimeterfuzzy_perimeterFuzzyPerimeterfuzzy_perimeterFuzzyPerimeterFuzzyPerimeter, mit einer Fuzzyfunktion von Apar=0 bis Cpar=255)

'moments_row'

Gemischte Grauwertmomente der Zeile (vgl. moments_gray_planemoments_gray_planeMomentsGrayPlanemoments_gray_planeMomentsGrayPlaneMomentsGrayPlane)

'moments_column'

Gemischte Grauwertmomente der Spalte (vgl. moments_gray_planemoments_gray_planeMomentsGrayPlanemoments_gray_planeMomentsGrayPlaneMomentsGrayPlane)

'alpha'

Ebenengleichung, Parameter Alpha (vgl. moments_gray_planemoments_gray_planeMomentsGrayPlanemoments_gray_planeMomentsGrayPlaneMomentsGrayPlane)

'beta'

Ebenengleichung, Parameter Beta (vgl. moments_gray_planemoments_gray_planeMomentsGrayPlanemoments_gray_planeMomentsGrayPlaneMomentsGrayPlane)

Achtung

Einige der Features werden in der Reihenfolge abgearbeitet, in der sie angegeben wurden. Der Operator gray_featuresgray_featuresGrayFeaturesgray_featuresGrayFeaturesGrayFeatures 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 objectHRegionHRegionHRegionArrayHRegionXHobject

Zu untersuchende Regionen.

ImageImageImageImageImageimage (input_object)  singlechannelimage objectHImageHImageHImageHImageXHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / real)

Grauwertdaten.

FeaturesFeaturesFeaturesFeaturesFeaturesfeatures (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Namen der Merkmale.

Defaultwert: 'mean' "mean" "mean" "mean" "mean" "mean"

Werteliste: 'alpha'"alpha""alpha""alpha""alpha""alpha", 'anisotropy'"anisotropy""anisotropy""anisotropy""anisotropy""anisotropy", 'area'"area""area""area""area""area", 'beta'"beta""beta""beta""beta""beta", 'column'"column""column""column""column""column", 'deviation'"deviation""deviation""deviation""deviation""deviation", 'entropy'"entropy""entropy""entropy""entropy""entropy", 'fuzzy_entropy'"fuzzy_entropy""fuzzy_entropy""fuzzy_entropy""fuzzy_entropy""fuzzy_entropy", 'fuzzy_perimeter'"fuzzy_perimeter""fuzzy_perimeter""fuzzy_perimeter""fuzzy_perimeter""fuzzy_perimeter", 'max'"max""max""max""max""max", 'mean'"mean""mean""mean""mean""mean", 'median'"median""median""median""median""median", 'min'"min""min""min""min""min", 'moments_column'"moments_column""moments_column""moments_column""moments_column""moments_column", 'moments_row'"moments_row""moments_row""moments_row""moments_row""moments_row", 'phi'"phi""phi""phi""phi""phi", 'plane_deviation'"plane_deviation""plane_deviation""plane_deviation""plane_deviation""plane_deviation", 'ra'"ra""ra""ra""ra""ra", 'rb'"rb""rb""rb""rb""rb", 'row'"row""row""row""row""row"

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

Werte der Merkmale.

Komplexität

Sei F die Fläche der Region und N die Anzahl der Merkmale, dann beträgt die Laufzeitkomplexität O(F * N).

Ergebnis

gray_featuresgray_featuresGrayFeaturesgray_featuresGrayFeaturesGrayFeatures liefert den Wert 2 (H_MSG_TRUE), falls das Eingabebild definierte Grauwerten besitzt und die Parameter korrekt sind. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

connectionconnectionConnectionconnectionConnectionConnection, mean_imagemean_imageMeanImagemean_imageMeanImageMeanImage, entropy_imageentropy_imageEntropyImageentropy_imageEntropyImageEntropyImage, sobel_ampsobel_ampSobelAmpsobel_ampSobelAmpSobelAmp, median_separatemedian_separateMedianSeparatemedian_separateMedianSeparateMedianSeparate

Nachfolger

select_grayselect_graySelectGrayselect_graySelectGraySelectGray, shape_transshape_transShapeTransshape_transShapeTransShapeTrans, reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain, count_objcount_objCountObjcount_objCountObjCountObj

Siehe auch

select_grayselect_graySelectGrayselect_graySelectGraySelectGray, deviation_imagedeviation_imageDeviationImagedeviation_imageDeviationImageDeviationImage, entropy_grayentropy_grayEntropyGrayentropy_grayEntropyGrayEntropyGray, intensityintensityIntensityintensityIntensityIntensity, mean_imagemean_imageMeanImagemean_imageMeanImageMeanImage, min_max_graymin_max_grayMinMaxGraymin_max_grayMinMaxGrayMinMaxGray, select_objselect_objSelectObjselect_objSelectObjSelectObj

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren