First time here? Check out the FAQ!
answered 2013-04-02 04:47:32 -0600
Hi! You can do it with Vec2f:
Vec2f
Vec2f pair = Vec2f(firstFloat, secondFloat); // dst is a CV_32FC Mat dst.push_back(pair);
For access use:
dst.at<Vec2f>(rowId)[0]