COLMAP Export does not honour registered image numbers [bug]

Steps to reproduce:

First import a stereoscopic video source file folder that has been previously segmented into a and output folder.

RS2 will perform a frame extraction for both video files and create 2 subfolders, in keeping with the original folder naming.

The contained images’ names start with ‘frame000001.pgn’…’frame000097.png’ in my case.

This is identical for both folders.

When running reconstruction, I do get 194 cams registered, the poses look fine and align well.

When trying to export in ‘COLMAP Text Format’ I get correct 194 cameras in the tameras.txt file, however there will only be 97 actual frames be exported to the destination folder because they contain identical file names.

I think the correct way should be to either recreate the original source file folder structure (/LEFT, /RIGHT,..) in the destination folder, or batch rename (_LEFT, _RIGHT) so that this does not occur.

Problem leads to errors when data is being used for 3DGS in external software.

cameras.txt (17.4 KB)

Hi @AVsupport , thanks for the report. Would you also be able to share the images with us so we can add them to the bug report?

In the meantime. Have you tried changing the Naming convention in the Export image settings?

Hi Jakub, thanks, will give this a go!

A have a folder with source files on my Google drive for you here

Initial conversion from dual fisheye (stereoscopic) to 2x square L/R was done with QoocamStudio (this now has a 3D180 option, and is free) :wink:

1 Like

Thank you @AVsupport . We’ll create a bug and send you a link where you can check out the progress.

1 Like