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

답변 (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.

카테고리

도움말 센터File Exchange에서 Denoising and Compression에 대해 자세히 알아보기

질문:

2015년 4월 5일

답변:

2015년 4월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by