gray_bothatgray_bothatGrayBothatGrayBothatgray_bothat (Operator)

Name

gray_bothatgray_bothatGrayBothatGrayBothatgray_bothat — Ausführen einer Bottom-Hat-Transformation auf Bildern.

Signatur

gray_bothat(Image, SE : ImageBotHat : : )

Herror gray_bothat(const Hobject Image, const Hobject SE, Hobject* ImageBotHat)

Herror T_gray_bothat(const Hobject Image, const Hobject SE, Hobject* ImageBotHat)

void GrayBothat(const HObject& Image, const HObject& SE, HObject* ImageBotHat)

HImage HImage::GrayBothat(const HImage& SE) const

static void HOperatorSet.GrayBothat(HObject image, HObject SE, out HObject imageBotHat)

HImage HImage.GrayBothat(HImage SE)

def gray_bothat(image: HObject, se: HObject) -> HObject

Beschreibung

gray_bothatgray_bothatGrayBothatGrayBothatGrayBothatgray_bothat führt eine Bottom-Hat-Transformation auf dem Bild ImageImageImageImageimageimage mit dem strukturierenden Element SESESESESEse durch. Der Bildtyp des strukturierenden Elements SESESESESEse muss zu dem Bildtyp des Eingabebildes ImageImageImageImageimageimage passen. Die Bottom-Hat-Transformation eines Bildes i mit einem strukturierenden Element s ist definiert als d.h. die Differenz des Closings des Bildes mit s und des Bildes (siehe gray_closinggray_closingGrayClosingGrayClosingGrayClosinggray_closing). Zur Erzeugung von strukturierenden Elementen siehe read_gray_seread_gray_seReadGraySeReadGraySeReadGraySeread_gray_se.

Die Bottom-Hat-Transformation wird besonders schnell für flache strukturierende Elemente durchgeführt, d.h. strukturierende Elemente mit konstantem Grauwert innerhalb der definierenden Region.

Ausführungsinformationen

Parameter

ImageImageImageImageimageimage (input_object)  (multichannel-)image(-array) objectHImageHObjectHImageHobject (byte / uint2 / real)

Eingabebild.

SESESESESEse (input_object)  singlechannelimage objectHImageHObjectHImageHobject (byte / uint2 / real)

Strukturierendes Element.

ImageBotHatImageBotHatImageBotHatImageBotHatimageBotHatimage_bot_hat (output_object)  (multichannel-)image(-array) objectHImageHObjectHImageHobject * (byte / uint2 / real)

Bottom Hat.

Ergebnis

gray_bothatgray_bothatGrayBothatGrayBothatGrayBothatgray_bothat liefert genau dann den Wert TRUE, wenn das strukturierende Element keine leere Region ist. Andernfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

read_gray_seread_gray_seReadGraySeReadGraySeReadGraySeread_gray_se, gen_disc_segen_disc_seGenDiscSeGenDiscSeGenDiscSegen_disc_se, read_imageread_imageReadImageReadImageReadImageread_image

Nachfolger

thresholdthresholdThresholdThresholdThresholdthreshold

Alternativen

gray_closinggray_closingGrayClosingGrayClosingGrayClosinggray_closing

Siehe auch

gray_tophatgray_tophatGrayTophatGrayTophatGrayTophatgray_tophat, top_hattop_hatTopHatTopHatTopHattop_hat, gray_erosion_rectgray_erosion_rectGrayErosionRectGrayErosionRectGrayErosionRectgray_erosion_rect, sub_imagesub_imageSubImageSubImageSubImagesub_image

Modul

Foundation