error in finding compression ratio

i have a code
out=imcompr('dock.jpg',20,'output_image01.bmp');
k=imfinfo('output_image01.bmp');
ib=k.Width*k.Height*k.BitDepth/8;
cb=k.FileSize;
cr=ib/cb
if i change the values of 20 as 50 ,200,2000,i get same value please help

1 件のコメント

Jan
Jan 2012 年 2 月 13 日
You forgot to ask a question.

回答 (0 件)

この質問は閉じられています。

質問済み:

2012 年 2 月 13 日

編集済み:

2013 年 10 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by