From: Ferdi Ferdi on
Dear all,
I'm newbie in using matlab. I want to extract fourier descriptor of my images. Could you please explain to me how to do this in matlab?

Thank you very much for your help.

Ferdi
-------
From: Matt J on
"Ferdi Ferdi" <muhferdi(a)yahoo.com> wrote in message <hhendo$ick$1(a)fred.mathworks.com>...
> Dear all,
> I'm newbie in using matlab. I want to extract fourier descriptor of my images. Could you please explain to me how to do this in matlab?
>
> Thank you very much for your help.
>
> Ferdi
> -------

Do you have data arrays x(n),y(n) of coordinates of some image object boundary?

If so, then you would just do

FourierDescriptorArray = fft(x+y*i)


From: Ferdi Ferdi on
Dear Matt,
Thank you very much for your help. But what do you mean by
(x+y*i). What is i in this context?

Regards,

Ferdi

"Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <hheob7$fev$1(a)fred.mathworks.com>...
> "Ferdi Ferdi" <muhferdi(a)yahoo.com> wrote in message <hhendo$ick$1(a)fred.mathworks.com>...
> > Dear all,
> > I'm newbie in using matlab. I want to extract fourier descriptor of my images. Could you please explain to me how to do this in matlab?
> >
> > Thank you very much for your help.
> >
> > Ferdi
> > -------
>
> Do you have data arrays x(n),y(n) of coordinates of some image object boundary?
>
> If so, then you would just do
>
> FourierDescriptorArray = fft(x+y*i)
>
>
From: Matt J on
"Ferdi Ferdi" <muhferdi(a)yahoo.com> wrote in message <hhhj97$bcm$1(a)fred.mathworks.com>...
> Dear Matt,
> Thank you very much for your help. But what do you mean by
> (x+y*i). What is i in this context?


The function i() in MATLAB returns sqrt(-1):

>> i

ans =

0 + 1.0000i
From: Ferdi Ferdi on
Thank you very much matt..
Now i understand, i means for complex number.
I use fd for clustering images based on shape.
but i get poor result :( anybody can help me with this matter?

"Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <hhinnn$ap8$1(a)fred.mathworks.com>...
> "Ferdi Ferdi" <muhferdi(a)yahoo.com> wrote in message <hhhj97$bcm$1(a)fred.mathworks.com>...
> > Dear Matt,
> > Thank you very much for your help. But what do you mean by
> > (x+y*i). What is i in this context?
>
>
> The function i() in MATLAB returns sqrt(-1):
>
> >> i
>
> ans =
>
> 0 + 1.0000i