cv::WImagebuffer to cv::Mat conversion?? [closed]
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::WImageBuffer3_b image(h,w);) now I want to do some image analysis regarding object tracking. Is is possible to convert that cv::WImagebuffer3_b forma to cv::Mat format. In the analysis I am gonna need that image in cv::Mat format.
You may get better results if you ask this on the OpenCV answers site