Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

mat::push_back

Here i have some trouble with the method of Mat,which is Mat::push_back() I have two groups of float numbers,and i want to push_back them into a CV_32FC2 Mat. But i don't known how to push_back two float numbers into the CV_32FC2 Mat,and I want to get the data with Mat img.at(i,j)[0] and Mat img.at(i,j)[1],Could anybody help me?

mat::push_back

Here i have some trouble with the method of Mat,which is Mat::push_back() I have two groups of float numbers,and i want to push_back them into a CV_32FC2 Mat. But i don't known how to push_back two float numbers into the CV_32FC2 Mat,and I want to get the data with Mat img.at(i,j)[0] and Mat img.at(i,j)[1],Could anybody help me?