read.ply
.buildtemplate(spec, fixed, surface.sliders, ptsize = 1, center = TRUE)
digit.fixed
, OR a p-x-k matrix of 3D coordinates collected previouslydigitsurface
,
and "surfslide.csv", a file containing the address of the landmarks defined as "surface sliders" for use with gpagen
.
Function also returns to console an n x 3 matrix containing the x,y,z coordinates of the digitized landmarks.digitsurface
. Some of the "fixed" landmarks can be later designated as
"curve sliders" using function define.sliders.3d
if required - see details in digit.fixed
. Because template
matching is based on the correspondence of fixed landmark points in the template and the specimen, a minimum of four fixed landmarks must be used.
To ensure a strong match between the scan and the template, it is recommended that a reasonable number of fixed points be used.
These fixed points can be designated as "curve sliders" later using function define.sliders.3d
,
see the function digit.fixed
for details.
NOTE: Function centers the mesh before digitizing by default (center=TRUE). If one chooses not to center,
specimen may be difficult to manipulate in rgl window.
editTemplate
.
}
digit.fixed
, prompting the user to select fixed landmarks
in the rgl window. However if the user has digitized these fixed landmark elsewhere (e.g., in other software), then the input for
parameter 'fixed' can be a p-x-k matrix of 3D coordinates. In this case, the function will automatically use these landmarks to build the
template of sliding semilandmarks.
}read.ply
digit.fixed
digitsurface