フィルターのクリア

how calculate the size of image after compressed image

3 ビュー (過去 30 日間)
Noor Abbas
Noor Abbas 2017 年 9 月 20 日
回答済み: Rik 2017 年 9 月 20 日
how can calculate file size before and after compress image

回答 (1 件)

Rik
Rik 2017 年 9 月 20 日
This was my first hit on Google for file size Matlab:
im1_stats = dir(filename_image1);
im2_stats = dir(filename_image2);
ratio = im1_stats.bytes./im2_stats.bytes

カテゴリ

Help Center および File ExchangeDenoising and Compression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by