gray_bothatgray_bothatGrayBothatGrayBothat (Operator)

Name

gray_bothatgray_bothatGrayBothatGrayBothat — 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)

Beschreibung

gray_bothatgray_bothatGrayBothatGrayBothatGrayBothat führt eine Bottom-Hat-Transformation auf dem Bild ImageImageImageImageimage mit dem strukturierenden Element SESESESESE durch. Der Bildtyp des strukturierenden Elements SESESESESE muss zu dem Bildtyp des Eingabebildes ImageImageImageImageimage 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_closingGrayClosingGrayClosingGrayClosing). Zur Erzeugung von strukturierenden Elementen siehe read_gray_seread_gray_seReadGraySeReadGraySeReadGraySe.

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

ImageImageImageImageimage (input_object)  (multichannel-)image(-array) objectHImageHImageHobject (byte / uint2 / real)

Eingabebild.

SESESESESE (input_object)  singlechannelimage objectHImageHImageHobject (byte / uint2 / real)

Strukturierendes Element.

ImageBotHatImageBotHatImageBotHatImageBotHatimageBotHat (output_object)  (multichannel-)image(-array) objectHImageHImageHobject * (byte / uint2 / real)

Bottom Hat.

Ergebnis

gray_bothatgray_bothatGrayBothatGrayBothatGrayBothat 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_seReadGraySeReadGraySeReadGraySe, gen_disc_segen_disc_seGenDiscSeGenDiscSeGenDiscSe, read_imageread_imageReadImageReadImageReadImage

Nachfolger

thresholdthresholdThresholdThresholdThreshold

Alternativen

gray_closinggray_closingGrayClosingGrayClosingGrayClosing

Siehe auch

gray_tophatgray_tophatGrayTophatGrayTophatGrayTophat, top_hattop_hatTopHatTopHatTopHat, gray_erosion_rectgray_erosion_rectGrayErosionRectGrayErosionRectGrayErosionRect, sub_imagesub_imageSubImageSubImageSubImage

Modul

Foundation