bitmap size and file size
4 ビュー (過去 30 日間)
古いコメントを表示
When I run the code shown in the link http://in.mathworks.com/matlabcentral/fileexchange/13584-compression-ratio, i got the output

Among these what is the difference between ' FileSize ' and ' BitmapSize ' .How this FileSize is calculated here. The formula for compression ratio is also here.
0 件のコメント
採用された回答
Walter Roberson
2017 年 3 月 3 日
"How this FileSize is calculated here."
Record the output of dir() of the file. Access the "bytes" field of the result.
"' BitmapSize '"
Bitmapsize is Height time Width.
"The formula for compression ratio is also here."
3 件のコメント
Walter Roberson
2017 年 3 月 4 日
Note that for compression calculations you need to know the number of channels per pixel and the number of bits per channel per pixel.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Import, Export, and Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!