powered by
tfourier_i uses the inverse tangent angle Fourier transformation to calculate a shape, when given a list with Fourier coefficients, typically obtained computed with tfourier.
tfourier_i
tfourier_i(tf, nb.h, nb.pts = 120, force2close = FALSE, rescale = TRUE, perim = 2 * pi, thetao = 0)
a list with ao, an and bn components, typically as returned by tfourier
integer. The number of harmonics to calculate/use
integer
integer. The number of points to calculate
logical. Whether to force the outlines calculated to close (see coo_force2close).
logical
logical. Whether to rescale the points calculated so that their perimeter equals perim.
perim
The perimeter length to rescale shapes.
numeric. Radius angle to the reference (in radians)
numeric
A list with components:
vector of x-coordinates.
vector
x
vector of y-coordinates.
y
vector of interpolated changes on the tangent angle.
vector of position on the perimeter (in radians).
See tfourier for the mathematical background.
Zahn CT, Roskies RZ. 1972. Fourier Descriptors for Plane Closed Curves. IEEE Transactions on Computers C-21: 269-281.
Claude, J. (2008) Morphometrics with R, Use R! series, Springer 316 pp.
Other tfourier: tfourier_shape, tfourier
tfourier_shape
tfourier
# NOT RUN { tfourier(bot[1], 24) tfourier_shape() # }
Run the code above in your browser using DataLab