From 717e82c09e372aae909507e3e02220da8b1f9ad9 Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 1 Sep 2016 19:22:04 -0400 Subject: [PATCH] fixed typos --- corelib/src/util3d.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/corelib/src/util3d.cpp b/corelib/src/util3d.cpp index b1fe9356..52b5f5cf 100644 --- a/corelib/src/util3d.cpp +++ b/corelib/src/util3d.cpp @@ -872,8 +872,8 @@ pcl::PointCloud::Ptr RTABMAP_EXP cloudRGBFromSensorData( { if(sensorData.cameraModels()[i].isValidForProjection()) { - cv::Mat depth(sensorData.imageRaw(), cv::Rect(subRGBWidth*i, 0, subRGBWidth, sensorData.imageRaw().rows)); - cv::Mat rgb(sensorData.depthRaw(), cv::Rect(subDepthWidth*i, 0, subDepthWidth, sensorData.depthRaw().rows)); + cv::Mat rgb(sensorData.imageRaw(), cv::Rect(subRGBWidth*i, 0, subRGBWidth, sensorData.imageRaw().rows)); + cv::Mat depth(sensorData.depthRaw(), cv::Rect(subDepthWidth*i, 0, subDepthWidth, sensorData.depthRaw().rows)); CameraModel model = sensorData.cameraModels()[i]; if( roiRatios.size() == 4 && (roiRatios[0] > 0.0f || @@ -910,8 +910,8 @@ pcl::PointCloud::Ptr RTABMAP_EXP cloudRGBFromSensorData( } pcl::PointCloud::Ptr tmp = util3d::cloudFromDepthRGB( - depth, rgb, + depth, model, decimation, maxDepth,