@Author: Ali Hashmi
Date: 02-03-2017
This script is a Wolfram Language (WL) implementation (of a Python code by Henrik Blidh) for Elliptical Fourier Descriptors for 2D shape classification. The Lobe Contribution Elliptical Fourier Analysis has been implemented in the package as well. The lobe contribution can be used to classify complex shapes with lobes, for instance cells.
please check the other branch for the python implementation of the code
Reference: Kuhl and Giardina (1982). Elliptic Fourier features of a closed contour. Computer graphics and image processing, 18(3).
N.B: Lobe-Contribution EFA is based on the following paper, Yara Sanchez-Corrales et al https://www.biorxiv.org/content/early/2017/06/30/157842
Package usage:
shapes of cells and complex objects can be quantified as well
Note: when the lobeContribution option is set to True we obtain a list with three members: the first member being the elliptical fourier coefficients, the second member is the object's outline superimposed with the contour determined from the coefficients and the third member is the information from Lobe-Contribution. With the option turned off, we obtain a a list without Lobe-Contribution information