KlassenKlassenKlassenKlassen | | | | Operatoren

gray_closinggray_closingGrayClosinggray_closingGrayClosingGrayClosing (Operator)

Name

gray_closinggray_closingGrayClosinggray_closingGrayClosingGrayClosing — Ausführen eines Grauwert-Closings auf Bildern.

Signatur

gray_closing(Image, SE : ImageClosing : : )

Herror gray_closing(const Hobject Image, const Hobject SE, Hobject* ImageClosing)

Herror T_gray_closing(const Hobject Image, const Hobject SE, Hobject* ImageClosing)

Herror gray_closing(Hobject Image, Hobject SE, Hobject* ImageClosing)

HImage HImage::GrayClosing(const HImage& SE) const

HImageArray HImageArray::GrayClosing(const HImage& SE) const

void GrayClosing(const HObject& Image, const HObject& SE, HObject* ImageClosing)

HImage HImage::GrayClosing(const HImage& SE) const

void HOperatorSetX.GrayClosing(
[in] IHUntypedObjectX* Image, [in] IHUntypedObjectX* SE, [out] IHUntypedObjectX*ImageClosing)

IHImageX* HImageX.GrayClosing([in] IHImageX* SE)

static void HOperatorSet.GrayClosing(HObject image, HObject SE, out HObject imageClosing)

HImage HImage.GrayClosing(HImage SE)

Beschreibung

gray_closinggray_closingGrayClosinggray_closingGrayClosingGrayClosing führt ein Grauwert-Closing auf dem Bild ImageImageImageImageImageimage mit dem strukturierenden Element SESESESESESE durch. Der Bildtyp des strukturierenden Elements SESESESESESE muss zu dem Bildtyp des Eingabebildes ImageImageImageImageImageimage passen. Das Grauwert-Closing eines Bildes i mit einem strukturierenden Element s ist definiert als

d.h. eine Dilatation des Bildes mit s gefolgt von einer Erosion mit dem transponierten strukturierenden Element (siehe gray_dilationgray_dilationGrayDilationgray_dilationGrayDilationGrayDilation und gray_erosiongray_erosionGrayErosiongray_erosionGrayErosionGrayErosion). Zur Erzeugung von strukturierenden Elementen siehe read_gray_seread_gray_seReadGraySeread_gray_seReadGraySeReadGraySe.

Das Grauwert-Closing wird besonders schnell für flache strukturierende Elemente durchgeführt, d.h. strukturierende Elemente mit konstantem Grauwert innerhalb der definierenden Region.

Parallelisierung

Parameter

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

Eingabebild.

SESESESESESE (input_object)  singlechannelimage objectHImageHImageHImageHImageXHobject (byte / uint2 / real)

Strukturierendes Element.

ImageClosingImageClosingImageClosingImageClosingImageClosingimageClosing (output_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject * (byte / uint2 / real)

Ergebnisbild.

Ergebnis

gray_closinggray_closingGrayClosinggray_closingGrayClosingGrayClosing liefert genau dann den Wert 2 (H_MSG_TRUE), wenn das strukturierende Element keine leere Region ist. Andernfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

read_gray_seread_gray_seReadGraySeread_gray_seReadGraySeReadGraySe, gen_disc_segen_disc_seGenDiscSegen_disc_seGenDiscSeGenDiscSe, read_imageread_imageReadImageread_imageReadImageReadImage

Alternativen

dual_rankdual_rankDualRankdual_rankDualRankDualRank, gray_closing_rectgray_closing_rectGrayClosingRectgray_closing_rectGrayClosingRectGrayClosingRect, gray_closing_shapegray_closing_shapeGrayClosingShapegray_closing_shapeGrayClosingShapeGrayClosingShape

Siehe auch

closingclosingClosingclosingClosingClosing, gray_dilationgray_dilationGrayDilationgray_dilationGrayDilationGrayDilation, gray_erosiongray_erosionGrayErosiongray_erosionGrayErosionGrayErosion

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren