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

Antworten (1)

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.

Kategorien

Mehr zu Denoising and Compression finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 5 Apr. 2015

Beantwortet:

am 5 Apr. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by