How to calculate the compression ratio ?

4 ビュー (過去 30 日間)
Aseel H
Aseel H 2012 年 8 月 6 日
How to calculate the compression ratio for compressed image?
Do any one have abuilt_in function or method to estimate it?

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 8 月 6 日
Compression ratio is the storage size of the original image, divided by the storage size of the compressed image. The size of any necessary file headers must be included in order for a compression ratio to be calculated! (Otherwise one could "compress" every file down to 0 bits.)

カテゴリ

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