can you please provide me with the simplest demonstrating code to calcolate compression ratio
古いコメントを表示
回答 (1 件)
Pradeep Gowda
2015 年 4 月 5 日
0 投票
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.
カテゴリ
ヘルプ センター および 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!