Convert MatOfPoint to Point
I have a List<matofpoint> and I need to convert it to List<point>, is there a direct method to do so?
I have a List<matofpoint> and I need to convert it to List<point>, is there a direct method to do so?
Asked: 2018-04-12 09:49:41 -0600
Seen: 1,290 times
Last updated: Apr 12 '18
homography for cordinates of poins
How to efficiently filter out points geometrically close to each other?
How to pass points to minAreaRect using Java Bindings
What is the meaning of cv::Point::cross()?
Which other values does the anchor point in blur function take?
no, there isn't
but your
List<MatOfPoint>
is actually equivalent to aList<List<Point>>
(a 2d array) , so what are you trying to do here, exactly ?btw, MatOfPoint has a toArray() method
I'm trying to get the position (x,y) of all the points in a certain contour