Learn R Programming

Morpho (version 2.12)

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)

Value

deformed

matrix containing deformed landmarks

orig

matrix containing original landmarks

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

factor controlling the bandwidth for calculating local weights (which will be hmult * average distance between landmarks and their closest neighbour).

alpha

factor controlling spacing along x-axis

References

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