# Creating ear model from image

**URL:** <https://discourse.slicer.org/t/creating-ear-model-from-image/28599>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [March 27, 2023, 2:03pm UTC](https://discourse.slicer.org/t/creating-ear-model-from-image/28599 "2023-03-27T14:03:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohan\_R\_ed21d021](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mohan_r_ed21d021/32/18796_2.png) [@Mohan\_R\_ed21d021](https://discourse.slicer.org/u/Mohan_R_ed21d021)\
**Post date:** [March 27, 2023, 2:03pm UTC](https://discourse.slicer.org/t/creating-ear-model-from-image/28599/1 "2023-03-27T14:03:03Z")

</div>

i want to segment a ear model in the 3D Slicer. could anyone give some ideas to get the accurate ear model?

---

<div class="post-metadata">

**Author:** ![mangotee](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mangotee](https://discourse.slicer.org/u/mangotee)\
**Post date:** [March 27, 2023, 2:52pm UTC](https://discourse.slicer.org/t/creating-ear-model-from-image/28599/2 "2023-03-27T14:52:51Z")

</div>

Hi Mohan,  
not sure what you mean with “ear model”. In case you’re referring to the inner ear, we published a multimodal inner ear model, with templates in T1, T2 and CISS MRI, the paper can be found [here](https://www.nature.com/articles/s41598-021-82716-0). You can download all materials from our [repository on GitHub](https://github.com/pydsgz/IEMap) using Git-LFS or using this [direct link](https://www.dropbox.com/s/1f05i5gx8bkcyc9/IEMap_data_v_1_0.zip?dl=0).

 ![IEMap](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/a/fa67dd951ec3e92fdcb2eb70cd8d0ec2cefb732a.jpeg)

To segment the inner ear, you need to use deformable registration to register the template (single- or multi-contrast) to your subject’s inner ear. You can use Slicer tools like SlicerAnts or Elastix Toolbox to achieve this.

---

<div class="post-metadata">

**Author:** ![Mohan\_R\_ed21d021](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mohan_r_ed21d021/32/18796_2.png) [@Mohan\_R\_ed21d021](https://discourse.slicer.org/u/Mohan_R_ed21d021)\
**Post date:** [March 28, 2023, 7:45am UTC](https://discourse.slicer.org/t/creating-ear-model-from-image/28599/4 "2023-03-28T07:45:01Z")

</div>

i want to create ear model with ear canal and outer ear (skin and cartilage ) from MRI data. could anyone guide me?

---

<div class="post-metadata">

**Author:** ![Mohan\_R\_ed21d021](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mohan_r_ed21d021/32/18796_2.png) [@Mohan\_R\_ed21d021](https://discourse.slicer.org/u/Mohan_R_ed21d021)\
**Post date:** [March 28, 2023, 7:47am UTC](https://discourse.slicer.org/t/creating-ear-model-from-image/28599/5 "2023-03-28T07:47:07Z")

</div>

only i need external ear with canal part. is it possible from MRI data?. if you know , just give me the guidance.

---

<div class="post-metadata">

**Author:** ![mangotee](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mangotee](https://discourse.slicer.org/u/mangotee)\
**Post date:** [March 28, 2023, 7:59am UTC](https://discourse.slicer.org/t/creating-ear-model-from-image/28599/6 "2023-03-28T07:59:56Z")

</div>

I think that’s possible, also for the external ear with canal part. The simplest way is to take one subject’s MRI and annotate that to create a single-subject atlas.

A more representative (i.e. less biased) model can be created by building an average ear template from a few subjects, and annotating that into a multi-subject atlas.  
To create that, you need high-quality (i.e. high-resolution) MRI images from a few subjects. The way I approached this is to create a custom template using [ANTs](https://stnava.github.io/ANTs/) and their great template building tools. A concrete example is given [here](https://ntustison.github.io/TemplateBuildingExample/). It even works for multimodal MRI (as in our inner ear case)!  
You can either register the full heads and create a bilateral template, or you can create crops of left/right ear regions and horizontally flip all left ears onto the right ears and create a unilateral template. This way, you double your input data (left vs right anatomy is symmetric but not identical, there’s still small variation to learn from). For a full description of the unilateral procedure, you can check our publication for the inner ear, the workflow would be almost identical. The bilateral (full-head) procedure is much simpler even.

A heads-up though… the outer ear (incl. the full auricle) must be visible for all subjects, with a bit of air margin in the FOV to allow for registration, otherwise you can get partial registrations and noise in the template. This was the case for our data. The outer ear was not of interest to us, but I noticed that the template reconstruction was quite noisy for the auricle (i.e. ghost images overlaid onto each other), because there’s so much variation across subjects. It will need some tweaking to get all subjects’ ears aligned properly.

---

<div class="post-metadata">

**Author:** ![Mohan\_R\_ed21d021](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mohan_r_ed21d021/32/18796_2.png) [@Mohan\_R\_ed21d021](https://discourse.slicer.org/u/Mohan_R_ed21d021)\
**Post date:** [March 28, 2023, 8:19am UTC](https://discourse.slicer.org/t/creating-ear-model-from-image/28599/7 "2023-03-28T08:19:04Z")

</div>

Thank you , I will try that.

---

<div class="post-metadata">

**Author:** ![Mohan\_R\_ed21d021](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mohan_r_ed21d021/32/18796_2.png) [@Mohan\_R\_ed21d021](https://discourse.slicer.org/u/Mohan_R_ed21d021)\
**Post date:** [April 4, 2023, 5:36pm UTC](https://discourse.slicer.org/t/creating-ear-model-from-image/28599/8 "2023-04-04T17:36:04Z")

</div>

i want to know about what is single subject atlas. and could give some detailed procedure to import data and segmentation?
