Skip to contents

Compute the Procrustes fit given optimal rotation, scaling and translation.

Usage

get_procrustes_fit_from_param(
  data_curve,
  rot,
  scale,
  plength,
  trans,
  norm_factor
)

Arguments

data_curve

A data.frame with observed points on a curve. Each row is one point, each variable one coordinate direction. If there is a variable t, it is treated as the time parametrization, not as an additional coordinate.

rot

The rotation (in radian).

scale

The scaling.

plength

The polygon length of the original curve.

trans

The translation.

norm_factor

The normalization factor from the smooth curve estimate.