Question

I'm fairly new to Matlab and image and signal processing. What I have so far is that I'm able to read in an image and perform a DCT conversion and fill this into a matrix and then reconstruct an image by placing low to higher DCT coefficients (5, 10, 15, 30) and performing an inverse DCT to get this figure ---> enter image description here

What I am wondering is how can I re-compress the reconstructed images to perform another transform to show further JPEG loss? How would I go about it? Thanks and I hope you will be patient with my explanation of what I'm doing/trying to do as I am quite new to this fantastic world!

Was it helpful?

Solution

Ideally, you should make a function to do the compression. If you feed the output in a loop you can continue to compress your image.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top