how to find the end point of a contour
Hi All,
is there any function or way to find the end points of a contour ,i am able to find the contours in an image using the below code and in next step i need to get the start and end points for all of these contours
Imgproc.findContours(edges, contours, hierarchy, Imgproc.RETR_EXTERNAL, Imgproc.CHAIN_APPROX_SIMPLE);
Thanks
They are not stored as rings. How about the first and last points in each returned contour? What was your first thought? The start and end of a contour are almost meaningless as they could be placed at any two adjacent points.