MATLAB Answers

0

Finding the compression ratio

Asked by Renjith V Ravi on 4 Mar 2017
Latest activity Commented on by 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.

  0 Comments

Sign in to comment.

1 Answer

Answer by 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.

  1 Comment

Please clarify

Sign in to comment.