# How to predefine sets of segmentation labels?

**URL:** <https://discourse.slicer.org/t/how-to-predefine-sets-of-segmentation-labels/7724>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [July 23, 2019, 12:32pm UTC](https://discourse.slicer.org/t/how-to-predefine-sets-of-segmentation-labels/7724 "2019-07-23T12:32:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![storno](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@storno](https://discourse.slicer.org/u/storno)\
**Post date:** [July 23, 2019, 12:32pm UTC](https://discourse.slicer.org/t/how-to-predefine-sets-of-segmentation-labels/7724/1 "2019-07-23T12:32:33Z")

</div>

Hi there

For a segmentation task in with MRI data I would like to predefine a set of segmentation labels, e.g. T1\_segmentations with segments T1\_Liver and T1\_spleen and the same for T2. Is there a button in the GUI I am missing that provides this functionality or can it be implemented any other way?

Thanks, Steph

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [July 23, 2019, 2:00pm UTC](https://discourse.slicer.org/t/how-to-predefine-sets-of-segmentation-labels/7724/2 "2019-07-23T14:00:46Z")

</div>

Hi Steph,

Do you need a pre-populated segmentation, or a reduced set of items in the terminology selector (that opens when you double-click color)?

If the former, then you can create a segmentation where you add segments with the proper terminology, color, name, etc. and then you can reuse it. For example you can save it as a scene and load that when you start a new segmentation. If you need to start multiple segmentations in the same session, keep the template and clone it every time you need to start a new one (right-click menu in Data module).

If the latter, you need to create a json file that contains only the terminology items you need. Just copy one of the presets that come with Slicer and remove what you don’t need.

---

<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:** [July 23, 2019, 6:15pm UTC](https://discourse.slicer.org/t/how-to-predefine-sets-of-segmentation-labels/7724/3 "2019-07-23T18:15:23Z")

</div>

> [@cpinter](#):
>
> If the former, then you can create a segmentation where you add segments with the proper terminology, color, name, etc. and then you can reuse it. For example you can save it as a scene and load that when you start a new segmentation.

Just this week we added new filter and search tools to the segment list to facilitate this use case. You can find segments in the segmentation by using the filter and then set its state to “in progress” (or “flagged”) and use filter buttons to show only those selected segments.

![](https://user-images.githubusercontent.com/9222709/61647000-6317c300-ac7a-11e9-9c30-1d17f0a08539.png)
