fit_mean_closed {elasdics} | R Documentation |
Fitting function for open curves
Description
Fits an elastic mean for open curves. Is usually called from
compute_elastic_mean
.
Usage
fit_mean_closed(srv_data_curves, knots, max_iter, type, eps, pen_factor)
Arguments
srv_data_curves |
list of |
knots |
set of knots for the mean spline curve |
max_iter |
maximal number of iterations |
type |
if "smooth" linear srv-splines are used which results in a differentiable mean curve |
eps |
the algorithm stops if L2 norm of coefficients changes less |
pen_factor |
penalty factor forcing the mean to be closed if "polygon" the mean will be piecewise linear. |
Value
a list
with entries
type |
"smooth" or "polygon" |
coefs |
|
knots |
spline knots |
t_optims |
optimal parametrization |
shift_idxs |
index of the starting point of the closed curve after alignment |
[Package elasdics version 1.1.3 Index]