split_contours_xldsplit_contours_xldSplitContoursXldSplitContoursXldSplitContoursXldsplit_contours_xld splits the contours which were used
to generate the polygons PolygonsPolygonsPolygonsPolygonspolygonspolygons at prominent points.
If the mode 'polygon'"polygon""polygon""polygon""polygon""polygon" is selected, the contours are split
at the polygons' control points. In mode 'dominant'"dominant""dominant""dominant""dominant""dominant", they
are split at dominant points, i.e., at points for which the
calculated change of direction is larger than the (empirically
determined) threshold , and for which
in the (empirically determined) neighborhood of
points
no larger change of direction occurs. The contour direction is
determined from the direction of the regression line (i.e., the
least-squares approximating line) through all points in a
neighborhood of SmoothSmoothSmoothSmoothsmoothsmooth points around a contour point.
The directions thus determined are smoothed with a Gaussian of width
SmoothSmoothSmoothSmoothsmoothsmooth. WeightWeightWeightWeightweightweight is a weighting factor for the
sensitiveness of the operator. The larger WeightWeightWeightWeightweightweight is
selected, the less dominant points are found.
Each polygon needs a reference to a contour. If the reference is missing,
because the polygon is e.g., read from a DXF-File, split_contours_xldsplit_contours_xldSplitContoursXldSplitContoursXldSplitContoursXldsplit_contours_xld
returns an error.
Execution Information
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).