# Add labels/ inscription in the created segmentation/model

**URL:** <https://discourse.slicer.org/t/add-labels-inscription-in-the-created-segmentation-model/4372>\
**Category:** Support\
**Created:** [October 12, 2018, 11:01am UTC](https://discourse.slicer.org/t/add-labels-inscription-in-the-created-segmentation-model/4372 "2018-10-12T11:01:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![katharina\_hecker](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/katharina_hecker/32/3431_2.png) [@katharina\_hecker](https://discourse.slicer.org/u/katharina_hecker)\
**Post date:** [October 12, 2018, 11:01am UTC](https://discourse.slicer.org/t/add-labels-inscription-in-the-created-segmentation-model/4372/1 "2018-10-12T11:01:19Z")

</div>

Hello everyone,  
I wanted to ask, if it is possible to create labels/inscriptions in the 3D view at the created models/ volume renderings? That would be really great!

Thanks for all your suggestions!

---

<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:** [October 12, 2018, 1:05pm UTC](https://discourse.slicer.org/t/add-labels-inscription-in-the-created-segmentation-model/4372/2 "2018-10-12T13:05:24Z")

</div>

You can export segmentation to labelmap (in Segmentations node), then go to Colors module to show color legend in 3D view:

- find the colormap generated for the exported labelmap node - it should be at the top, inside Segmentations section
- scroll down to Scalar bar section and open it
- enable “Use color names for labels”,
- enable “Display scalar bar”
- set “Format” to `%s`
- set “Maximum number of colors” and “Number of labels” to the number of segments + 1 (if you have 7 segments, set it to 8)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/8/c8b32a43c8b44adfc5d2cd7e7fdf63a82d0db0d8.png)

If you want to mark place labels on segments then currently your only option is to add markup fiducials and edit their labels manually (in Markups module).

---

<div class="post-metadata">

**Author:** ![katharina\_hecker](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/katharina_hecker/32/3431_2.png) [@katharina\_hecker](https://discourse.slicer.org/u/katharina_hecker)\
**Post date:** [October 13, 2018, 2:08pm UTC](https://discourse.slicer.org/t/add-labels-inscription-in-the-created-segmentation-model/4372/3 "2018-10-13T14:08:50Z")

</div>

Thanks a lot Sir, this is a great option!

---

<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:** [October 13, 2018, 2:27pm UTC](https://discourse.slicer.org/t/add-labels-inscription-in-the-created-segmentation-model/4372/4 "2018-10-13T14:27:11Z")

</div>

I’ve also added an option to improve label placement, it’ll be available in nightly version from tomorrow. If you click “Center labels” checkbox then labels will be placed in the middle of each color swatch.

---

<div class="post-metadata">

**Author:** ![katharina\_hecker](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/katharina_hecker/32/3431_2.png) [@katharina\_hecker](https://discourse.slicer.org/u/katharina_hecker)\
**Post date:** [October 13, 2018, 4:18pm UTC](https://discourse.slicer.org/t/add-labels-inscription-in-the-created-segmentation-model/4372/5 "2018-10-13T16:18:26Z")

</div>

Thank you very much!!!

---

<div class="post-metadata">

**Author:** ![katharina\_hecker](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/katharina_hecker/32/3431_2.png) [@katharina\_hecker](https://discourse.slicer.org/u/katharina_hecker)\
**Post date:** [October 16, 2018, 9:49am UTC](https://discourse.slicer.org/t/add-labels-inscription-in-the-created-segmentation-model/4372/6 "2018-10-16T09:49:51Z")

</div>

Hello again,  
quick question: would it be possible to integrate the Screen Capture module in the nightly version, were the “Center labels” checkbox is now integrated? That would be nice so that you can create a video…

---

<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:** [October 16, 2018, 2:05pm UTC](https://discourse.slicer.org/t/add-labels-inscription-in-the-created-segmentation-model/4372/7 "2018-10-16T14:05:37Z")

</div>

There has been a [temporary issue](https://discourse.slicer.org/t/2018-10-15-windows-nightly-build-unable-to-import-vtk/4403/3) in the nightly build. Screen Capture module should be available in tomorrow’s nightly build.

---

<div class="post-metadata">

**Author:** ![katharina\_hecker](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/katharina_hecker/32/3431_2.png) [@katharina\_hecker](https://discourse.slicer.org/u/katharina_hecker)\
**Post date:** [October 16, 2018, 3:19pm UTC](https://discourse.slicer.org/t/add-labels-inscription-in-the-created-segmentation-model/4372/8 "2018-10-16T15:19:32Z")

</div>

Thank you very much!
