how to get co-efficient from an image

1 次查看(过去 30 天)
FIR
FIR 2012-1-2
I have an image plz tell how to get co-efficient as output
  3 个评论
FIR
FIR 2012-1-2
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 2012-1-2
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

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by