Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[software] Add colmap exporter #1184

Merged
merged 3 commits into from
Sep 27, 2022
Merged

[software] Add colmap exporter #1184

merged 3 commits into from
Sep 27, 2022

Conversation

simogasp
Copy link
Member

@simogasp simogasp commented Jul 8, 2022

Description

Add the exporter to Colmap to convert an AV SfMData into Colmap's format with the relevant folder structure and the txt files for the scene representation.

Features list

  • helper functions to extract and convert the scene
  • helper functions to test the compatibility of intrinsics
  • unit tests
  • software to perform the conversion

Implementation remarks

  • Since not all the intrinsic types are compatible between the two libraries, the choice has been made to export only those that are compatible and remove the others from the scene.
  • An option is added to copy or not the source images into the Colmap destination folder. This enables the user to skip the copy if all the (many) images are in the same folder: since the first step of Colmap's MVS processing is to remove the optical distortion, that command can be run directly on the source folder without an explicit copy.

@simogasp simogasp added this to the 2.5.0 milestone Jul 8, 2022
@fabiencastan fabiencastan merged commit 3d98057 into develop Sep 27, 2022
@fabiencastan fabiencastan deleted the dev/colmap_exporter branch September 27, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants