KlassenKlassenKlassenKlassen | | | | Operatoren

gray_dilation_rectgray_dilation_rectGrayDilationRectgray_dilation_rectGrayDilationRectGrayDilationRect (Operator)

Name

gray_dilation_rectgray_dilation_rectGrayDilationRectgray_dilation_rectGrayDilationRectGrayDilationRect — Maximum der Grauwerte in einem Rechteck.

Signatur

gray_dilation_rect(Image : ImageMax : MaskHeight, MaskWidth : )

Herror gray_dilation_rect(const Hobject Image, Hobject* ImageMax, const Hlong MaskHeight, const Hlong MaskWidth)

Herror T_gray_dilation_rect(const Hobject Image, Hobject* ImageMax, const Htuple MaskHeight, const Htuple MaskWidth)

Herror gray_dilation_rect(Hobject Image, Hobject* ImageMax, const HTuple& MaskHeight, const HTuple& MaskWidth)

HImage HImage::GrayDilationRect(const HTuple& MaskHeight, const HTuple& MaskWidth) const

HImageArray HImageArray::GrayDilationRect(const HTuple& MaskHeight, const HTuple& MaskWidth) const

void GrayDilationRect(const HObject& Image, HObject* ImageMax, const HTuple& MaskHeight, const HTuple& MaskWidth)

HImage HImage::GrayDilationRect(Hlong MaskHeight, Hlong MaskWidth) const

void HOperatorSetX.GrayDilationRect(
[in] IHUntypedObjectX* Image, [out] IHUntypedObjectX*ImageMax, [in] VARIANT MaskHeight, [in] VARIANT MaskWidth)

IHImageX* HImageX.GrayDilationRect(
[in] Hlong MaskHeight, [in] Hlong MaskWidth)

static void HOperatorSet.GrayDilationRect(HObject image, out HObject imageMax, HTuple maskHeight, HTuple maskWidth)

HImage HImage.GrayDilationRect(int maskHeight, int maskWidth)

Beschreibung

gray_dilation_rectgray_dilation_rectGrayDilationRectgray_dilation_rectGrayDilationRectGrayDilationRect transformiert die Grauwerte der Eingabebilder aus ImageImageImageImageImageimage mit Hilfe einer Filtermaske (MaskHeightMaskHeightMaskHeightMaskHeightMaskHeightmaskHeight, MaskWidthMaskWidthMaskWidthMaskWidthMaskWidthmaskWidth), in der das Maximum der Grauwerte berechnet wird. Das Ergebnis wird in ImageMaxImageMaxImageMaxImageMaxImageMaximageMax zurückgeliefert. Die Steuerparameter MaskHeightMaskHeightMaskHeightMaskHeightMaskHeightmaskHeight,MaskWidthMaskWidthMaskWidthMaskWidthMaskWidthmaskWidth werden, wenn sie einen geraden Wert haben, auf den nächstgrößeren ungeraden Wert transformiert. An den Bildrändern wird eine Spiegelung der Randpunkte durchgeführt.

Achtung

Beachten Sie, dass Filteroperatoren eventuell unerwartete Resultate ausgeben, wenn ein Bild mit einer reduzierten Domäne als Input übergeben wird. Weitere Informationen können im Kapitel Filter gefunden werden.

Parallelisierung

Parameter

ImageImageImageImageImageimage (input_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject (byte / direction / cyclic / uint2 / int2 / int4 / real)

Bilder, für deren Grauwerte die Maxima berechnet werden sollen.

ImageMaxImageMaxImageMaxImageMaxImageMaximageMax (output_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject * (byte / direction / cyclic / uint2 / int2 / int4 / real)

Bilder, die die Maxima enthalten.

MaskHeightMaskHeightMaskHeightMaskHeightMaskHeightmaskHeight (input_control)  extent.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Höhe der Filtermaske.

Defaultwert: 11

Wertevorschläge: 3, 5, 7, 9, 11, 13, 15

Typischer Wertebereich: 3 ≤ MaskHeight MaskHeight MaskHeight MaskHeight MaskHeight maskHeight ≤ 511

Minimale Schrittweite: 2

Empfohlene Schrittweite: 2

Restriktion: odd(MaskHeight)

MaskWidthMaskWidthMaskWidthMaskWidthMaskWidthmaskWidth (input_control)  extent.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Breite der Filtermaske.

Defaultwert: 11

Wertevorschläge: 3, 5, 7, 9, 11, 13, 15

Typischer Wertebereich: 3 ≤ MaskWidth MaskWidth MaskWidth MaskWidth MaskWidth maskWidth ≤ 511

Minimale Schrittweite: 2

Empfohlene Schrittweite: 2

Restriktion: odd(MaskWidth)

Ergebnis

Sind die Parameterwerte korrekt, dann liefert gray_dilation_rectgray_dilation_rectGrayDilationRectgray_dilation_rectGrayDilationRectGrayDilationRect den Wert 2 (H_MSG_TRUE). Das Verhalten bei leerer Eingabe (keine Eingabebilder vorhanden) lässt sich mittels 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>) festlegen. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Siehe auch

gray_skeletongray_skeletonGraySkeletongray_skeletonGraySkeletonGraySkeleton

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren