Rotation from getPerspectiveTransform

asked 2013-01-08 15:49:21 -0500

memek gravatar image

Hi, I have an image of a rectangle. I'm using getPerspectiveTransform() to get the 3x3 matrix to get information about image rotation, tranlation, skew etc. Now, what I want is to get angle of rotation around X, Y and Z axis of that rectangle (for OpenGL). Any ideas how to get these angles?

edit retag flag offensive close merge delete