smooth_contours_xldπ
Short descriptionπ
smooth_contours_xld β Smooth an XLD contour.
Signatureπ
smooth_contours_xld( xld_cont Contours, out xld_cont SmoothedContours, integer NumRegrPoints )
Descriptionπ
smooth_contours_xld smooths the input XLD contours
Contours and returns the smoothed contours in
SmoothedContours. The smoothing is done by projecting
the contoursβ points onto a local regression line (i.e., a
least-squares approximating line), which is computed from
NumRegrPoints on each side of the current contour point.
This operator should be called, for example, before contours are
scaled.
Execution informationπ
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parametersπ
Contours (input_object) xld_cont-array β object
Contour to be smoothed.
SmoothedContours (output_object) xld_cont-array β object
Smoothed contour.
NumRegrPoints (input_control) integer β (integer)
Number of points used to calculate the regression line.
Default: 5
Suggested values: 3, 5, 7, 9
Restriction: NumRegrPoints >= 3 && odd(NumRegrPoints)
Combinations with other operatorsπ
Combinations
Possible predecessors
gen_contours_skeleton_xld, lines_gauss, lines_facet, edges_sub_pix
Possible successors
affine_trans_contour_xld, gen_polygons_xld, local_max_contours_xld
See also
Moduleπ
Foundation