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 8338375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:34:28+00:00 2026-06-09T04:34:28+00:00

I am using opencv solvePnP to get the rotation and translation vectors for an

  • 0

I am using opencv solvePnP to get the rotation and translation vectors for an image. I am not sure how to use the rotation vector. I would like to convert the rotational vector to two angles, the inclination angle and the azimuth angle (like in spherical coordinates) because then it would be easier for me to use.

I created some test cases:
3d point locations: (0,0,0) (0,0,1) (1,0,1) (1,0,0)
camera location: (.5, -1, .5)
rotation vector: (1.57, 0, 0) (facing the positive y direction)

and when I flip the corresponding pixel location corresponding points so the camera is located at (.5, 1, .5) (facing the negative y direction) the rotation vector is (1.2, 1.2, -1.2). I am not sure how this last vector makes it face the negative y direction…

Any advice on how this works or how to convert it to inclination and azimuth would be much appreciated.

  • 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-09T04:34:29+00:00Added an answer on June 9, 2026 at 4:34 am

    I used opencv rodrigues to turn it into a rotation matrix, then I multiplied by the point 0,0,1 and used the new location of the point to tell where I am looking

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using OpenCV for object detection and one of the operations I would like
I am using OpenCV for some of my image processing related codes. I am
I'm using OpenCV for an application in computer vision. I'd like to accelerate some
I'm using Opencv's K-means implementation to cluster a large set of 8-dimensional vectors. They
I've started using opencv to detect features: A sequence like: cv::SurfFeatureDetector detector( 40 );
I'm trying to look for shapes in an image using OpenCV. I know the
I am using OpenCV 2.3.1 in Android. I need to crop the image into
I am using OpenCV Haar Algorithm to track the Head and overlay an image
I am using openCV python bindings. I am trying to show the output image
Using OpenCV. I have an RGB image, each value is a float. I also

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.