剪切矩阵作为基本变换的组合? [英] Shear Matrix as a combination of basic transformation?

查看:30
本文介绍了剪切矩阵作为基本变换的组合?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道旋转、缩放、平移等的变换矩阵.我也知道剪切变换的矩阵.现在,我需要剪切矩阵--

[1 Sx 0][0 1 0][0 0 1]

以其他上述转换的组合形式.尝试过搜索,尝试过头脑风暴,但无法罢工!谢谢!

解决方案

剪切角 theta 的 x 剪切操作减少为旋转和缩放为如下:

(a) 逆时针旋转 theta/2.

(b) 使用 x-scaling factor = sin(theta/2)y-scaling factor = cos(theta/2) 进行缩放.

(c) 顺时针旋转 45 度.

(d) 使用 x-scaling factor = sqrt(2)/sin(theta)y-scaling factor= sqrt(2) 进行缩放.>

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!

解决方案

The x-shear operation for a shearing angle thetareduces to rotations and scaling as follows:

(a) Rotate by theta/2 counter-clockwise.

(b) Scale with x-scaling factor = sin(theta/2) and y-scaling factor = cos(theta/2).

(c) Rotate by 45 degree clockwise.

(d) Scale with x-scaling factor = sqrt(2)/sin(theta) , and y-scaling factor= sqrt(2).

这篇关于剪切矩阵作为基本变换的组合?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆