cv::WImagebuffer to cv::Mat conversion?? [closed]

asked 2014-10-06 11:26:41 -0500

Robot gravatar image

updated 2014-10-06 11:27:06 -0500

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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by tfoote
close date 2014-10-06 15:38:12.610043

Comments

You may get better results if you ask this on the OpenCV answers site

ahendrix gravatar image ahendrix  ( 2014-10-06 13:08:04 -0500 )edit