tfourier_i {Momocs} | R Documentation |
Inverse tangent angle Fourier transform
Description
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.
Usage
tfourier_i(
tf,
nb.h,
nb.pts = 120,
force2close = FALSE,
rescale = TRUE,
perim = 2 * pi,
thetao = 0
)
Arguments
tf |
a list with ao, an and bn components, typically as returned by tfourier |
nb.h |
|
nb.pts |
|
force2close |
|
rescale |
|
perim |
The perimeter length to rescale shapes. |
thetao |
|
Details
See tfourier for the mathematical background.
Value
A list with components:
x |
|
y |
|
phi |
|
angle |
|
Note
Directly borrowed for Claude (2008), and called ifourier2
there.
References
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.
See Also
Other tfourier:
tfourier_shape()
,
tfourier()
Examples
tfourier(bot[1], 24)
tfourier_shape()