Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Browsing latest articles
Browse All 2 View Live

Answer by Daniil Osokin for Here i have some trouble with the method of...

Hi! You can do it with `Vec2f`: Vec2f pair = Vec2f(firstFloat, secondFloat); // dst is a CV_32FC Mat dst.push_back(pair); For access use: dst.at<Vec2f>(rowId)[0] Also, check this answer ["Working...

View Article



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...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images