Skip to content

Relative landmarks Support #1859

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

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from
Draft

Conversation

servantftransperfect
Copy link
Contributor

@servantftransperfect servantftransperfect commented Apr 30, 2025

  • Functions to create cost functions were in the BundleAdjustmentCeres.cpp as local functions. Moved to their respective cost function struct as static factory methods (Reason: code lisibility).

  • A new Cost Function to constraint the depth of a point to a given value is added

  • A new parameter to landmarks is added "referenceViewId". For a landmark, if this parameter is not UndefinedIndexT, this is considered as the reference view index for this landmark. In this case, the landmark coordinates will be considered to be relative to the reference view geometric frame.

  • If a landmark is relative, then its coordinates are stored as [X/Z, Y/Z, 1.0/Z] to improve convergence of bundle adjustment.

  • Similarity3D class is removed as it is never used in the code base.

@servantftransperfect servantftransperfect marked this pull request as draft May 12, 2025 11:31
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.

1 participant