Is it possible to apply DCT for JPEG image compression, Please read the problem and answer
Ältere Kommentare anzeigen
I was presenting my M-Tech thesis and during the presentation i was asked a question. My research work is based on removing blocking artifacts which comes usually after an image is compressed. During my presentation i stated that first i am compressing a JPEG image with DCT technique and because it divides the image into 8*8 block sizes, the blocking artifacts are visible at the non overlapping block boundaries. I was asked why you are compressing an image with DCT when JPEG itself is a compression technique or standard. Now my question is "IS DCT itself a compression technique or not?". "Can DCT be used just for dividing an image into 8*8 blocks only". and final question is can we compress a JPEG image with DCT? (Although i know JPEG compression is base on DCT). Please justify in detail. thanks in advance
Antworten (1)
Image Analyst
am 25 Aug. 2014
1 Stimme
JPEG is already compressed. I don't know how you'd do DCT compression on a JPEG file. If you could do it, without reconstructing the image first, then it certainly would not help. At best it would remain the same and could even get worse if the second compression was a greater compression. It's like if you have a JPG file or an EXE file, or any other binary file. It's already compressed so if you tried to compress it into a zip file, it's not going to compress much more, if any. There are probably no more "runs" of a constant value left to remove.
To answer your questions more directly: "IS DCT itself a compression technique or not?" DCT is not a compression technique. It can be employed by compression techniques as one step of the process.
"Can DCT be used just for dividing an image into 8*8 blocks only" Yes you can divide the image into 8x8 blocks and do DCT on each block.
"can we compress a JPEG image with DCT?" Like I said, maybe (it probably needs to be uncompressed first) but it's not going to repair the image or improve it in any way. It's already compressed so compressing it more will require throwing away more information.
Disclaimer: I'm not a compression expert.
2 Kommentare
Pearl Sahni
am 25 Aug. 2014
Image Analyst
am 25 Aug. 2014
I'm not an expert on JPEG, but there is no need to do DCT on the JPEG image (reconstructed or not) to make the artifacts visible. With enough compression they are visible without further processing. And I just don't see why doing DCT on the data, which already has been DCT'ed, is going to help. But you're supposed to be more expert than me since it's your idea for your "M-Tech thesis" (Is that equivalent to a masters or a Ph.D.?) I suggest you talk it over with your adviser, who hopefully knows more about it than either of us.
Kategorien
Mehr zu Images finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!