updated for compressed cv::Mat data format

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@1938 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-10-28 19:59:19 +00:00
parent 52c6bd60eb
commit f122090620
7 changed files with 63 additions and 21 deletions
+2 -2
View File
@@ -107,8 +107,8 @@ public:
float cy = msg->nodes[i].cy;
//uncompress data
util3d::CompressionThread ctImage(&msg->nodes[i].image.bytes, true);
util3d::CompressionThread ctDepth(&msg->nodes[i].depth.bytes, true);
util3d::CompressionThread ctImage(compressedMatFromBytes(msg->nodes[i].image.bytes, false), true);
util3d::CompressionThread ctDepth(compressedMatFromBytes(msg->nodes[i].depth.bytes, false), true);
ctImage.start();
ctDepth.start();
ctImage.join();