Learn R Programming

Morpho (version 2.1)

retroDeform3d: symmetrize a bilateral landmark configuration

Description

symmetrize a bilateral landmark configuration by removing bending and stretching

Usage

retroDeform3d(mat, pairedLM, hmult = 5, alpha = 0.01)

Arguments

mat
matrix with bilateral landmarks
pairedLM
2-column integer matrix with the 1st columns containing row indices of left side landmarks and 2nd column the right hand landmarks
hmult
damping factor for calculating local weights
alpha
factor controlling spacing along x-axis

Value

  • deformedmatrix containing deformed landmarks
  • origmatrix containing original landmarks in the same order as the deformed ones

References

Ghosh, D.; Amenta, N. & Kazhdan, M. Closed-form Blending of Local Symmetries. Computer Graphics Forum, Wiley-Blackwell, 2010, 29, 1681-1688