Image compression with DFT in matlab

Image compression using a discrete Fourier transform in matlab. We can compress a lot and still have excellent picture. I.e. drop ratio of 70% and still good quality.

Same images, different compression
Same images, different compression

Differences from  original file
Differences from original file

 

Error between original and compressed image vs drop ratio
Error between original and compressed image vs drop ratio

 

Note: I will not upload matlab code, this was done for a class assignment. The code is not important, it’s the method. If interested, you should check out CS 370 Numerical Computation from University of Waterloo. I’m leaving the lecture notes link here: https://cs.uwaterloo.ca/~kogeddes/cs370/cs370_notes_f08.pdf

4 thoughts on “Image compression with DFT in matlab”

Leave a Reply

Your email address will not be published. Required fields are marked *