Array with x and y coordinates of contour line
The number of harmonics to compute for the given shape
complex valued Fourier descriptors
Normalizes Fourier Descriptor and concatenates imaginary and real values of phase shifted descriptors G_a and G_b
Unnormalized Fourier Descriptor
Generated using TypeDoc
Compute the Fourier Descriptor of a polygon. Implements Kuhl and Giardina method of computing the coefficients for a specified number of harmonics. See the original paper for more detail: Kuhl, FP and Giardina, CR (1982). Elliptic Fourier features of a closed contour. Computer graphics and image processing, 18(3), 236-258. Or see W. Burger Digital Image Processing An Algorithmic Introduction - p. 682