image compression using jpeg

조회 수: 3 (최근 30일)
jithin
jithin 2014년 2월 8일
댓글: Deepak Mishra 2022년 9월 8일
  1. does doing dct followed by quantization and idct decompress the image?
  2. does run length encoding(rle) help to compress?
  3. when we save a file as jpeg and open it does it perform both dct and idct or only dct?
  4. how can i check if my image is compressed since both the original and output image are 256x256?
  5. in order to write a program to perform jpeg compression and display the compressed image do i have to use zig zag scanning and rle?

채택된 답변

Walter Roberson
Walter Roberson 2014년 2월 8일
1. No.
2. Often enough to be useful, but not always.
3. You have not specified what "it" is.
4. In that situation there is no compression.
5. No. If you use lossless jpeg then the algorithm does not use those steps.
Compression involves processing data and creating an output that takes less storage than the original data. Decompression involves taking that lower-storage version and expanding it back to something (close to) the original data. The step you have missed in several of your questions is the "creating an output that takes less storage than the original data". Calculating dct and quantizing it probably does not take less storage -- but you can then take the quantized data and output only parts of it. The less you output the more the compression but the less accurately you can reconstruct the original data.
  댓글 수: 13
jithin
jithin 2014년 3월 2일
i have done rle and used NaN to represent EOB. how can i do arithmetic encoding on the rle encoded sequence
jithin
jithin 2014년 3월 2일
i'd prefer to use the built in function for arithmetic encoding but i cant understand what the arguments must be. my input is rle encoded sequence.also how can i show that an image which is dct transformed, quantized, rle encoded ,arithmetic encoded sequence occupies less bandwidth as compared to the original image

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

jithin
jithin 2014년 2월 17일
i am working on Image Compression Using Intra prediction of H.264 using matlab.. 1.Is compression using intra prediction better than that(compression) using jpeg? 2.How can we prove that compression using H.264 is better than jpeg compression? 3.Could you please provide me the code for run length encoding?
  댓글 수: 3
jithin
jithin 2014년 2월 17일
i meant comparison between intraprediction and jpeg.. How can i prove that intraprediction produces better compression?
Deepak Mishra
Deepak Mishra 2022년 9월 8일
i meant comparison between intraprediction and jpeg.. How can i prove that intraprediction produces better compression? and how can analysis filter cutoff frequency

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by