mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
CloudViewer: added backface culling option on right-click menu. MainWindow: removed error msg on wrong decimation (util3d already handle this case)
This commit is contained in:
@@ -993,16 +993,6 @@ pcl::PointCloud<pcl::PointXYZRGB>::Ptr RTABMAP_EXP cloudRGBFromSensorData(
|
||||
int subRGBWidth = sensorData.imageRaw().cols/sensorData.cameraModels().size();
|
||||
int subDepthWidth = sensorData.depthRaw().cols/sensorData.cameraModels().size();
|
||||
|
||||
if(subRGBWidth % decimation != 0 || subDepthWidth % decimation != 0)
|
||||
{
|
||||
UWARN("Image size (rgb=%d,%d depth=%d,%d) modulus decimation (%d) is not null "
|
||||
"for the cloud creation! Setting decimation to 1...",
|
||||
subRGBWidth, sensorData.imageRaw().rows,
|
||||
subDepthWidth, sensorData.depthRaw().rows,
|
||||
decimation);
|
||||
decimation = 1;
|
||||
}
|
||||
|
||||
for(unsigned int i=0; i<sensorData.cameraModels().size(); ++i)
|
||||
{
|
||||
if(sensorData.cameraModels()[i].isValidForProjection())
|
||||
|
||||
Reference in New Issue
Block a user