Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
demo for compression ratio calculation

Réponses (1)

Pradeep Gowda
Pradeep Gowda le 5 Avr 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.

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by