Mathematics

NumPy: Linear Algebra on Images

SVD to generate a compressed approximation of an image

Amit Chauhan
Towards AI
Published in
6 min readJul 11, 2021

--

Image Source

In this instructional exercise, we will use a matrix decomposition from linear algebra, the Singular Value Decomposition, to generate a compressed approximation of an image. We’ll use the ascent image from the scipy.misc module:

--

--