# Segmenting the nose on multiple scans

**URL:** <https://discourse.slicer.org/t/segmenting-the-nose-on-multiple-scans/1002>\
**Category:** Support\
**Tags:** registration, segmentation\
**Created:** [September 4, 2017, 6:36pm UTC](https://discourse.slicer.org/t/segmenting-the-nose-on-multiple-scans/1002 "2017-09-04T18:36:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![919](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/919/32/3818_2.png) [@919](https://discourse.slicer.org/u/919)\
**Post date:** [September 4, 2017, 6:36pm UTC](https://discourse.slicer.org/t/segmenting-the-nose-on-multiple-scans/1002/1 "2017-09-04T18:36:43Z")

</div>

I have group of 300 scans (mixture of T1 MRI, T2 MRI and head/face CT) that I want to segment the nose and generate a 3D surface model for each nose from all 300 scans. Can someone tell me if this is the correct or most efficient method to go about this process?

1. Use a CT scan or volumetric T1 MRI of the head (this will be called “head model”) to segment out the nose using the segment editor to generate a baseline anatomical model or atlas for the nose. This will be called “nose model”

2. Use the “Brains” or “Elastix” registration modules to register the “nose model” to each individual scan. The settings will be to non rigidly register the “head model” to each of the 300 scans, with the “head model” being the moving image volume and scan that I want to create the nose model from as the fixed image. That way the size and proportion of the nose from each of the 300 scans is maintained. I was planning on using Rigid + Afiine, then BSpline for the non rigid registration.

3. Once the “head model” has been non rigidly registered to each of the 300 scans I would then use transformation matrix to for each scan to non rigidly align the “nose model” segment as well.

Am I on the right path?  
Is using the segment editor the best way to generate an atlas for the nose?  
Is Bspline the best method to non rigidly register the nose atlas to the individual scans?

Appreciate any advice or tips

---

<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:** [September 5, 2017, 7:46pm UTC](https://discourse.slicer.org/t/segmenting-the-nose-on-multiple-scans/1002/2 "2017-09-05T19:46:04Z")

</div>

This plan makes sense overall. I have just one comment: if you only need the skin surface, then automatic segmentation (using seeds automatically generated from approximate linear registration) could be more accurate and more robust than warping a selected patient’s nose to match all the others using non-rigid registration. It would be hard to match subtle details between different patients.

---

<div class="post-metadata">

**Author:** ![919](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/919/32/3818_2.png) [@919](https://discourse.slicer.org/u/919)\
**Post date:** [September 6, 2017, 1:10am UTC](https://discourse.slicer.org/t/segmenting-the-nose-on-multiple-scans/1002/3 "2017-09-06T01:10:53Z")

</div>

How do I go about using the method of automatically generating seeds from linear regiistration? Do you have a link to a tutorial?

---

<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:** [September 6, 2017, 1:37am UTC](https://discourse.slicer.org/t/segmenting-the-nose-on-multiple-scans/1002/4 "2017-09-06T01:37:24Z")

</div>

The idea is that you do a crude registration (probably linear is enough) that you just use to align “seed” segments with the image. Probably two segments would be enough: air and tissue. Then you run “Grow from seeds” registration (see example [here](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#How_to_run_segment_editor_effects_from_a_script)).

It is new/research work, so there is no tutorial, but there are examples in the Slicer core, extensions, and Python script repository that you can learn from.

---

<div class="post-metadata">

**Author:** ![919](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/919/32/3818_2.png) [@919](https://discourse.slicer.org/u/919)\
**Post date:** [September 12, 2017, 2:15pm UTC](https://discourse.slicer.org/t/segmenting-the-nose-on-multiple-scans/1002/5 "2017-09-12T14:15:49Z")

</div>

I’m not sure I completely follow. So I use my atlas with “seed” segments for the nose tissue and air, align this using linear registration to the new dataset that needs the nose segmented? Then “grow from seeds” on the new dataset?  
How do I restrict the growth to just the nose and not surrounding soft tissue with similar values?

---

<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:** [September 12, 2017, 3:09pm UTC](https://discourse.slicer.org/t/segmenting-the-nose-on-multiple-scans/1002/6 "2017-09-12T15:09:59Z")

</div>

> [@919](#):
>
> So I use my atlas with “seed” segments for the nose tissue and air, align this using linear registration to the new dataset that needs the nose segmented? Then “grow from seeds” on the new dataset?

Correct.

> [@919](#):
>
> How do I restrict the growth to just the nose and not surrounding soft tissue with similar values?

Grow from seeds can separate air, soft tissues, bones, etc. It won’t be able to separate the nose from the face. I would handle separation of the nose as a next step after segmentation. The nose has no clear boundaries, so difficulty of the task is highly dependent on how you define the boundaries and what errors you can tolerate. We can give further advice if you describe the end goal of your project.
