# Model morphing based on MRI landmarks

**URL:** <https://discourse.slicer.org/t/model-morphing-based-on-mri-landmarks/31764>\
**Category:** Development\
**Tags:** slicermorph\
**Created:** [September 18, 2023, 2:37am UTC](https://discourse.slicer.org/t/model-morphing-based-on-mri-landmarks/31764 "2023-09-18T02:37:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyncik](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hyncik/32/67418_2.png) [@hyncik](https://discourse.slicer.org/u/hyncik)\
**Post date:** [September 18, 2023, 2:37am UTC](https://discourse.slicer.org/t/model-morphing-based-on-mri-landmarks/31764/1 "2023-09-18T02:37:47Z")

</div>

Hi,

I am working on a female-specific pelvic floor model development based on a template model and MRI landmarks. Currently I have programmed my extension into Slicer, which reads the template model (computational grid / surface facets as polydata) and template landmarks on the model.

 ![ScalingMRI](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/2/c2bd41d732d25b801f17bccb37a21fe66cd5d843.png)

The next step is the morph / warp the template model based on alignment of template landmarks and MRI landmarks. Before programming my own script, I have an idea to employ SlicerMorph or any other already developed extension.

Can you advice, please?

Thank you, Ludek

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [September 18, 2023, 4:38am UTC](https://discourse.slicer.org/t/model-morphing-based-on-mri-landmarks/31764/2 "2023-09-18T04:38:13Z")

</div>

if you have a population of samples, you can use the GPA module in SlicerMorph to derive PCA space of landmark variation and then deform/warp your template along PC axes.

If your goal is to deform a template to a specific subject using landmarks, then fiducial registration wizard in IGT extension would be more relevant. Just use the TPS warping transform. However, I am only seeing four landmarks in your screen capture. If indeed those are the landmarks you are planning to use, they may be quite insufficient for a realistic deformation of the pelvis.

---

<div class="post-metadata">

**Author:** ![hyncik](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hyncik/32/67418_2.png) [@hyncik](https://discourse.slicer.org/u/hyncik)\
**Post date:** [September 18, 2023, 5:34am UTC](https://discourse.slicer.org/t/model-morphing-based-on-mri-landmarks/31764/3 "2023-09-18T05:34:59Z")

</div>

Thank you, I put here just a sample picture, I have over 30 landmarks in total. The aim of this project is also to find the sufficient number and location of landmarks.
