Ask Your Question

Revision history [back]

decomposing Points

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?

click to hide/show revision 2
retagged

updated 2014-09-13 08:41:32 -0600

berak gravatar image

decomposing Points

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?