top_hattop_hatTopHatTopHat (Operator)
Name
top_hattop_hatTopHatTopHat
— Ermitteln von Ausbuchtungen von Regionen.
Signatur
Beschreibung
top_hattop_hatTopHatTopHatTopHat
berechnet das openingopeningOpeningOpeningOpening
von
RegionRegionRegionRegionregion
mit StructElementStructElementStructElementStructElementstructElement
. Von der
Eingaberegion wird dieses Zwischenergebnis abgezogen. Im Gegensatz
zu openingopeningOpeningOpeningOpening
, das Einzelregionen bei entsprechender
Voraussetzung in mehrere Regionen auftrennt, bestimmt
top_hattop_hatTopHatTopHatTopHat
die Region, welche bei dieser Trennung entfernt
wird.
Die Position von StructElementStructElementStructElementStructElementstructElement
ist ohne Bedeutung, da
openingopeningOpeningOpeningOpening
translationsinvariant bzgl.
StructElementStructElementStructElementStructElementstructElement
ist.
Das strukturierende Element (StructElementStructElementStructElementStructElementstructElement
) kann mit
Operatoren wie gen_circlegen_circleGenCircleGenCircleGenCircle
, gen_rectangle1gen_rectangle1GenRectangle1GenRectangle1GenRectangle1
,
gen_rectangle2gen_rectangle2GenRectangle2GenRectangle2GenRectangle2
, gen_ellipsegen_ellipseGenEllipseGenEllipseGenEllipse
,
draw_regiondraw_regionDrawRegionDrawRegionDrawRegion
, gen_region_polygongen_region_polygonGenRegionPolygonGenRegionPolygonGenRegionPolygon
,
gen_region_pointsgen_region_pointsGenRegionPointsGenRegionPointsGenRegionPoints
, etc. erzeugt werden.
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.
Parameter
RegionRegionRegionRegionregion
(input_object) region(-array) →
objectHRegionHRegionHobject
Regionen, die verarbeitet werden sollen.
StructElementStructElementStructElementStructElementstructElement
(input_object) region →
objectHRegionHRegionHobject
Strukturierendes Element (lageinvariant).
RegionTopHatRegionTopHatRegionTopHatRegionTopHatregionTopHat
(output_object) region(-array) →
objectHRegionHRegionHobject *
Ergebnis des Top-Hat-Operators.
Ergebnis
Bei korrekter Parametrisierung liefert die Funktion
top_hattop_hatTopHatTopHatTopHat
den Wert 2 (H_MSG_TRUE). Das Funktionsverhalten für die
beiden Fälle leere und keine Eingaberegion lässt sich wie folgt
kontrollieren:
-
keine Region:
set_system('no_object_result',<RegionResult>)
-
leere Region:
set_system('empty_region_result',<RegionResult>)
Andernfalls wird eine Fehlerbehandlung durchgeführt.
Vorgänger
thresholdthresholdThresholdThresholdThreshold
,
regiongrowingregiongrowingRegiongrowingRegiongrowingRegiongrowing
,
connectionconnectionConnectionConnectionConnection
,
union1union1Union1Union1Union1
,
watershedswatershedsWatershedsWatershedsWatersheds
,
class_ndim_normclass_ndim_normClassNdimNormClassNdimNormClassNdimNorm
,
gen_circlegen_circleGenCircleGenCircleGenCircle
,
gen_ellipsegen_ellipseGenEllipseGenEllipseGenEllipse
,
gen_rectangle1gen_rectangle1GenRectangle1GenRectangle1GenRectangle1
,
gen_rectangle2gen_rectangle2GenRectangle2GenRectangle2GenRectangle2
,
draw_regiondraw_regionDrawRegionDrawRegionDrawRegion
,
gen_region_pointsgen_region_pointsGenRegionPointsGenRegionPointsGenRegionPoints
,
gen_region_polygon_filledgen_region_polygon_filledGenRegionPolygonFilledGenRegionPolygonFilledGenRegionPolygonFilled
Nachfolger
reduce_domainreduce_domainReduceDomainReduceDomainReduceDomain
,
select_shapeselect_shapeSelectShapeSelectShapeSelectShape
,
area_centerarea_centerAreaCenterAreaCenterAreaCenter
,
connectionconnectionConnectionConnectionConnection
Alternativen
openingopeningOpeningOpeningOpening
,
differencedifferenceDifferenceDifferenceDifference
Siehe auch
bottom_hatbottom_hatBottomHatBottomHatBottomHat
,
gray_tophatgray_tophatGrayTophatGrayTophatGrayTophat
,
openingopeningOpeningOpeningOpening
Modul
Foundation