piecewise_linear2_hinv {registr}R Documentation

Create two-parameter piecewise linear (inverse) warping functions

Description

This function uses a 2-knot piecewise linear model to calculate inverse warping functions for registration. The parameters knot1_x and knot1_y control the x and y locations of the first knot, and the parameters knot1_x and knot1_y control the x and y locations of the second knot. The designation (inverse) is intended to communicate that these functions take data from the unregistered space to the registered space, consistent with functional data literature on registration.

Usage

piecewise_linear2_hinv(grid, knot_locations = c(0.25, 0.3, 0.75, 0.9))

Arguments

grid

grid of values over which to evaluate the function.

knot_locations

controls the x and y locations of the two knots.

Author(s)

Erin McDonnell eim2117@cumc.columbia.edu


[Package registr version 2.1.0 Index]