Calculating the average deformations from Model to Model Distance

Is there a way to compute the average Hausdorf distances between models so that you can show the average displacement? Also, can you create an average model, or a minimum/maximum model given specified points such as a statistical shape model?

You can use the Segment Comparison module in the SlicerRT extension. To compare the models, you first need to convert them to segmentations. You can do it in the Data module by right-clicking the models and choosing “Convert model to segmentation node”.

I think an average model can best be created from the labelmap representations (then converted back to surface). You can export the segments to labelmaps and sum them together (Add Scalar Volumes or Simple Filters module) to get a probabilistic-like image. Or you can create then manipulate distance maps to get the average model. The best way depends on what you want exactly.

SlicerSALT extension should be able to provide these. @muratmaga’s morphometry extension may be usable for this, too.

I think SPharm is probably your best bet. We currently do not have tools to generate average models directly from meshes. If you have landmarks that go with the models, SlicerMorph can do it.

Outside of Slicer, you can also try Shape Works Studio from Utah (, but you will need to provide labelmaps already aligned in a common coordinate system as your input.

With my models, I am trying to avoid doing landmark based Procrustes to align them. How do you build an average model in SPharm?

No matter what you do, probably landmarks are still the best option for initial alignment (moments-based alignment is not accurate enough, ICP is not robust enough, etc.). Parametric models then help you getting correspondence between all the points (not just the landmarks).

See Tutorials are in a very well hidden section near the bottom right of the page.

@bpaniagua If you want to people to find these tutorials, make them much more visible (for example, add green buttons to that section as well, or move tutorials section into a new row).

A post was split to a new topic: Get average deformation from model to model