gray_closing gray_closing GrayClosing GrayClosing gray_closing (Operator)
Name
gray_closing gray_closing GrayClosing GrayClosing gray_closing — Ausführen eines Grauwert-Closings auf Bildern.
Signatur
def gray_closing (image : HObject, se : HObject) -> HObject
Beschreibung
gray_closing gray_closing GrayClosing GrayClosing GrayClosing gray_closing führt ein Grauwert-Closing auf dem Bild
Image Image Image Image image image mit dem strukturierenden Element SE SE SE SE SE se durch.
Der Bildtyp des strukturierenden Elements SE SE SE SE SE se muss zu dem
Bildtyp des Eingabebildes Image Image Image Image image image 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_dilation gray_dilation GrayDilation GrayDilation GrayDilation gray_dilation und gray_erosion gray_erosion GrayErosion GrayErosion GrayErosion gray_erosion ). Zur Erzeugung von
strukturierenden Elementen siehe read_gray_se read_gray_se ReadGraySe ReadGraySe ReadGraySe read_gray_se .
Das Grauwert-Closing wird besonders schnell für flache
strukturierende Elemente durchgeführt, d.h. strukturierende Elemente
mit konstantem Grauwert innerhalb der definierenden Region.
Ausführungsinformationen
Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
Automatisch parallelisiert auf Tupelebene.
Automatisch parallelisiert auf Kanalebene.
Automatisch parallelisiert auf interner Datenebene.
Parameter
Image Image Image Image image image (input_object) (multichannel-)image(-array) → object HImage HObject HImage Hobject (byte / uint2 / real)
Eingabebild.
SE SE SE SE SE se (input_object) singlechannelimage → object HImage HObject HImage Hobject (byte / uint2 / real)
Strukturierendes Element.
ImageClosing ImageClosing ImageClosing ImageClosing imageClosing image_closing (output_object) (multichannel-)image(-array) → object HImage HObject HImage Hobject * (byte / uint2 / real)
Ergebnisbild.
Ergebnis
gray_closing gray_closing GrayClosing GrayClosing GrayClosing gray_closing 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_se read_gray_se ReadGraySe ReadGraySe ReadGraySe read_gray_se ,
gen_disc_se gen_disc_se GenDiscSe GenDiscSe GenDiscSe gen_disc_se ,
read_image read_image ReadImage ReadImage ReadImage read_image
Alternativen
dual_rank dual_rank DualRank DualRank DualRank dual_rank ,
gray_closing_rect gray_closing_rect GrayClosingRect GrayClosingRect GrayClosingRect gray_closing_rect ,
gray_closing_shape gray_closing_shape GrayClosingShape GrayClosingShape GrayClosingShape gray_closing_shape
Siehe auch
closing closing Closing Closing Closing closing ,
gray_dilation gray_dilation GrayDilation GrayDilation GrayDilation gray_dilation ,
gray_erosion gray_erosion GrayErosion GrayErosion GrayErosion gray_erosion
Modul
Foundation