how to get co-efficient from an image

I have an image plz tell how to get co-efficient as output

3 commentaires

Walter Roberson
Walter Roberson le 2 Jan 2012
You will need to expand on your question. Which co-efficients are you referring to?
Consider that in the code
IMG = imread('lena256.tif');
then the array IMG could be termed to be the "coefficients" of the image.
FIR
FIR le 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 le 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

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Images dans Centre d'aide et File Exchange

Question posée :

FIR
le 2 Jan 2012

Community Treasure Hunt

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

Start Hunting!

Translated by