You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I applied your method in my scenario, I enabled clear_foreign_voxels: true due to segmentation errors in some complex scenes. This setting helped remove many outliers from the mesh, as shown in this example (see attached image for details, it generate a clean wall where most of the spurious voxels are cleared):
However, after saving and then loading the .panmap file, the outliers reappeared in the mesh (see the attached image).
Upon reviewing the code, I noticed the following:
When clear_foreign_voxels: true, only the mesh generation process removes outliers based on the class layer. Other layers, such as the TSDF layers, remain unchanged. This can be observed in this part of the code: Relevant code snippet
During a subsequent run, when loading the saved map, the previously initialized class layer seems to be ignored in the mesh generation process, as seen here: Relevant code snippet
As a result, the mesh still contains outliers after loading the map.
To address this issue, I have two questions:
How can I update the other layers (e.g., TSDF layer or TSDF blocks) when outliers are removed using the clear_foreign_voxels option?
How can I ensure the initialized class layer is used during mesh generation after loading the map?
If there are alternative approaches or recommendations, I’d be happy to hear your suggestions.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered:
Hi @Schmluk,
Thanks for your great work!
When I applied your method in my scenario, I enabled
clear_foreign_voxels: true
due to segmentation errors in some complex scenes. This setting helped remove many outliers from the mesh, as shown in this example (see attached image for details, it generate a clean wall where most of the spurious voxels are cleared):However, after saving and then loading the
.panmap
file, the outliers reappeared in the mesh (see the attached image).Upon reviewing the code, I noticed the following:
When
clear_foreign_voxels: true
, only the mesh generation process removes outliers based on the class layer. Other layers, such as the TSDF layers, remain unchanged. This can be observed in this part of the code:Relevant code snippet
During a subsequent run, when loading the saved map, the previously initialized class layer seems to be ignored in the mesh generation process, as seen here:
Relevant code snippet
As a result, the mesh still contains outliers after loading the map.
To address this issue, I have two questions:
clear_foreign_voxels
option?If there are alternative approaches or recommendations, I’d be happy to hear your suggestions.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: