Generate a XLD contour with rounded corners from a polygon (given as tuples).
gen_contour_polygon_rounded_xld generates an XLD contour Contour with rounded corners from a polygon given in the tuples Row and Col. The rounded corners are created in form of arcs defined by Radius. For every specified point of the polygon there must be a corresponding rounding radius defined. In case of a closed polygon the first and the last point have to be defined identical with the radii of these points being equal. In contrast, the radii of the first and last point of open polygons are ignored. Finally, the SamplingInterval parameter defines the distance of the control points of the formed contour Contour.
|
Contour (output_object) |
xld_cont -> object |
| Resulting contour. | |
|
Row (input_control) |
number-array -> real / integer |
| Row coordinates of the polygon. | |
| Default value: '[20,80,80,20,20]' | |
| Suggested values: 0, 1, 2, 3, 4, 5, 10, 20, 50, 100, 200, 500 | |
|
Col (input_control) |
number-array -> real / integer |
| Column coordinates of the polygon. | |
| Default value: '[20,20,80,80,20]' | |
| Suggested values: 0, 1, 2, 3, 4, 5, 10, 20, 50, 100, 200, 500 | |
|
Radius (input_control) |
number-array -> real / integer |
| Radii of the rounded corners. | |
| Default value: '[20,20,20,20,20]' | |
| Suggested values: 0, 1, 2, 5, 10, 20, 50 | |
|
SamplingInterval (input_control) |
number -> real / integer |
| Distance of the samples. | |
| Default value: 1.0 | |
| Suggested values: 0.5, 1.0, 2.0, 5.0 | |
gen_contour_polygon_rounded_xld is reentrant and processed without parallelization.
smooth_contours_xld, gen_polygons_xld
gen_contour_polygon_xld, gen_contours_skeleton_xld
Sub-pixel operators