Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add methods to convert SE3 to/from the rvec, tvec format used by OpenCV #157

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

Merged
myeatman-bdai merged 1 commit into bdaiinstitute:master from petercorke:new-rtvec
Jan 26, 2025

Conversation

@petercorke
Copy link
Collaborator

@petercorke petercorke commented Jan 19, 2025

OpenCV represents poses by a pair of 3-vectors: rvec (exponential coordinates) and tvec (translation). Two new methods: construct an SE3 from rvec, tvec, and convert SE3 to rvec, tvec.

Tests and doco included.

:return: rotation and translation vectors
:rtype: ndarray(3), ndarray(3)
Many OpenCV functions accept pose as two 3-vectors: a rotation vector using
Copy link
Collaborator

@myeatman-bdai myeatman-bdai Jan 22, 2025

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

@petercorke petercorke Jan 22, 2025

Choose a reason for hiding this comment

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

More for something like pose estimation or camera projection.

Copy link
Collaborator

@myeatman-bdai myeatman-bdai left a comment

Choose a reason for hiding this comment

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

👍

@myeatman-bdai myeatman-bdai merged commit 8c6d422 into bdaiinstitute:master Jan 26, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@myeatman-bdai myeatman-bdai myeatman-bdai approved these changes

@jhavl jhavl Awaiting requested review from jhavl jhavl is a code owner

Assignees

No one assigned

Labels

enhancement New feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /