I have a vector of Point2f and I would like to work with the x and y values separately. Is there an easy way to change something like vector<point2f> into a Mat with the x and y as separate columns?
1 | initial version |
I have a vector of Point2f and I would like to work with the x and y values separately. Is there an easy way to change something like vector<point2f> into a Mat with the x and y as separate columns?
2 | retagged |
I have a vector of Point2f and I would like to work with the x and y values separately. Is there an easy way to change something like vector<point2f> into a Mat with the x and y as separate columns?