mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Calibration: added support for stereo IR cameras
This commit is contained in:
@@ -348,7 +348,8 @@ SensorData::SensorData(
|
||||
else if(!left.empty())
|
||||
{
|
||||
UASSERT(left.type() == CV_8UC1 || // Mono
|
||||
left.type() == CV_8UC3); // RGB
|
||||
left.type() == CV_8UC3 || // RGB
|
||||
left.type() == CV_16UC1); // IR
|
||||
_imageRaw = left;
|
||||
}
|
||||
if(right.rows == 1)
|
||||
@@ -358,7 +359,8 @@ SensorData::SensorData(
|
||||
}
|
||||
else if(!right.empty())
|
||||
{
|
||||
UASSERT(right.type() == CV_8UC1); // Mono
|
||||
UASSERT(right.type() == CV_8UC1 || // Mono
|
||||
right.type() == CV_16UC1); // IR
|
||||
_depthOrRightRaw = right;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user