File Exchange

image thumbnail

fourier descriptor

version 1.0 (2.26 KB) by

describe shape using fourier coefficients

25 Downloads

Updated

View License

shape description using FD fourier coeeficeients used for shape classification.
the steps :
1 . find the indexes borders of edged image (input binary edged image see test for example)
2. sort the indexes so they in distance order
3. make complex vecotr x+jy
4 make fft
5 take first FD
6. make ifft

currently the algorithm works for only symmetrical shapes !!!
 i promise to improve it for all the shapes

link to theory :
http://www.tsi.enst.fr/tsi/enseignement/ressources/mti/descript_fourier/Part1.html

http://www.tsi.enst.fr/tsi/enseignement/ressources/mti/descript_fourier/Part2.html

Comments and Ratings (1)

Bilal Saad

Hello,
Did you improve the algorithm for non symmetrical shapes?
Thanks

MATLAB Release
MATLAB 7 (R14)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video