Skip to content
DoingCamp CS

Make it comfy

Lesson style

Quick mode shows the key picture, a summary and the practice. Good for a refresher.

Theme
Font

Both fonts are designed to be easy to read. Some readers with dyslexia prefer Lexend.

Text size
Spacing
Animations

Lesson 20 of 20 · about 25 min

Boss level: SVD image compressor

A grey photo is just a big matrix of brightness numbers, and the SVD splits it into layers from most to least important. Keep the first few layers and you keep most of the picture for a fraction of the numbers. You'll compress a picture (or your own photo) live, see which layers matter, and then build the whole compressor from scratch in Python, using everything from this course.

🔓 Unlock this lesson

This lesson is part of the DoingCamp Pass. Members get every lesson in every course, with all the interactive visuals, coding exercises and challenges.

In this lesson you'll learn:

  • Low-rank approximation
  • Deflation

Free to try in F08 Linear Algebra:

The first 3 lessons of every course are free, no account needed.