Processing#

sample_contours(contours[, n_points])

Returns sampled contours using B-spline.

sample_contour(contour, n_sample_pts)

Returns sample points of contour using B-spline.

register_contours(contours)

Returns registered contours to their principal components.

register_contour(contour)

Returns registered contour to its principal component.

get_mean_registered_contour(registered_contours)

Compute mean of registered contours.

align_contours(contours, mean_contour)

Returns aligned contours to their mean.

align_contour(contour, mean_contour)

Aligns one contour to the mean of the set of contours.

get_mean_aligned_contour(aligned_contours_flat)

Compute mean of aligned contours.