Create an atlas needed in placePatch
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
.
data(nose) atlas <- createAtlas(shortnose.mesh, landmarks = shortnose.lm[c(1:5,20:21),], patch=shortnose.lm[-c(1:5,20:21),])
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.