scalismo.statisticalmodel.dataset
Builds a DataCollection instance from a reference mesh and a directory containing meshes in correspondence with the reference.
Builds a DataCollection instance from a reference mesh and a directory containing meshes in correspondence with the reference. Only vtk and stl meshes are currently supported.
a data collection containing the valid elements as well as the list of errors for invalid items.
Builds a DataCollection instance from a reference mesh and a sequence of meshes in correspondence.
Builds a DataCollection instance from a reference mesh and a sequence of meshes in correspondence. Returns a data collection containing the valid elements as well as the list of errors for invalid items.
Performs a Generalized Procrustes Analysis on the data collection.
Performs a Generalized Procrustes Analysis on the data collection. This is done by repeatedly computing a new reference mesh that is the mean of all meshes in the dataset and aligning all items rigidly to the mean. The final mean mesh will be the reference of the new data collection.
Implements utility functions on DataCollection instances