build map with mobile data but out of shape easily
I modified logic base /rtabmap/tools/CameraRGBD/main.cpp. This program read one rgb picture and depth picture from mobile phone at the same time instead of RGBD camera. We struggle with some problems.
(1) The clound is out of shape easily, when amplifying or reducing
(2) depth image is repeated by piece
Is there something wrong with CameraModel or other cause? many thanks in advance.
Re: build map with mobile data but out of shape easily
RTAB-Map assumes that 16UC1 format is in mm and that 32FC1 format is in meters. JPG may generate many depth artifacts, use PNG instead. Examples of depth images can be found on the RGBD-SLAM datasets site.
There is also a code example on how depth images are loaded in rtabmap, see here.