c++ - solvePnP: Obtaining the rotation translation matrix -


i trying image coordinates 3d coordinates. using solvepnp function (in c++)has given me 3x1 rotation matrix , 3x1 translation matrix. isn't [r|t] matrix supposed 3x4?

any appreciated!

reading (excellent) opencv documentation solvepnp might help:

  • "rvec – output rotation vector (see rodrigues() ) that, tvec , brings points model coordinate system camera coordinate system."

and following link rodrigues():

  • src – input rotation vector (3x1 or 1x3) or rotation matrix (3x3).
  • dst – output rotation matrix (3x3) or rotation vector (3x1 or 1x3), respectively.

Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -