I’m working with a custom dataset and I’m encountering a specific issue when exporting data from Reality Scan.
I’ve successfully imported my images along with their externally generated masks (not created within RC). The masks are correctly named and placed in the image directory, and the sparse point cloud alignment works perfectly.
When I export the sparse point cloud using the Colmap format, Reality Scan correctly exports the undistorted version of my images. However, it does not export the undistorted version of the masks.
I tried changing the export settings in the GUI to “export masks” instead of “export images,” but that didn’t work and resulted in an export failure. My goal is to export both the undistorted images and their corresponding undistorted masks.
Has anyone faced this issue or found a way to force the export of both? Is there a specific setting in the CLI or GUI that I might be missing?
For exporting the undistorted masks, you have to use a different exporter. Go to the SCENE 30 TOOLS tab a use Export Depth and Masks.
[Image Removed]
In the export settings, make sure your image undistortion settings match the settings, that you used when exporting Colmap. That way, the exported masks will match the undistorted images exported with Colmap.
[Image Removed]
For CLI, you would have to use the
-exportRegistration for exporting Colmap
-exportDepthAndMask for exporting the masks
You will need XML config files as optional parameters for the commands to work properly.
@JakubVanko The person reporting this issue is correct- there’s a bug when exporting images via the colmap text format export option. If ‘Export masks’ is selected from the export image dropdown, it will fail saying the drive/volume name is incorrect. To add further to the bug, if ‘export images’ is selected as ‘no’, but in the (hidden) submenu you had ‘Export masks’, selected, the exporter will still fail.
The reason this is an issue is when using the new ‘Mask Images’ feature before aligning, the masks have the cameras distortion. When exporting via 'the ‘Workflow → Process → Mask Images → Export Masks’, you get the distorted masks. When exporting via COLMAP, you get the undistorted images.
There’s no way to get the undistorted versions of the masks.
Exporting depth & masks refers to masks calculated from the mesh, not the new AI masking functionality.