mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-06 10:07:47 +08:00
Adding support for compressed input data and right color image. (#1463)
This commit is contained in:
@@ -365,7 +365,8 @@ void SensorData::setStereoImage(
|
||||
}
|
||||
else if(!right.empty())
|
||||
{
|
||||
UASSERT(right.type() == CV_8UC1); // Mono
|
||||
UASSERT(right.type() == CV_8UC1 || // Mono
|
||||
right.type() == CV_8UC3); // RGB
|
||||
_depthOrRightRaw = right;
|
||||
if(clearData)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user