bitmap size and file size
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Renjith V Ravi
el 3 de Mzo. de 2017
Comentada: Walter Roberson
el 4 de Mzo. de 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 comentarios
Respuesta aceptada
Walter Roberson
el 3 de Mzo. de 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 comentarios
Walter Roberson
el 4 de Mzo. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with Image Processing Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!