Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Rotation from getPerspectiveTransform

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?