smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXld (Operator)
Name
smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXld
— Glätten von XLD-Konturen.
Signatur
Beschreibung
smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldSmoothContoursXld
erzeugt aus den Konturen, die in
ContoursContoursContoursContourscontours
übergeben werden, neue Konturen
SmoothedContoursSmoothedContoursSmoothedContoursSmoothedContourssmoothedContours
, indem die Konturpunkte der
Ausgabekontur durch Projektion des entsprechenden Punktes der
Eingabekontur auf eine lokale Regressionsgerade berechnet
werden. Diese Gerade wird aus den NumRegrPointsNumRegrPointsNumRegrPointsNumRegrPointsnumRegrPoints
benachbarten Punkten des jeweils aktuellen Punktes berechnet. Diese
Funktion sollte z.B. aufgerufen werden, bevor Konturen skaliert
werden.
Ausführungsinformationen
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Parameter
ContoursContoursContoursContourscontours
(input_object) xld_cont-array →
objectHXLDContHXLDContHobject
Zu glättende Konturen.
SmoothedContoursSmoothedContoursSmoothedContoursSmoothedContourssmoothedContours
(output_object) xld_cont-array →
objectHXLDContHXLDContHobject *
Geglättete Konturen.
NumRegrPointsNumRegrPointsNumRegrPointsNumRegrPointsnumRegrPoints
(input_control) integer →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Anzahl der für die Regressionsgerade
verwendeten Punkte.
Defaultwert: 5
Wertevorschläge: 3, 5, 7, 9
Restriktion: NumRegrPoints >= 3 && odd(NumRegrPoints)
Vorgänger
gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldGenContoursSkeletonXld
,
lines_gausslines_gaussLinesGaussLinesGaussLinesGauss
,
lines_facetlines_facetLinesFacetLinesFacetLinesFacet
,
edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixEdgesSubPix
Nachfolger
affine_trans_contour_xldaffine_trans_contour_xldAffineTransContourXldAffineTransContourXldAffineTransContourXld
,
gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXld
,
local_max_contours_xldlocal_max_contours_xldLocalMaxContoursXldLocalMaxContoursXldLocalMaxContoursXld
Siehe auch
get_contour_xldget_contour_xldGetContourXldGetContourXldGetContourXld
Modul
Foundation