Active Shape Model implementation for dental radiographs, using a blend of the methods suggested by Cootes et al. (1992, Active Shape Models---their training and application) and Blanz et al. (2004, A Statistical Method for Robust 3D Surface Reconstruction from Sparse Data).
Extensive comments can be found in the code.