Description Usage Arguments Details Value Examples
Set options for template during the digitizing process through the call of
digitMesh.character
.
1 2 | setTemplOptions(fixed, template = TRUE,
idxTemplate = 1:4, full.files = FALSE)
|
fixed |
A numerical value (positive integer) indicating the number of landmarks to digitize. |
template |
Possible settings: |
idxTemplate |
Numeric vector with positive integers indicating the numbers of landmarks of the template used to
fit it on the mesh, sorted in the order with which they will be digitized on the mesh. For
example, if the landmarks used are the landmarks numbered 10, 12, 17 and 23, and digitized in the
following order on the mesh: 12, 10, 23, 17, |
full.files |
Either a character vector containing the full mesh filenames to treat (in this case the template
filename given in the |
This function allows user to set several parameters for the use of a template possibly needed during the
call of digitMesh.character
. With no arguments, this function returns the default settings
for the template options. Any of those options can be modified by setting new values for the corresponding
arguments. Non-filled arguments will be set to default. Ill-filled arguments will return errors or
warnings.
A list with template
, idxTemplate
plus a logical value makeTempl
indicating if a
template should be created during the digitization process.
1 2 3 4 5 6 7 8 | # returning default settings for 30 landmarks:
TeOpt<-setTemplOptions(30)
# setting for using a 30*3 coordinate matrix as a template, and for digitizing landmarks {8,14,29,3}
# (in this order) to fit th template
# 1. generates first a 30*3 random matrix, just for illustration purpose:
M <- matrix(rnorm(90), 30, 3)
TeOpt<-setTemplOptions(30, template = M, idxTemplate = c(8, 14, 29, 3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.