# Isolated muscle segmentation from MRI

**URL:** <https://discourse.slicer.org/t/isolated-muscle-segmentation-from-mri/14628>\
**Category:** Support\
**Created:** [November 16, 2020, 5:26am UTC](https://discourse.slicer.org/t/isolated-muscle-segmentation-from-mri/14628 "2020-11-16T05:26:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sz368](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@Sz368](https://discourse.slicer.org/u/Sz368)\
**Post date:** [November 16, 2020, 5:26am UTC](https://discourse.slicer.org/t/isolated-muscle-segmentation-from-mri/14628/1 "2020-11-16T05:26:35Z")

</div>

Hello everybody  
I am creating a 3D foot from a MRI for medical education.  
I see Materialise/Mimic say they have a ‘gradient’ application where you can trace muscle to the boundary of the most contrast tissue difference  
Do we have any functionality like that?  
I am thinking the best method will be fill between slices to segment individual foot muscles? What are your thoughts or does anyone have experience?  
What is difficult is there is not much contrast difference between foot muscles.  
Thanks a lot  
Susan

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [November 16, 2020, 1:29pm UTC](https://discourse.slicer.org/t/isolated-muscle-segmentation-from-mri/14628/2 "2020-11-16T13:29:35Z")

</div>

Are you planning to use MRI or CT? If you have an example dataset people could try some experiments and make suggestions.

---

<div class="post-metadata">

**Author:** ![Sz368](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@Sz368](https://discourse.slicer.org/u/Sz368)\
**Post date:** [November 17, 2020, 11:11am UTC](https://discourse.slicer.org/t/isolated-muscle-segmentation-from-mri/14628/3 "2020-11-17T11:11:41Z")

</div>

Hi Steve,  
I can’t send the images out of our hospital firewall unfortunately  
Thank you though  
Susan

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [November 17, 2020, 1:04pm UTC](https://discourse.slicer.org/t/isolated-muscle-segmentation-from-mri/14628/4 "2020-11-17T13:04:47Z")

</div>

That’s understandable you can’t share the data, but can you describe in in more detail? (CT? MR? resolution?)

---

<div class="post-metadata">

**Author:** ![Sz368](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@Sz368](https://discourse.slicer.org/u/Sz368)\
**Post date:** [November 18, 2020, 1:50pm UTC](https://discourse.slicer.org/t/isolated-muscle-segmentation-from-mri/14628/5 "2020-11-18T13:50:00Z")

</div>

thanks Steve,  
it’s MRI 1.5T PD or T2 images of a foot.  
Small structures like ligaments are difficult to segment without manual segmentation, techniques that interpolate from 2D to 3D are handy.

Muscle muscle interfaces for instance Abductor Hallucis next to flexor hallucis brevis are also tricky to delineate

reading around techniques semi-auto techniques to edges seem handy, I’m assuming that’s similar to grow from seeds techniques which are awesome for lots of things

that’s my experience so far

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 18, 2020, 10:07pm UTC](https://discourse.slicer.org/t/isolated-muscle-segmentation-from-mri/14628/6 "2020-11-18T22:07:06Z")

</div>

> [@Sz368](#):
>
> I see Materialise/Mimic say they have a ‘gradient’ application where you can trace muscle to the boundary of the most contrast tissue difference

Most semi-automatic segmentation methods are gradient based (segment boundaries are placed where gradient is high), such as Grow from seeds, Watershed, Fast marching, Local thresholding.

> [@Sz368](#):
>
> I am thinking the best method will be fill between slices to segment individual foot muscles?

Fill between slices is very efficient for segmenting long structures, such as muscles. It is particularly useful when there is no visible contrast between structures, because this effect does not rely on image content, only on the segmentations that you provide.

> [@Sz368](#):
>
> Small structures like ligaments are difficult to segment without manual segmentation

If you want to segment structures that have cross-section of less than 5-10 voxels then you may consider using Crop volume module to resample to have smaller, isotropic voxels (also crop it to the minimum necessary size to keep the image as small as possible).

---

<div class="post-metadata">

**Author:** ![Sz368](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@Sz368](https://discourse.slicer.org/u/Sz368)\
**Post date:** [November 20, 2020, 3:05pm UTC](https://discourse.slicer.org/t/isolated-muscle-segmentation-from-mri/14628/7 "2020-11-20T15:05:13Z")

</div>

thank you so much for explaining the differences to me Andras and the best way to approach each of these problems. Appreciate your time replying
