You are viewing the course site for a past offering of this course. The current offering may be found here.
Lecture 4: Transforms (6)
rishiarjun

Non-uniform scaling here reminds a lot about the small design work I do in creating Instagram content. Whenever I'm tryna reduce a picture in size, but only on either a horizontal/vertical side, this picture becomes more squished and doesn't retain it's full original form, similar to how it looks on this clock here.

lwg0320

When we shrink large images and then subsequently enlarge it (in google docs etc), how does the image retain its original quality?

orenazad

@lwg0320, I think they keep the original data around to help you perform non-destructive editing! Photoshop often works similarly. When pasting or dropping an image into Photoshop it typically becomes a 'Smart Object'. These Smart Objects retain their original data, so you can squeeze, un-squeeze, scale, and so forth while retain original image quality. So the current image shown is really just a preview, and when you adjust it again all the math is recalculated from the original source data. If you want to actually burn in the data in Photoshop, there is an option to 'Rasterize' the layer! That will make those changes destructive and original quality will not be maintained. I imagine Google docs does something similar!

Here are some links on the specifics within photoshop: https://www.adobe.com/products/photoshop/rasterize.html#:~:text=Right%2Dclick%20on%20your%20original,text%20on%20a%20type%20layer. https://helpx.adobe.com/photoshop/using/create-smart-objects.html

Omersasson123

I was interested in how non-uniform scaling is used in real-world applications besides graphics. There are many exciting applications from geographic information systems to biomedical applications. Doctors can use non-uniform scaling to get more accurate MRI scans of their patients and get better dimensions of organs.

You must be enrolled in the course to comment