Skip to content

Fix issue 65 - #102

Open
sruggier wants to merge 2 commits into
nv-tlabs:mainfrom
sruggier:pr/fix-issue-65-vipe-to-colmap
Open

Fix issue 65#102
sruggier wants to merge 2 commits into
nv-tlabs:mainfrom
sruggier:pr/fix-issue-65-vipe-to-colmap

Conversation

@sruggier

Copy link
Copy Markdown

Previously, it was only possible to import the output into older
versions of COLMAP, because newer versions are stricter about
consistency between 3D and 2D point definitions. This also affected
tools that were parsing input using PyCOLMAP, which uses the same
implementation.

This commit improves conformance in the following ways:

  • invalid 2D point references are no longer emitted with the 3D points
  • the emitted image paths are relative to the image directory
  • the text files are placed under a sparse/0 subdirectory

A note is also added to explain how to re-enable rendering of the
emitted points in COLMAP, now that they no longer have a minimum track
length of 3.

These changes make it possible to import the data into the latest
versions of COLMAP, as well as other tools that expect a similar format,
like gsplat.

Fixes #65.

This mainly fixes lint warnings and potentially improves behaviour in a
corner case.
Previously, it was only possible to import the output into older
versions of COLMAP, because newer versions are stricter about
consistency between 3D and 2D point definitions. This also affected
tools that were parsing input using PyCOLMAP, which uses the same
implementation.

This commit improves conformance in the following ways:
* invalid 2D point references are no longer emitted with the 3D points
* the emitted image paths are relative to the image directory
* the text files are placed under a sparse/0 subdirectory

A note is also added to explain how to re-enable rendering of the
emitted points in COLMAP, now that they no longer have a minimum track
length of 3.

These changes make it possible to import the data into the latest
versions of COLMAP, as well as other tools that expect a similar format,
like gsplat.

Fixes nv-tlabs#65.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vipe_to_colmap COLMAP export does not follow standard directory structure and lacks required POINTS2D entries

1 participant