how to.know the bit depth of the compressed image? as imfinfo will not work for reconstructed image

Is there any function to know about the bit depth? Actually I want to calculate the compression ratio. For this I have calculated no of bits in the original image. Now y (as in above code ) is my reconstructed image. For this I want to know the no of bits. I am using no_of_bits=Height * width* bitdepth/ 8 bytes
If there is any other way to calculate the compression rat

Answers (0)

Categories

Tags

Asked:

on 4 Apr 2015

Edited:

on 4 Apr 2015

Community Treasure Hunt

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

Start Hunting!