vampire.extraction.extract_contour_from_object#

vampire.extraction.extract_contour_from_object(object_img)[source]#

Returns x and y coordinates of the object contour.

Parameters:
object_imgndarray

2D binary image with only one object.

Returns:
contourndarray

x and y coordinates of n contour sample points, with shape (2, n)