Closed nirmalsnair closed 3 months ago
You would have to change the code here: https://github.com/introlab/rtabmap/blob/08a44ec44f2cc9c68c64bd3e7a75bbcaeb71fa38/tools/Export/main.cpp#L1798-L1805 and change it for gp3 following that tutorial for example: https://pcl.readthedocs.io/projects/tutorials/en/latest/greedy_projection.html#greedy-triangulation
For Organized
, that would be more difficult to do, but not sure this is an useful reconstruction though. Organized
creates meshes independently for each image, it doesn't create mesh on the merged cloud like Poisson and GP3.
To increase speed of Poisson, you can lower the resolution with --poisson_depth
(set to 8 or 9)
Thanks @matlabbe, will try to modify the code to make Fast GP3
available via CLI.
Organized creates meshes independently for each image, it doesn't create mesh on the merged cloud like Poisson and GP3.
On my test data, Organized
is generating a single mesh just like the other two methods.
Poisson
Fast GP3
Organized
Organized generates one file, but some polygons taken from different cameras may overlap. For example, when two cameras overlap, you would see two surfaces overlapping when zooming in. With Poisson, only one surface would be generated (like an average of the two surfaces).
Understood, thanks for the clarification.
On a different note, I've noticed that during the mesh export, the GPU usage remains almost zero, even when using the RTAB-Map CUDA version (RTABMap-0.21.4-win64-cuda117.exe). Is this typical? Is there a way to utilize the GPU to speed up the mesh export?
The cuda version doesn't convert the whole code to cuda, only some parts of it and there is always an explicit parameter attached to (e.g. some visual features can be computed on gpu). If you use a ZED camera, it is better to use cuda version (rectification/depth computed on gpu).
We are using the iOS app to capture data without any issues. On the PC, we only perform mesh export and are curious why the GPU is not utilized at all.
Under the hood, we use PCL mesh reconstruction, which is running on CPU.
Hi @matlabbe, Is it possible to use the
Fast GP3
orOrganized
surface reconstruction methods instead ofPoisson
via command line? In my tests, I foundPoisson
(55s) to be much slower compared toFast GP3
(20s) andOrganized
(15s).