gray_featuresgray_featuresGrayFeaturesGrayFeatures (Operator)

Name

gray_featuresgray_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)

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

double HRegion::GrayFeatures(const HImage& Image, const wchar_t* Features) const   (Nur Windows)

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_featuresGrayFeaturesGrayFeaturesGrayFeatures hat als Eingabe mehrere Regionen (RegionsRegionsRegionsRegionsregions). Für jede dieser Regionen werden die Merkmale (FeaturesFeaturesFeaturesFeaturesfeatures) berechnet und in ValueValueValueValuevalue zurückgegeben. Mögliche Werte für FeaturesFeaturesFeaturesFeaturesfeatures:

'area'

Volumen des Grauwertgebirges (vgl. area_center_grayarea_center_grayAreaCenterGrayAreaCenterGrayAreaCenterGray)

'row'

Zeilenindex des Schwerpunkts des Grauwertgebirges (vgl. area_center_grayarea_center_grayAreaCenterGrayAreaCenterGrayAreaCenterGray)

'column'

Spaltenindex des Schwerpunkts des Grauwertgebirges (vgl. area_center_grayarea_center_grayAreaCenterGrayAreaCenterGrayAreaCenterGray)

'ra'

Hauptradius der äquivalenten Ellipse (vgl. elliptic_axis_grayelliptic_axis_grayEllipticAxisGrayEllipticAxisGrayEllipticAxisGray)

'rb'

Nebenradius der äquivalenten Ellipse (vgl. elliptic_axis_grayelliptic_axis_grayEllipticAxisGrayEllipticAxisGrayEllipticAxisGray)

'phi'

Hauptradius der äquivalenten Ellipse (vgl. elliptic_axis_grayelliptic_axis_grayEllipticAxisGrayEllipticAxisGrayEllipticAxisGray)

'min'

Minimaler Grauwert (vgl. min_max_graymin_max_grayMinMaxGrayMinMaxGrayMinMaxGray)

'max'

Maximaler Grauwert (vgl. min_max_graymin_max_grayMinMaxGrayMinMaxGrayMinMaxGray)

'median'

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

'mean'

Mittlerer Grauwert (vgl. intensityintensityIntensityIntensityIntensity)

'deviation'

Standardabweichung der Grauwerte (vgl. intensityintensityIntensityIntensityIntensity)

'plane_deviation'

Standardabweichung von der approximierten Grauwertebene (vgl. plane_deviationplane_deviationPlaneDeviationPlaneDeviationPlaneDeviation)

'anisotropy'

Anisotropie (vgl. entropy_grayentropy_grayEntropyGrayEntropyGrayEntropyGray)

'entropy'

Entropie (vgl. entropy_grayentropy_grayEntropyGrayEntropyGrayEntropyGray)

'fuzzy_entropy'

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

'fuzzy_perimeter'

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

'moments_row'

Gemischte Grauwertmomente der Zeile (vgl. moments_gray_planemoments_gray_planeMomentsGrayPlaneMomentsGrayPlaneMomentsGrayPlane)

'moments_column'

Gemischte Grauwertmomente der Spalte (vgl. moments_gray_planemoments_gray_planeMomentsGrayPlaneMomentsGrayPlaneMomentsGrayPlane)

'alpha'

Ebenengleichung, Parameter Alpha (vgl. moments_gray_planemoments_gray_planeMomentsGrayPlaneMomentsGrayPlaneMomentsGrayPlane)

'beta'

Ebenengleichung, Parameter Beta (vgl. moments_gray_planemoments_gray_planeMomentsGrayPlaneMomentsGrayPlaneMomentsGrayPlane)

Achtung

Einige der Features werden in der Reihenfolge abgearbeitet, in der sie angegeben wurden. Der Operator gray_featuresgray_featuresGrayFeaturesGrayFeaturesGrayFeatures berücksichtigt nur die mittels RegionsRegionsRegionsRegionsregions übergebenen Regionen und ignoriert jede Domäne, die zuvor für das Eingabebild ImageImageImageImageimage festgelegt wurde.

Ausführungsinformationen

Parameter

RegionsRegionsRegionsRegionsregions (input_object)  region-array objectHRegionHRegionHobject

Zu untersuchende Regionen.

ImageImageImageImageimage (input_object)  singlechannelimage objectHImageHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / real)

Grauwertdaten.

FeaturesFeaturesFeaturesFeaturesfeatures (input_control)  string(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Namen der Merkmale.

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

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

ValueValueValueValuevalue (output_control)  real(-array) HTupleHTupleHtuple (real) (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_featuresGrayFeaturesGrayFeaturesGrayFeatures 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

connectionconnectionConnectionConnectionConnection, mean_imagemean_imageMeanImageMeanImageMeanImage, entropy_imageentropy_imageEntropyImageEntropyImageEntropyImage, sobel_ampsobel_ampSobelAmpSobelAmpSobelAmp, median_separatemedian_separateMedianSeparateMedianSeparateMedianSeparate

Nachfolger

select_grayselect_graySelectGraySelectGraySelectGray, shape_transshape_transShapeTransShapeTransShapeTrans, reduce_domainreduce_domainReduceDomainReduceDomainReduceDomain, count_objcount_objCountObjCountObjCountObj

Siehe auch

select_grayselect_graySelectGraySelectGraySelectGray, deviation_imagedeviation_imageDeviationImageDeviationImageDeviationImage, entropy_grayentropy_grayEntropyGrayEntropyGrayEntropyGray, intensityintensityIntensityIntensityIntensity, mean_imagemean_imageMeanImageMeanImageMeanImage, min_max_graymin_max_grayMinMaxGrayMinMaxGrayMinMaxGray, select_objselect_objSelectObjSelectObjSelectObj

Modul

Foundation