fourier descriptor
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
Cite As
michael scheinfeild (2024). fourier descriptor (https://www.mathworks.com/matlabcentral/fileexchange/26810-fourier-descriptor), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |