can you please provide me with the simplest demonstrating code to calcolate compression ratio
1 回表示 (過去 30 日間)
古いコメントを表示
demo for compression ratio calculation
0 件のコメント
回答 (1 件)
Pradeep Gowda
2015 年 4 月 5 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Segmentation and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!