opencv estimateRigidTransform: How to get global scale?
问题 I'm using openCV's estimateRigidTransform to stabilize a series of video frames, which works very well. The function returns a 2x3 transformation matrix M: | a_11 a_12 b_1 | | -a_12 a_11 b_2 | As far as I understand the b elements represent the translation, and the a elements are used to do the scaling and rotation. What I would like to do, is get global scale from M - a value that represents the camera zooming factor. How can I do calculate this correctly from a values? To clarify a little