Image Processing Project
Image Processing Project
Note: All code used in the project must be attached to the project file.
1
Figure 1: Sunflower
2
to overcome this difficulty. (For this problem, you do not
have to code this up, but must explain how to do it.)
A = U ΣV T (1)
(a) What is the condition number of the matrix A? That is, what is
the ratio of the largest to smallest singular value of A?
(b) Cut off all singular values below 0.01σ1 , where σ1 is the largest
singular value. Show the image result. It should look very similar
to the original image (but slightly compressed). What percentage
of the singular values have been removed?
(c) Cut off all singular values below 0.1σ1 and show the result. Now,
we should observe some degradation of the image, although it still
resembles a sunflower. What percentage of the singular values
have been removed?
(d) Go online and try and find a criterion for how many singular values
you should remove to do image compression and explain why this
is a good criterion for the application we have in mind.