thinning thinning Thinning Thinning thinning (Operator)
Name
thinning thinning Thinning Thinning thinning — Verdünnen einer Region um das Ergebnis von Hit-or-Miss.
Warnung
thinning thinning Thinning Thinning Thinning thinning ist veraltet und wird nur aus Gründen
der Rückwärtskompatibilität zur Verfügung gestellt.
Signatur
Herror thinning (const Hobject Region , const Hobject StructElement1 , const Hobject StructElement2 , Hobject* RegionThin , const Hlong Row , const Hlong Column , const Hlong Iterations )
Herror T_thinning (const Hobject Region , const Hobject StructElement1 , const Hobject StructElement2 , Hobject* RegionThin , const Htuple Row , const Htuple Column , const Htuple Iterations )
void Thinning (const HObject& Region , const HObject& StructElement1 , const HObject& StructElement2 , HObject* RegionThin , const HTuple& Row , const HTuple& Column , const HTuple& Iterations )
HRegion HRegion ::Thinning (const HRegion& StructElement1 , const HRegion& StructElement2 , Hlong Row , Hlong Column , Hlong Iterations ) const
static void HOperatorSet .Thinning (HObject region , HObject structElement1 , HObject structElement2 , out HObject regionThin , HTuple row , HTuple column , HTuple iterations )
HRegion HRegion .Thinning (HRegion structElement1 , HRegion structElement2 , int row , int column , int iterations )
Beschreibung
thinning thinning Thinning Thinning Thinning thinning berechnet die Verdünnung der Eingaberegionen
mit morphologischen Operationen. Dazu führt der Operator eine
Hit-or-Miss-Transformation (vgl. hit_or_miss hit_or_miss HitOrMiss HitOrMiss HitOrMiss hit_or_miss ) durch und
entfernt die dabei gefundenen Punkte aus den Eingaberegionen. Der
Parameter Iterations Iterations Iterations Iterations iterations iterations bestimmt die Anzahl der Iterationen,
die durchgeführt werden.
Für die Wahl der strukturierende Elemente StructElement1 StructElement1 StructElement1 StructElement1 structElement1 struct_element_1
und StructElement2 StructElement2 StructElement2 StructElement2 structElement2 struct_element_2 sowie für Row Row Row Row row row und
Column Column Column Column column column gelten dieselben Empfehlungen wie bei
hit_or_miss hit_or_miss HitOrMiss HitOrMiss HitOrMiss hit_or_miss .
Strukturierende Elemente (StructElement1 StructElement1 StructElement1 StructElement1 structElement1 struct_element_1 ,
StructElement2 StructElement2 StructElement2 StructElement2 structElement2 struct_element_2 ) 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.
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.
StructElement1 StructElement1 StructElement1 StructElement1 structElement1 struct_element_1 (input_object) region → object HRegion HObject HRegion Hobject
Strukturierendes Element für den Vordergrund
StructElement2 StructElement2 StructElement2 StructElement2 structElement2 struct_element_2 (input_object) region → object HRegion HObject HRegion Hobject
Strukturierendes Element für den Hintergrund
RegionThin RegionThin RegionThin RegionThin regionThin region_thin (output_object) region(-array) → object HRegion HObject HRegion Hobject *
Das Ergebnis des Thinning-Operators.
Row Row Row Row row row (input_control) point.y → HTuple int HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Zeile des Bezugspunkts.
Defaultwert: 0
Typischer Wertebereich: 0
≤
Row
Row
Row
Row
row
row
≤
511 (lin)
Minimale Schrittweite: 1
Empfohlene Schrittweite: 1
Column Column Column Column column column (input_control) point.x → HTuple int HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Spalte des Bezugspunkts.
Defaultwert: 0
Typischer Wertebereich: 0
≤
Column
Column
Column
Column
column
column
≤
511 (lin)
Minimale Schrittweite: 1
Empfohlene Schrittweite: 1
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, 6, 7, 8, 9, 10, 12, 15, 17, 20, 30, 40, 50
Typischer Wertebereich: 1
≤
Iterations
Iterations
Iterations
Iterations
iterations
iterations
(lin)
Minimale Schrittweite: 1
Empfohlene Schrittweite: 1
Komplexität
Sei F die Fläche einer Eingaberegion, F1 die Fläche des
strukturierenden Elementes 1 und F2 die Fläche der des
strukturierenden Elementes 2, dann ist die Laufzeitkomplexität für
ein Objekt:
Ergebnis
Bei korrekter Parametrisierung liefert die Funktion
thinning thinning Thinning Thinning Thinning thinning 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 ,
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
thinning_golay thinning_golay ThinningGolay ThinningGolay ThinningGolay thinning_golay ,
thinning_seq thinning_seq ThinningSeq ThinningSeq ThinningSeq thinning_seq
Siehe auch
hit_or_miss hit_or_miss HitOrMiss HitOrMiss HitOrMiss hit_or_miss
Modul
Foundation