【发布时间】:2017-08-13 16:52:20
【问题描述】:
我想知道在OpenCV 中是否可以仅根据给定的变换矩阵确定变换类型(旋转、平移、剪切……)?
跟进这篇文章:http://docs.opencv.org/2.4/doc/tutorials/imgproc/imgtrans/warp_affine/warp_affine.html
我将得到一个 2x3 变换矩阵。例如:
[ 0.85, 0.20, 0;
-0.06, 0.37, 253.44]
我知道第三个“列”代表翻译。所以在这种情况下x=0,y=253.44
但是有没有办法确定在前两列中是否只应用了旋转或旋转和缩放?所以我的意思是让矩阵乘法以某种方式反转?
【问题讨论】:
标签: opencv matrix coordinate-transformation