cv::WImagebuffer to cv::Mat conversion??
In my code I receive one image file from a published topic. I convert it to the image using cv::Wimagebuffer. It can be displayed by command cvShowImage("view",image.Ipl()); (int h = *(&img->height); int w = *(&img->width); cv::WImageBuffer3b image(h,w);) now I want to do some image analysis regarding object tracking. Is is possible to convert that cv::WImagebuffer3b forma to cv::Mat format. In the analysis I am gonna need that image in cv::Mat format.
Asked by Robot on 2014-10-06 11:26:41 UTC
Comments
You may get better results if you ask this on the OpenCV answers site
Asked by ahendrix on 2014-10-06 13:08:04 UTC