Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shear Matrix as a combination of basic transformation?

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!

like image 478
Kunal S. Kushwah Avatar asked Aug 21 '13 15:08

Kunal S. Kushwah


1 Answers

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).

like image 75
Kunal S. Kushwah Avatar answered Oct 21 '22 15:10

Kunal S. Kushwah