15.01.2015 Views

2D Matrix Transformations Lecture Slides

2D Matrix Transformations Lecture Slides

2D Matrix Transformations Lecture Slides

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Basic <strong>Transformations</strong><br />

Uniform/isotropic<br />

Non-uniform/anisotropic<br />

Rotations<br />

Cos(<br />

θ ) − Sin(<br />

θ ) <br />

p'<br />

= <br />

p<br />

Sin(<br />

θ ) Cos( θ ) <br />

Rotate<br />

Scale<br />

Rotate<br />

Translate<br />

Shear -- not really “basic”<br />

Rotations<br />

Rotations<br />

Rotations are counter-clockwise<br />

Right hand rule<br />

Could do the other way, but we don’t<br />

Preserve lengths/distance to origin<br />

Orthonormal matrices<br />

Det == 1, not –1<br />

Note: rotate by zero degrees gives identity matrix<br />

Note: rotate +/- 360 degrees stays the same<br />

Scales<br />

Scale<br />

Uniform/isotropic<br />

Non-uniform/anisotropic<br />

sx<br />

0 <br />

p'<br />

= p<br />

0 s<br />

y <br />

Scales<br />

If Sx and Sy are the same scale is uniform<br />

Scaling by Sx or Sy < 0 causes problems<br />

If both are –1, it looks like 180 degree rotation<br />

2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!