Compression ratio for wavelets

조회 수: 1 (최근 30일)
warinthorn Kiadti
warinthorn Kiadti 2012년 4월 26일
Hi every one ...
I use 'wdencmp' to compress the image. Can any one tell me How to calculate the Compression rate? If you can give me Matlab code that would be wonderful...
Warin

채택된 답변

Wayne King
Wayne King 2012년 4월 26일
Hi, if you are using wdencmp(), then use the optional output argument PERF0.
If you use wcompress(), use the output argument, CR
  댓글 수: 1
warinthorn Kiadti
warinthorn Kiadti 2012년 4월 27일
Thank you very much for your kindly replayed.
After we got the PERF0, ex 87.2337%.
How we can calculate back to find the real size of compressed image (xd) that need to store in the hard drive?
Ex. If the input image (X) size = 12 kb in .bmp format.
I ask you so many question because I confuse about real size of X, xd and recovery image Rc ..I try to use diary on and imwrite by .bmp format, but all X,xd and Rc have the same size...
Thank you in advance. and Please suggests.
Warin

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Denoising and Compression에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by