Name
top_hattop_hatTopHattop_hatTopHatTopHat — Ermitteln von Ausbuchtungen von Regionen.
top_hattop_hatTopHattop_hatTopHatTopHat berechnet das openingopeningOpeningopeningOpeningOpening von
RegionRegionRegionRegionRegionregion mit StructElementStructElementStructElementStructElementStructElementstructElement. Von der
Eingaberegion wird dieses Zwischenergebnis abgezogen. Im Gegensatz
zu openingopeningOpeningopeningOpeningOpening, das Einzelregionen bei entsprechender
Voraussetzung in mehrere Regionen auftrennt, bestimmt
top_hattop_hatTopHattop_hatTopHatTopHat die Region, welche bei dieser Trennung entfernt
wird.
Die Position von StructElementStructElementStructElementStructElementStructElementstructElement ist ohne Bedeutung, da
openingopeningOpeningopeningOpeningOpening translationsinvariant bzgl.
StructElementStructElementStructElementStructElementStructElementstructElement ist.
Das strukturierende Element (StructElementStructElementStructElementStructElementStructElementstructElement) kann mit
Operatoren wie gen_circlegen_circleGenCirclegen_circleGenCircleGenCircle, gen_rectangle1gen_rectangle1GenRectangle1gen_rectangle1GenRectangle1GenRectangle1,
gen_rectangle2gen_rectangle2GenRectangle2gen_rectangle2GenRectangle2GenRectangle2, gen_ellipsegen_ellipseGenEllipsegen_ellipseGenEllipseGenEllipse,
draw_regiondraw_regionDrawRegiondraw_regionDrawRegionDrawRegion, gen_region_polygongen_region_polygonGenRegionPolygongen_region_polygonGenRegionPolygonGenRegionPolygon,
gen_region_pointsgen_region_pointsGenRegionPointsgen_region_pointsGenRegionPointsGenRegionPoints, etc. erzeugt werden.
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Automatisch parallelisiert auf Tupelebene.
Regionen, die verarbeitet werden sollen.
Strukturierendes Element (lageinvariant).
Ergebnis des Top-Hat-Operators.
Bei korrekter Parametrisierung liefert die Funktion
top_hattop_hatTopHattop_hatTopHatTopHat 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.
thresholdthresholdThresholdthresholdThresholdThreshold,
regiongrowingregiongrowingRegiongrowingregiongrowingRegiongrowingRegiongrowing,
connectionconnectionConnectionconnectionConnectionConnection,
union1union1Union1union1Union1Union1,
watershedswatershedsWatershedswatershedsWatershedsWatersheds,
class_ndim_normclass_ndim_normClassNdimNormclass_ndim_normClassNdimNormClassNdimNorm,
gen_circlegen_circleGenCirclegen_circleGenCircleGenCircle,
gen_ellipsegen_ellipseGenEllipsegen_ellipseGenEllipseGenEllipse,
gen_rectangle1gen_rectangle1GenRectangle1gen_rectangle1GenRectangle1GenRectangle1,
gen_rectangle2gen_rectangle2GenRectangle2gen_rectangle2GenRectangle2GenRectangle2,
draw_regiondraw_regionDrawRegiondraw_regionDrawRegionDrawRegion,
gen_region_pointsgen_region_pointsGenRegionPointsgen_region_pointsGenRegionPointsGenRegionPoints,
gen_struct_elementsgen_struct_elementsGenStructElementsgen_struct_elementsGenStructElementsGenStructElements,
gen_region_polygon_filledgen_region_polygon_filledGenRegionPolygonFilledgen_region_polygon_filledGenRegionPolygonFilledGenRegionPolygonFilled
reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain,
select_shapeselect_shapeSelectShapeselect_shapeSelectShapeSelectShape,
area_centerarea_centerAreaCenterarea_centerAreaCenterAreaCenter,
connectionconnectionConnectionconnectionConnectionConnection
openingopeningOpeningopeningOpeningOpening,
differencedifferenceDifferencedifferenceDifferenceDifference
bottom_hatbottom_hatBottomHatbottom_hatBottomHatBottomHat,
morph_hatmorph_hatMorphHatmorph_hatMorphHatMorphHat,
gray_tophatgray_tophatGrayTophatgray_tophatGrayTophatGrayTophat,
openingopeningOpeningopeningOpeningOpening
Foundation