piecewise_linear2_hinv: Create two-parameter piecewise linear (inverse) warping...

Description Usage Arguments Author(s)

View source: R/registr-utils.R

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

1
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


julia-wrobel/registr documentation built on Jan. 16, 2022, 2:51 a.m.