Instigate an image warp by selecting control points in the zero- and one-energy images by hand.
iwarper(x0, x1, nc = 4, labcol = "magenta",
col = c("gray", tim.colors(64)), zlim, cex = 2, alwd = 1.25, ...)
A list object of class “iwarped”
The zero- and one-energy images and the deformed one-energy image, resp.
The nc by 2 column matrices of hand-selected zero- and one-energy control points, resp.
Two-column matrices giving the entire set of warped locations and original locations, resp.
The matrices defining the image warp, L, iL and B, where the last is the bending energy, and the first two are nc + 3 by nc + 3 matrices describing the control points and inverse control-point matrices.
Numeric matrices giving the zero- and one-energy images. The x1
image is ultimately warped into the x0
image.
integer giving the number of control points to select.
character describing the color to use when labeling the control points as they are selected.
The color scheme to use in plotting the images.
Range of values for the color scheme in plotting the images.
The usual cex
parameter. See the help file for par
for more information.
line width for the arrows added to the deformation plot.
Optional arguments to poly.image
.
Eric Gilleland
A pair-of-thin-plate-splines image warp mapping is estimated by hand. See Dryden and Mardia (1998) Chapter 10 for more information.
Dryden, I. L. and K. V. Mardia (1998) Statistical Shape Analysis. Wiley, New York, NY, 347pp.
warper