vampire.processing.register_contours

vampire.processing.register_contours(contours)[source]

Returns registered contours to their principal components.

Parameters
contourslist[ndarray]

List of contour coordinates, list with length num_contours, ndarray with shape (2, num_points).

Returns
registered_contourslist[ndarray]

Registered contours, list with length num_contours, ndarray with shape (2, num_points).

mean_contourndarray

Mean of registered contours, with shape (2, num_points).

See also

register_contour