Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@B1ueber2y
Copy link
Contributor

With the new abstraction of rigs and frames, at Reconstruction::TearDown(), the removal of cameras should correspond to the removal of rigs. Otherwise the reconstruction object will be broken after TearDown().

In practice, This PR that only fixes corner cases when no associated images are available for a camera in the rig.

@B1ueber2y B1ueber2y changed the title Fix broken logic of removing cameras for Reconstruction::TearDown. Fix broken logic of removing cameras at Reconstruction::TearDown(). Sep 17, 2025
Copy link
Contributor

@ahojnnes ahojnnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix.

@B1ueber2y B1ueber2y enabled auto-merge (squash) September 22, 2025 11:52
@B1ueber2y B1ueber2y merged commit 3a808c8 into colmap:main Sep 22, 2025
13 checks passed
@B1ueber2y B1ueber2y deleted the fix/teardown branch September 22, 2025 16:16
Dawars pushed a commit to Dawars/colmap that referenced this pull request Dec 8, 2025
…olmap#3634)

With the new abstraction of rigs and frames, at
``Reconstruction::TearDown()``, the removal of cameras should correspond
to the removal of rigs. Otherwise the reconstruction object will be
broken after TearDown().

In practice, This PR only fixes corner cases when no associated
images are available for a camera in the rig.

(cherry picked from commit 3a808c8)
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.

2 participants