-
Notifications
You must be signed in to change notification settings - Fork 139
Added decompositions for focal lengths from F #102
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
Conversation
vlarsson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Maybe we should move decompositions to /misc/ ?
* bump version * add decompositions to README
|
I moved the files to misc and added a part about decompositions into the README, also bumped the version to 2.0.3. |
vlarsson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
| misc/essential.cc | ||
| misc/re3q3.cc | ||
| misc/colmap_models.cc | ||
| misc/decompositions.cc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: there are some extra spaces here, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, my IDE always adds those. Forgot to remove them after moving the files to misc/
Added decompositions as mentioned in #89
There are two methods:
focals_from_fundamentalusing Bougnoux formulafocals_from_fundamental_iterativeusing our recent iterative methodBoth also have python bindings.
They both return two Camera structs. The iterative method also takes the prior camera info as the Camera struct and also outputs the number of iterations. The baseline method takes as input also the principal points of the two cameras.
I tested them on Phototourism with SP+SG matches:

And the same setup on Aachen Day-Night v1.1:
