
rfourier_i
uses the inverse radii variation (equally spaced radii) transformation to
calculate a shape, when given a list with Fourier coefficients, typically
obtained computed with rfourier.
rfourier_i(rf, nb.h, nb.pts = 120)
A list with components:
vector
of
x
-coordinates.
vector
of y
-coordinates.
vector
of angles used.
vector
of radii
calculated.
A list
with ao
, an
and bn
components,
typically as returned by rfourier
.
integer
. The number of harmonics to calculate/use.
integer
. The number of points to calculate.
See the JSS paper for the maths behind.
Claude, J. (2008) Morphometrics with R, Use R! series, Springer 316 pp.
Other rfourier:
rfourier_shape()
,
rfourier()
data(bot)
coo <- coo_center(bot[1]) # centering is almost mandatory for rfourier family
coo_plot(coo)
rf <- rfourier(coo, 12)
rf
rfi <- rfourier_i(rf)
coo_draw(rfi, border='red', col=NA)
Run the code above in your browser using DataLab