how to get co-efficient from an image

1 visualizzazione (ultimi 30 giorni)
FIR
FIR il 2 Gen 2012
I have an image plz tell how to get co-efficient as output
  3 Commenti
FIR
FIR il 2 Gen 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 il 2 Gen 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

Accedi per commentare.

Risposte (1)

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

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by