vampire.processing.sample_contours#
- vampire.processing.sample_contours(contours, n_points=50)[source]#
Returns sampled contours using B-spline.
- Parameters:
- contourslist[ndarray]
List of contour coordinates, list with length n_contours, ndarray with shape (2, n_points).
- n_pointsint, optional
Number of sample points of object contour. Defaults to 50.
- Returns:
- sampled_contourslist[ndarray]
Sampled contours, list with length n_contours, ndarray with shape (2, n_points).
See also