KlassenKlassenKlassenKlassen | | | | Operatoren

gray_range_rectgray_range_rectGrayRangeRectgray_range_rectGrayRangeRectGrayRangeRect (Operator)

Name

gray_range_rectgray_range_rectGrayRangeRectgray_range_rectGrayRangeRectGrayRangeRect — Maximale Amplitude der Grauwerte in einem Rechteck.

Signatur

gray_range_rect(Image : ImageResult : MaskHeight, MaskWidth : )

Herror gray_range_rect(const Hobject Image, Hobject* ImageResult, const Hlong MaskHeight, const Hlong MaskWidth)

Herror T_gray_range_rect(const Hobject Image, Hobject* ImageResult, const Htuple MaskHeight, const Htuple MaskWidth)

Herror gray_range_rect(Hobject Image, Hobject* ImageResult, const HTuple& MaskHeight, const HTuple& MaskWidth)

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

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

void GrayRangeRect(const HObject& Image, HObject* ImageResult, const HTuple& MaskHeight, const HTuple& MaskWidth)

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

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

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

static void HOperatorSet.GrayRangeRect(HObject image, out HObject imageResult, HTuple maskHeight, HTuple maskWidth)

HImage HImage.GrayRangeRect(int maskHeight, int maskWidth)

Beschreibung

gray_range_rectgray_range_rectGrayRangeRectgray_range_rectGrayRangeRectGrayRangeRect transformiert die Grauwerte der Eingabebiler aus ImageImageImageImageImageimage mit Hilfe einer Filtermaske (MaskHeightMaskHeightMaskHeightMaskHeightMaskHeightmaskHeight, MaskWidthMaskWidthMaskWidthMaskWidthMaskWidthmaskWidth), in der die Spanne (max - min) der Grauwerte berechnet wird. Das Ergebnis wird in die Ausgabebilder ImageResultImageResultImageResultImageResultImageResultimageResult eingetragen. Die Steuerparameter MaskHeightMaskHeightMaskHeightMaskHeightMaskHeightmaskHeight, MaskWidthMaskWidthMaskWidthMaskWidthMaskWidthmaskWidth werden, wenn sie einen geraden Wert haben, in den nächstkleineren ungeraden Wert transformiert. An den Bildrändern wird eine Spiegelung der Randpunkte durchgeführt.

Parallelisierung

Parameter

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

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

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

Bilder, die das Ergebnis 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 (lin)

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 (lin)

Minimale Schrittweite: 2

Empfohlene Schrittweite: 2

Restriktion: odd(MaskWidth)

Ergebnis

Sind die Parameterwerte korrekt, dann liefert gray_range_rectgray_range_rectGrayRangeRectgray_range_rectGrayRangeRectGrayRangeRect 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.

Alternativen

gray_dilation_rectgray_dilation_rectGrayDilationRectgray_dilation_rectGrayDilationRectGrayDilationRect, gray_erosion_rectgray_erosion_rectGrayErosionRectgray_erosion_rectGrayErosionRectGrayErosionRect, sub_imagesub_imageSubImagesub_imageSubImageSubImage

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren