smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldsmooth_contours_xld (Operator)
Name
smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldsmooth_contours_xld — Glätten von XLD-Konturen.
Signatur
Beschreibung
smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldsmooth_contours_xld erzeugt aus den Konturen, die in
ContoursContoursContourscontourscontours übergeben werden, neue Konturen
SmoothedContoursSmoothedContoursSmoothedContourssmoothedContourssmoothed_contours, indem die Konturpunkte der
Ausgabekontur durch Projektion des entsprechenden Punktes der
Eingabekontur auf eine lokale Regressionsgerade berechnet
werden. Diese Gerade wird aus den NumRegrPointsNumRegrPointsNumRegrPointsnumRegrPointsnum_regr_points
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 → objectHXLDContHObjectHObjectHobject
Zu glättende Konturen.
SmoothedContoursSmoothedContoursSmoothedContourssmoothedContourssmoothed_contours (output_object) xld_cont-array → objectHXLDContHObjectHObjectHobject *
Geglättete Konturen.
NumRegrPointsNumRegrPointsNumRegrPointsnumRegrPointsnum_regr_points (input_control) integer → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Anzahl der für die Regressionsgerade
verwendeten Punkte.
Default:
5
Wertevorschläge:
3, 5, 7, 9
Restriktion:
NumRegrPoints >= 3 && odd(NumRegrPoints)
Vorgänger
gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldgen_contours_skeleton_xld,
lines_gausslines_gaussLinesGaussLinesGausslines_gauss,
lines_facetlines_facetLinesFacetLinesFacetlines_facet,
edges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPixedges_sub_pix
Nachfolger
affine_trans_contour_xldaffine_trans_contour_xldAffineTransContourXldAffineTransContourXldaffine_trans_contour_xld,
gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldgen_polygons_xld,
local_max_contours_xldlocal_max_contours_xldLocalMaxContoursXldLocalMaxContoursXldlocal_max_contours_xld
Siehe auch
get_contour_xldget_contour_xldGetContourXldGetContourXldget_contour_xld
Modul
Foundation