Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8697029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:24:58+00:00 2026-06-13T01:24:58+00:00

I am useing solvePnP and i am getting a translation vector. Now i need

  • 0

I am useing solvePnP and i am getting a translation vector.
Now i need to compare some euler angles with those results from solvePnP.
And i want/need to transfer the euler angles into “rodrigues”;

Is the translation vector from solvePnP equal to euler angles.
Is the translation matrix the only thing what has to do with Rodrigues?
or are there special rodrigues angles which are totaly different to the 3 euler angles?
How is the math between both?
Is there an OpenCV function which i couldn’t find?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T01:25:00+00:00Added an answer on June 13, 2026 at 1:25 am

    First, forget about translation vector, because it is not related with rotation: translation moves things around, rotation changes their orientation.

    Rodrigues parameters are also called axis-angle rotation. They are formed by 4 numbers [theta, x, y, z], which means that you have to rotate an angle "theta" around the axis described by unit vector v=[x, y, z].
    Looking at cv::Rodrigues function reference, it seems that OpenCV uses a "compact" representation of Rodrigues notation as vector with 3 elements rod2=[a, b, c], where:

    • Angle to rotate theta is the module of input vector theta = sqrt(a^2 + b^2 + c^2)
    • Rotation axis v is the normalized input vector: v = rod2/theta = [a/theta, b/theta, c/theta]

    So, Rodrigues vector from solvePnP is not even slightly related with Euler angles notation, which represent three consecutive rotations around a combination of X, Y and Z axes.

    How to compare both rotations? This is a good question. Both Euler- and Rodrigues- representations have singularities and other problems. For instance, if you compare two Euler terns, or two Rodrigues parameters, they can look completely different but actually represent almost the same rotation.
    If you just need to check if both rotations are the same (or approx.), you can follow the next approach:

    1. Transform both rotations to matrix notation (quaternions are also valid)
      • OpenCV Rodrigues vector can be transformed to matrix using cv::Rodrigues function
      • For transforming Euler to matrix, I suggest you to take a look to conversions section of euclideanspace.com
    2. "Subtract" one rotation from the other, that is concatenating one with the inverse of the other
      • Using rotation matrices, multiply one by the transpose (inverse rotation) of the other one. Null rotation is the identity matrix.
      • Using quaternions, multiply one by the complex conjugate of the other (negate the three last components).
    3. Check if the result is close to a null rotation:
      • Null rotation matrix is the identity.
      • Null quaternion has a 1 or a -1 in the first component
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my android app internaly useing some transactions in that purpose i want use
I need to make some mock up screen shots useing a CSS Stylesheet, but
I am useing searchlogic to search some paintings. Each painting belong to a single
I've been useing VS2005 to create sql reports and now have to upgrade to
lets say we do some search useing search api then it retuns something like
i am trying to get a list of names from MySQL table useing php
I have a C# .dll that is envoked from within a C# application useing
I'm useing a listView to list some webpages. I'd like to have the webpage
I am useing custom ListView and for each row of data I want to
I am grabbing the source of a page useing curl, and want to extract

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.