Finding the compression ratio

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

Asked:

on 4 Mar 2017

Commented:

on 4 Mar 2017

Community Treasure Hunt

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

Start Hunting!