bitmap size and file size
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Renjith V Ravi
le 3 Mar 2017
Commenté : Walter Roberson
le 4 Mar 2017
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 commentaires
Réponse acceptée
Walter Roberson
le 3 Mar 2017
"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 commentaires
Walter Roberson
le 4 Mar 2017
Note that for compression calculations you need to know the number of channels per pixel and the number of bits per channel per pixel.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with Image Processing Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!