createAtlas | R Documentation |
Create an atlas needed in placePatch
createAtlas(
mesh,
landmarks,
patch,
corrCurves = NULL,
patchCurves = NULL,
keep.fix = NULL
)
mesh |
triangular mesh representing the atlas' surface |
landmarks |
matrix containing landmarks defined on the atlas, as well as on each specimen in the corresponding sample. |
patch |
matrix containing semi-landmarks to be projected onto each specimen in the corresponding sample. |
corrCurves |
a vector or a list containing vectors specifiyng the rowindices of
|
patchCurves |
a vector or a list containing vectors specifiyng the
rowindices of |
keep.fix |
in case corrCurves are set, specify explicitly which landmarks are not allowed to slide during projection (with |
Returns a list of class "atlas". Its content is corresponding to argument names.
This is a helper function of placePatch
.
placePatch, plotAtlas
data(nose)
atlas <- createAtlas(shortnose.mesh, landmarks =
shortnose.lm[c(1:5,20:21),], patch=shortnose.lm[-c(1:5,20:21),])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.