can you please provide me with the simplest demonstrating code to calcolate compression ratio
1 view (last 30 days)
Show older comments
demo for compression ratio calculation
0 Comments
Answers (1)
Pradeep Gowda
on 5 Apr 2015
a=whos('sBmp'); b=dir('compressed.jpg'); c=a.bytes/b.bytes;
sBmp is my un-compressed image and compressed.jpg is saved output image. c gives u compresstion ratio.
0 Comments
See Also
Categories
Find more on Image Segmentation and Analysis 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!