Code covered by the BSD License
-
calc_dc_components(ai)
Calculate DC components.
-
calc_harmonic_coefficients(ai...
This function will calculate the n-th set of four harmonic coefficients.
-
calc_traversal_dist(ai)
This function will generate position coordinates of chain code (ai). Number of
-
calc_traversal_time(ai)
Traversal time is defined as accumulated time consumed by every
-
fourier_approx(ai, n, m, norm...
This function will generate position coordinates of fourier approximation of
-
plot_chain_code(ai, color, li...
Plot chain code with certain color and line width
-
plot_fourier_approx(ai, n, m,...
This function will plot the fourier approximation, given a chain code (ai),
-
example1.m
-
example2.m
-
View all files
from
Elliptic fourier for shape analysis
by Auralius Manurung
Implementation of elliptic fourier for shape analysis.
|
| example1.m |
c = [5 4 1 2 3 4 3 0 0 1 0 1 0 0 0 7 7 1 1 0 7 5 4 5 4 5 0 6 5 4 1 3 4 4 4 4 6];
plot_chain_code(c)
hold
plot_fourier_approx(c, 10, 100, 0, 'r');
|
|
Contact us