How to make a "mandible template"from many mandibles in slicermorph?

How to make a "mandible template"from many mandibles in slicermorph to match others?

The answer to this depends on what modality you have the data in.

If you have 3D models and at least some landmarks, you can use our DeCa extension to generate template. This is an iterative process where a model is used to as a reference to rigidly align all the others, and then use the rigidly aligned ones to generate a population template.

You can find the paper at: https://www.researchgate.net/publication/375111739_DeCA_A_Dense_Correspondence_Analysis_Toolkit_for_Shape_Analysis

DeCA is not part of the extension catalogue yet, but you can download the repository and manually install the extension.

If you do not have 3D models and landmarks, but volumetric data (e.g., CT scans), you will need to us an atlas-building framework, such as the one provided by ANTs.

GitHub - ANTsX/ANTs: Advanced Normalization Tools (ANTs) (scroll down to find the tutorial for Brian Template)

I have some mandibles whose foremat is ply.,so as follows as your mean,i can use the the DeCa extension ,right?
And i make some fixed landmarks manually to make the template aligh more precisely, is it necessary?

If you have 3D models, yes you can use DeCa. Anatomical (fixed) landmarks makes challenging registration problems a little easier. You don’t have to have a lot of them, anywhere from 6-10 should be sufficient.



Is there a mistake in my steps?I can’t download it in my slicer.

The chinese characters in the path might be playing tricks. Instead unzip the file, and drag the DeCa folder inside the zip archive (not the DeCa-main) to Slicer application window. Then answer OK, to Add Python scripted modules to the application. Then, you are set.

1 Like

Thank you very much.I have mandible datas such as this picture,but this "generate tab"show aligned mesh directory.Do I need make mesh?How can I make mesh?Do you have some video tutorial which can help me,because github can’t show tutorial step by step.

We are going to change and simplify the UI, so there is currently no tutorial.

Before you can generate mean model, you need to align all your samples using a reference model and a set of landmarks. Once you accomplish that those two fields in the Generate Mean (aligned mesh directory, and aligned landmark directory) will be auto-populated.

To run Rigid alignment:

  1. Choose one model and its corresponding landmark as reference.
  2. Specify the input model directory
  3. Specify the input landmark directory (note that filename prefixes for models and landmarks needs to be the same. That’s how matching is done)
  4. Specify the output folders for aligned models and landmarks.

then run rigid alignment. This should be quick, from then, you can switch to the mean model and generate your template.

1 Like