tpsreg
creates an object encapsulating a thin plate spine
transform mapping a paired landmark set.
xformpoints.tpsreg
enables xform
and
friends to transform 3d vertices (or more complex objects containing 3d
vertices) using a thin plate spline mapping stored in a tpsreg
object.
tpsreg(sample, reference, ...) # S3 method for tpsreg xformpoints(reg, points, swap = NULL, ...)
tpsreg
registration objectNULL
checks if reg has a attr('swap'=TRUE)
) otherwiseNote that we use the nat convention for naming the
sample/reference space arguments but these actually clash with the
nomenclature in the underlying Morpho::tps3d
function.