tps_iso
calculates deformations between two configurations and map
them with or without isolines.
tps_iso(
fr,
to,
amp = 1,
grid = FALSE,
over = 1.2,
palette = col_spring,
iso.nb = 1000,
iso.levels = 12,
cont = TRUE,
cont.col = "black",
poly = TRUE,
shp = TRUE,
shp.border = col_qual(2),
shp.lwd = c(2, 2),
shp.lty = c(1, 1),
legend = TRUE,
legend.text,
...
)
No returned value
The reference
The target
An amplification factor of differences between fr
and
to
whether to calculate and plot changes across the graphical window
TRUE
or just within the starting shape (FALSE
)
A numeric
that indicates how much the thin plate splines
extends over the shapes
A color palette such those included in Momocs or produced with colorRampPalette
A numeric
. The number of points to use for the
calculation of deformation
numeric
. The number of levels for mapping the
deformations
logical
. Whether to draw contour lines
A color for drawing the contour lines
whether to draw polygons (for outlines) or points (for landmarks)
logical
. Whether to draw shapes
Two colors for drawing the borders
Two lwd
for drawing shapes
Two lty
fro drawing the shapes
logical whether to plot a legend
some text for the legend
additional arguments to feed coo_draw
Other thin plate splines:
tps2d()
,
tps_arr()
,
tps_grid()
,
tps_raw()
botF <- efourier(bot)
x <- MSHAPES(botF, 'type', nb.pts=80)$shp
fr <- x$beer
to <- x$whisky
tps_iso(fr, to, iso.nb=200, amp=3)
tps_iso(fr, to, iso.nb=200, amp=3, grid=TRUE)
Run the code above in your browser using DataLab