can you please provide me with the simplest demonstrating code to calcolate compression ratio

1 visualización (últimos 30 días)
demo for compression ratio calculation

Respuestas (1)

Pradeep Gowda
Pradeep Gowda el 5 de Abr. de 2015
a=whos('sBmp'); b=dir('compressed.jpg'); c=a.bytes/b.bytes;
sBmp is my un-compressed image and compressed.jpg is saved output image. c gives u compresstion ratio.

Categorías

Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by