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

조회 수: 1 (최근 30일)
demo for compression ratio calculation

답변 (1개)

Pradeep Gowda
Pradeep Gowda 2015년 4월 5일
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.

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by