Finding the compression ratio

2 views (last 30 days)
Renjith V Ravi
Renjith V Ravi on 4 Mar 2017
Commented: Renjith V Ravi on 4 Mar 2017
I am using the code for SPIHT image compression shown in the link https://in.mathworks.com/matlabcentral/fileexchange/4808-spiht
How to find the compression ratio.

Answers (1)

Walter Roberson
Walter Roberson on 4 Mar 2017
Log2 of the number of states that the input can be in, compared to log2 of the number of output states.
This is not the same as file size because files can have overhead.

Categories

Find more on Denoising and Compression in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!