dilation2 dilation2 Dilation2 Dilation2 dilation2 (Operator)
Name
dilation2 dilation2 Dilation2 Dilation2 dilation2 — Ausdehnen von Regionen (mit Bezugspunkt).
Signatur
Herror dilation2 (const Hobject Region , const Hobject StructElement , Hobject* RegionDilation , const Hlong Row , const Hlong Column , const Hlong Iterations )
Herror T_dilation2 (const Hobject Region , const Hobject StructElement , Hobject* RegionDilation , const Htuple Row , const Htuple Column , const Htuple Iterations )
Beschreibung
dilation2 dilation2 Dilation2 Dilation2 Dilation2 dilation2 berechnet die Dilatation der Eingaberegionen
mit einem strukturierenden Element (StructElement StructElement StructElement StructElement structElement struct_element ) und
dem Bezugspunkt, der durch Row Row Row Row row row und Column Column Column Column column column
charakterisiert wird. dilation2 dilation2 Dilation2 Dilation2 Dilation2 dilation2 entspricht dem Operator
dilation1 dilation1 Dilation1 Dilation1 Dilation1 dilation1 mit dem Unterschied, dass der Bezugspunkt des
strukturierenden Elementes frei gewählt werden kann. Der Parameter
Iterations Iterations Iterations Iterations iterations iterations bezeichnet die Anzahl der Iterationen, die
mit dem strukturierenden Elemente ausgeführt werden sollen. Als
Eingaberegion für die Iteration n wird die Ergebnisregion der
Iteration (n-1) verwendet.
Bei Verwendung des leeren strukturierenden Elementes wird eine
leere Region erzeugt.
Strukturierende Elemente (StructElement StructElement StructElement StructElement structElement struct_element ) können mit
Operatoren wie gen_circle gen_circle GenCircle GenCircle GenCircle gen_circle , gen_rectangle1 gen_rectangle1 GenRectangle1 GenRectangle1 GenRectangle1 gen_rectangle1 ,
gen_rectangle2 gen_rectangle2 GenRectangle2 GenRectangle2 GenRectangle2 gen_rectangle2 , gen_ellipse gen_ellipse GenEllipse GenEllipse GenEllipse gen_ellipse ,
draw_region draw_region DrawRegion DrawRegion DrawRegion draw_region , gen_region_polygon gen_region_polygon GenRegionPolygon GenRegionPolygon GenRegionPolygon gen_region_polygon ,
gen_region_points gen_region_points GenRegionPoints GenRegionPoints GenRegionPoints gen_region_points , etc. erzeugt werden.
Achtung
Eine Dilatation führt grundsätzlich zu einer Vergrößerung der
Regionen. Eng benachbarte Regionen, die nach Ausführung des
Operators zusammenstoßen oder sich überlappen werden weiterhin als
zwei getrennte Regionen behandelt. Um eine Vereinigung zweier
Regionen zu erreichen muss zuerst ein union1 union1 Union1 Union1 Union1 union1
durchgeführt 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
Region Region Region Region region region (input_object) region(-array) → object HRegion HObject HRegion Hobject
Regionen die verarbeitet werden sollen.
StructElement StructElement StructElement StructElement structElement struct_element (input_object) region → object HRegion HObject HRegion Hobject
Strukturierendes Element für Dilation-Operation.
RegionDilation RegionDilation RegionDilation RegionDilation regionDilation region_dilation (output_object) region(-array) → object HRegion HObject HRegion Hobject *
Ergebnis der Dilation-Operation.
Row Row Row Row row row (input_control) point.y → HTuple int HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Zeile des Bezugspunktes.
Defaultwert: 0
Column Column Column Column column column (input_control) point.x → HTuple int HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Spalte des Bezugspunktes.
Defaultwert: 0
Iterations Iterations Iterations Iterations iterations iterations (input_control) integer → HTuple int HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Anzahl der Iterationen.
Defaultwert: 1
Wertevorschläge: 1, 2, 3, 4, 5, 7, 11, 17, 25, 32, 64, 128
Typischer Wertebereich: 1
≤
Iterations
Iterations
Iterations
Iterations
iterations
iterations
(lin)
Minimale Schrittweite: 1
Empfohlene Schrittweite: 1
Komplexität
Sei F1 die Fläche einer Eingaberegion und F2 die Fläche des
strukturierenden Elementes, dann ist die Laufzeitkomplexität für
ein Objekt:
Ergebnis
Bei korrekter Parametrisierung liefert die Funktion
dilation2 dilation2 Dilation2 Dilation2 Dilation2 dilation2 den Wert 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
threshold threshold Threshold Threshold Threshold threshold ,
regiongrowing regiongrowing Regiongrowing Regiongrowing Regiongrowing regiongrowing ,
connection connection Connection Connection Connection connection ,
union1 union1 Union1 Union1 Union1 union1 ,
watersheds watersheds Watersheds Watersheds Watersheds watersheds ,
class_ndim_norm class_ndim_norm ClassNdimNorm ClassNdimNorm ClassNdimNorm class_ndim_norm ,
gen_circle gen_circle GenCircle GenCircle GenCircle gen_circle ,
gen_ellipse gen_ellipse GenEllipse GenEllipse GenEllipse gen_ellipse ,
gen_rectangle1 gen_rectangle1 GenRectangle1 GenRectangle1 GenRectangle1 gen_rectangle1 ,
gen_rectangle2 gen_rectangle2 GenRectangle2 GenRectangle2 GenRectangle2 gen_rectangle2 ,
draw_region draw_region DrawRegion DrawRegion DrawRegion draw_region ,
gen_region_points gen_region_points GenRegionPoints GenRegionPoints GenRegionPoints gen_region_points ,
gen_region_polygon_filled gen_region_polygon_filled GenRegionPolygonFilled GenRegionPolygonFilled GenRegionPolygonFilled gen_region_polygon_filled
Nachfolger
reduce_domain reduce_domain ReduceDomain ReduceDomain ReduceDomain reduce_domain ,
add_channels add_channels AddChannels AddChannels AddChannels add_channels ,
select_shape select_shape SelectShape SelectShape SelectShape select_shape ,
area_center area_center AreaCenter AreaCenter AreaCenter area_center ,
connection connection Connection Connection Connection connection
Alternativen
minkowski_add1 minkowski_add1 MinkowskiAdd1 MinkowskiAdd1 MinkowskiAdd1 minkowski_add1 ,
minkowski_add2 minkowski_add2 MinkowskiAdd2 MinkowskiAdd2 MinkowskiAdd2 minkowski_add2 ,
dilation1 dilation1 Dilation1 Dilation1 Dilation1 dilation1
Siehe auch
erosion1 erosion1 Erosion1 Erosion1 Erosion1 erosion1 ,
erosion2 erosion2 Erosion2 Erosion2 Erosion2 erosion2 ,
opening opening Opening Opening Opening opening ,
closing closing Closing Closing Closing closing
Modul
Foundation