read.ply
.digitsurface(spec, fixed, ptsize = 1, center = TRUE)
buildtemplate
) by downsampling scanned mesh, registering template with
current specimen via GPA. A nearest neighbor algorithm is used to match template surface landmarks to current specimen's.
To use function digitsurface, the template must be constructed first, and 'template.txt' be in the working directory. 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.
Some of the "fixed" landmarks digitized with digitsurface can be later designated as "curve sliders" using function define.sliders.3d
if required (see details in digit.fixed
).
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.
buildtemplate
read.ply
digit.fixed