vampire.processing.align_contours¶
- vampire.processing.align_contours(contours, mean_contour)[source]¶
Returns aligned contours to their mean.
- Parameters
- contourslist[ndarray]
List of contour coordinates. List with length num_contours; ndarray with shape (2, num_points).
- mean_contourndarray
Mean of registered contours, with shape (2, num_points).
- Returns
- aligned_contours_flatndarray
Flattened aligned contours, with shape (num_contours, 2*num_points).
- mean_contour_flatndarray
Flattened mean contours, with size 2*num_points.
See also