本文介绍了作为组合剪切矩阵的基本转换?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道旋转,缩放,平移等的变换矩阵.我也知道剪切变换的矩阵.现在,我需要剪切矩阵-
I know the transformation matrices for rotation, scaling, translation etc. I also know the matrix for shear transformation. Now, I need to have the shear matrix--
[1 Sx 0]
[0 1 0]
[0 0 1]
其他上述转换形式的组合.尝试搜索,尝试过集思广益,但无法罢工!谢谢!
in the form of a combination of other aforesaid transformations. Tried searching, tried brainstorming, but unable to strike! Thanks!
推荐答案
对于剪切角theta
的x剪切操作将旋转和缩放比例减小为如下:
The x-shear operation for a shearing angle theta
reduces to rotations and scaling asfollows:
(a)逆时针旋转theta/2
.
(b)用x-scaling factor = sin(theta/2)
和y-scaling factor = cos(theta/2)
缩放.
(c)顺时针旋转45 degree
.
(d)用x-scaling factor = sqrt(2)/sin(theta)
和y-scaling factor= sqrt(2)
缩放.
这篇关于作为组合剪切矩阵的基本转换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!