Description Usage Arguments Value Examples
align meshes stored in a list by their vertices
1 2 |
meshlist |
list containing triangular meshes of class "mesh3d" |
scale |
logical: request scaling during alignment |
use.lm |
integer vector: specifies the indices of the points that are to be used in the constrained model |
deselect |
logical: if TRUE, missingIndex references the existing coordinates instead of the missing ones. |
array |
logical: if TRUE the superimposed vertices will be returned as 3D array. |
reference |
integer: instead of a GPA, all specimens are aligned to this specific one. |
reflection |
logical: if TRUE, reflections are allowed to minimzie squared distance. |
returns a list of aligned meshes or an array of dimensions k x 3 x n, where k=number of vertices and n=sample size.
1 2 3 | mod <- statismoLoadModel(system.file("extdata","mandibles.h5",package="RvtkStatismo"))
shapes <- restoreSamples(mod)
newalign <- meshalign(shapes,reference=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.