Exporting Undistorted Masks with Colmap Sparse Point Cloud

Hello everyone,

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?

Any help would be greatly appreciated.

Hello Victor,

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.

Please let me know if this works for you.

Best regards,

Jakub