iwarper | R Documentation |
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, ...)
x0 , x1 |
Numeric matrices giving the zero- and one-energy images. The |
nc |
integer giving the number of control points to select. |
labcol |
character describing the color to use when labeling the control points as they are selected. |
col |
The color scheme to use in plotting the images. |
zlim |
Range of values for the color scheme in plotting the images. |
cex |
The usual |
alwd |
line width for the arrows added to the deformation plot. |
... |
Optional arguments to |
A pair-of-thin-plate-splines image warp mapping is estimated by hand. See Dryden and Mardia (1998) Chapter 10 for more information.
A list object of class “iwarped”
Im0 , Im1 , Im1.def |
The zero- and one-energy images and the deformed one-energy image, resp. |
p0 , p1 |
The nc by 2 column matrices of hand-selected zero- and one-energy control points, resp. |
warped.locations , s |
Two-column matrices giving the entire set of warped locations and original locations, resp. |
theta |
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. |
Eric Gilleland
Dryden, I. L. and K. V. Mardia (1998) Statistical Shape Analysis. Wiley, New York, NY, 347pp.
warper
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.