smooth_cont_xld ( Contours : SmoothedContours : NumRegrPoints : )

Smooth an XLD contour.

smooth_cont_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 evample, before contours are scaled.


Parameters

Contours (input_object)
xld_cont-array -> object
Zu glättende Konturen.

SmoothedContours (output_object)
xld_cont-array -> object
Geglättete Konturen.

NumRegrPoints (input_control)
integer -> integer
Anzahl der für die Regressionsgerade verwendeten Punkte.
Default value: 5
Suggested values: 3, 5, 7, 9
Restriction: (NumRegrPoints >= 3) && odd(NumRegrPoints)


Possible Predecessors

gen_contour_xld, gen_contour2_xld, lines_gauss, lines_facet, edges_sub_pix


Possible Successors

scale_cont_xld, poly_xld, local_max_cont_xld


See also

get_contour_xld



Copyright © 1996-1997 MVTec Software GmbH