ImageView: added depth colormap menu option

This commit is contained in:
matlabbe
2018-08-17 15:28:23 -04:00
parent 67aa4cd28e
commit 3ce6de573d
9 changed files with 118 additions and 29 deletions

View File

@@ -136,7 +136,7 @@ void CameraViewer::showImage(const rtabmap::SensorData & data)
}
if(!data.depthOrRightRaw().empty())
{
imageView_->setImageDepth(uCvMat2QImage(util2d::decimate(data.depthOrRightRaw(), validDecimationValue_)));
imageView_->setImageDepth(util2d::decimate(data.depthOrRightRaw(), validDecimationValue_));
}
if(!data.depthOrRightRaw().empty() &&