Each surface contains around 100 000 faces and 50 000 points. In order to compute the mean shape, we have to choose an initial shape (template). For the enamel-dentine junction we can use a half-sphere (with 100 000 faces and 50 000 points):
For comparing the shapes, each surface is aligned by using a reference:
Each surface is aligned using an ICP (Iterative Closest Point) algorithm. Surfaces are aligned by using translation, rotation and scaling.