how to get co-efficient from an image

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

3 Kommentare

Walter Roberson
Walter Roberson am 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 am 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 am 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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 2 Jan. 2012

0 Stimmen

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

Kategorien

Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange

Gefragt:

FIR
am 2 Jan. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by