powered by
tps_grid calculates and plots deformation grids between two configurations.
tps_grid
tps_grid(fr, to, amp = 1, over = 1.2, grid.size = 15, grid.col = "grey80", poly = TRUE, shp = TRUE, shp.col = rep(NA, 2), shp.border = col_qual(2), shp.lwd = c(1, 1), shp.lty = c(1, 1), legend = TRUE, legend.text, ...)
the reference \((x; y)\) coordinates
the target \((x; y)\) coordinates
an amplification factor of differences between fr and to
fr
to
numeric that indicates how much the thin plate splines extends over the shapes
numeric
numeric to specify the number of grid cells on the longer axis on the outlines
color for drawing the grid
whether to draw polygons (for outlines) or points (for landmarks)
logical. Whether to draw shapes
logical
Two colors for filling the shapes
Two colors for drawing the borders
Two lwd for drawing shapes
lwd
Two lty fro drawing the shapes
lty
logical whether to plot a legend
some text for the legend
additional arguments to feed coo_draw
Nothing
Other thin plate splines: tps2d, tps_arr, tps_iso, tps_raw
tps2d
tps_arr
tps_iso
tps_raw
# NOT RUN { botF <- efourier(bot) x <- mshapes(botF, 'type', nb.pts=80)$shp fr <- x$beer to <- x$whisky tps_grid(fr, to, amp=3, grid.size=10) # }
Run the code above in your browser using DataLab