can you please provide me with the simplest demonstrating code to calcolate compression ratio
이전 댓글 표시
답변 (1개)
Pradeep Gowda
2015년 4월 5일
0 개 추천
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에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!