Function efd::efd_fitting [−][src]
pub fn efd_fitting(
contour: &Array2<f64>,
n: usize,
harmonic: Option<usize>
) -> Array2<f64>
Curve fitting using Elliptical Fourier Descriptor.
Giving the contour and the number of output path (n
).
The harmonic
is the number of harmonic terms.
Use Option::None
to auto detect the number of harmonics.