Skip to content

Conversation

@kocurvik
Copy link
Contributor

@kocurvik kocurvik commented Jul 26, 2024

Added decompositions as mentioned in #89

There are two methods:

Both 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:
together_phototourism_f

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

Copy link
Collaborator

@vlarsson vlarsson left a 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
@kocurvik
Copy link
Contributor Author

I moved the files to misc and added a part about decompositions into the README, also bumped the version to 2.0.3.

Copy link
Collaborator

@vlarsson vlarsson left a 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!

@vlarsson vlarsson merged commit 90f47ff into PoseLib:master Jul 29, 2024
misc/essential.cc
misc/re3q3.cc
misc/colmap_models.cc
misc/decompositions.cc
Copy link
Collaborator

@pablospe pablospe Jul 29, 2024

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?

Copy link
Contributor Author

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/

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.

3 participants