Image Compression: difficulty 3

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

Two grayscale images, XX and YY, are each 1024×10241024 \times 1024 matrices of full rank 1024. Their singular values are given by

X: σi=400i,Y: σi=400(0.85) i−1,i=1,2,…,1024.X: \ \sigma_i = \frac{400}{\sqrt{i}}, \qquad Y: \ \sigma_i = 400(0.85)^{\,i-1}, \qquad i = 1, 2, \ldots, 1024 .

Storage for a rank-kk truncated SVD is k(m+n+1)k(m + n + 1) numbers. You may use ∑i=11024i−1=7.5092\sum_{i=1}^{1024} i^{-1} = 7.5092, ∑i=116i−1=3.3807\sum_{i=1}^{16} i^{-1} = 3.3807, and the approximation ∑i=1ki−1≈ln⁡k+0.5772\sum_{i=1}^{k} i^{-1} \approx \ln k + 0.5772.

Answer all four parts.

  1. For either image, compute the number of stored numbers, the compression ratio and the percentage of the original size for a rank-64 representation.
  2. For each image, compute the fraction of Frobenius energy captured by the rank-16 approximation and the corresponding relative Frobenius error.
  3. Estimate the rank XX would need to capture 95% of its energy, and use the break-even condition to say whether low-rank compression is viable for XX.
  4. State precisely what the Eckart–Young theorem guarantees about AkA_k, and name two things it does not guarantee.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Image Compression Questions: