how to get co-efficient from an image

1 view (last 30 days)
FIR
FIR on 2 Jan 2012
I have an image plz tell how to get co-efficient as output
  3 Comments
FIR
FIR on 2 Jan 2012
Walter am getting numreric values as per ur comment in my previous question
I=imread('lena.bmp')
K=dec2bin(I);
[r c]=size(K)
J=K-0;
W=zeros(r,c);
J=K-W
i get numeric values
FIR
FIR on 2 Jan 2012
walter plz look at this picture
http://www.sendspace.com/file/rq0diw
i have completed till modified ebcot .plz tell how to get output bit stream

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 2 Jan 2012
K = dec2bin(I) - '0';
I did specifically say to subtract the character '0' not the number 0.

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!