symmetrize a triangular mesh
retroDeformMesh(
mesh,
mat,
pairedLM,
hmult = 5,
alpha = 0.01,
rot = TRUE,
lambda = 1e-08,
threads = 0
)
symmetrized mesh
a list containing the deformed and original landmarks
triangular mesh of class mesh3d
matrix with bilateral landmarks
2-column integer matrix with the 1st columns containing row indices of left side landmarks and 2nd column the right hand landmarks
damping factor for calculating local weights which is calculated as humult
times the average squared distance between a landmark and its closest neighbor (on each side).
factor controlling spacing along x-axis
logical: if TRUE the deformed landmarks are rotated back onto the original ones
control parameter passed to tps3d
integer: number of threads to use for TPS deform
this function performs retroDeform3d
and deforms the mesh accordingly using the function tps3d
.