mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 10:00:23 +08:00
Added librealsense support #100
This commit is contained in:
@@ -745,11 +745,10 @@ void ImageView::setImageDepth(const QImage & imageDepth)
|
||||
_image.width() > _imageDepth.width() &&
|
||||
_image.height() > _imageDepth.height() &&
|
||||
_image.width() % _imageDepth.width() == 0 &&
|
||||
_image.height() % _imageDepth.height() == 0 &&
|
||||
_image.width() / _imageDepth.width() == _image.height() / _imageDepth.height())
|
||||
_image.height() % _imageDepth.height() == 0)
|
||||
{
|
||||
// scale depth to rgb
|
||||
_imageDepth = _imageDepth.scaledToWidth(_image.width());
|
||||
_imageDepth = _imageDepth.scaled(_image.size());
|
||||
}
|
||||
|
||||
if(_graphicsView->isVisible())
|
||||
|
||||
Reference in New Issue
Block a user