# Display segment names on images

**URL:** <https://discourse.slicer.org/t/display-segment-names-on-images/3788>\
**Category:** Feature requests\
**Created:** [August 15, 2018, 6:35pm UTC](https://discourse.slicer.org/t/display-segment-names-on-images/3788 "2018-08-15T18:35:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin\_Cramer](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@Justin\_Cramer](https://discourse.slicer.org/u/Justin_Cramer)\
**Post date:** [August 15, 2018, 6:35pm UTC](https://discourse.slicer.org/t/display-segment-names-on-images/3788/1 "2018-08-15T18:35:07Z")

</div>

Is there a way to display segment names on every slice in a way similar to annotations on e-anatomy? (see attached image) The verbiage gets confusing because “label” and “annotation” already have different meanings in Slicer, but I essentially want to annotate my segmentation for the purposes of creating an anatomy reference.

Thanks!

 ![label_names](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/5/05aafede24a753601a2dc394a20cd3273dd02a83.png)

---

<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:** [August 28, 2018, 4:22pm UTC](https://discourse.slicer.org/t/display-segment-names-on-images/3788/2 "2018-08-28T16:22:57Z")

</div>

You can use Markups module to mark points and assign a label to each point. The layout is not flexible: label is always displayed near the marked point.

You could write a short Python script to create markups automatically for a selected slice. For example, it could place a markup in the center of gravity of each segment. You could then move the markups manually as needed.

---

<div class="post-metadata">

**Author:** ![rkikinis](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rkikinis/32/791_2.png) [@rkikinis](https://discourse.slicer.org/u/rkikinis)\
**Post date:** [August 28, 2018, 5:14pm UTC](https://discourse.slicer.org/t/display-segment-names-on-images/3788/3 "2018-08-28T17:14:59Z")

</div>

Hi,

Also, dependent on the look-up table that you use, you could associate anatomical names with particular labels. On mouse over those names are displayed in the - data probe area of slicer  
I used the brain atlas as example. It comes with its own custom look-up table.

Best

Ron

Download the brain atlas: [http://www.spl.harvard.edu/publications/item/view/2037](http://www.spl.harvard.edu/publications/item/view/2037)

Standalone viewer: [http://openanatomy.org/](http://openanatomy.org/)

 ![](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/2X/d/dff0556a9f38a262cc6342ddca6c7356dc20d2d8.jpeg)

---

<div class="post-metadata">

**Author:** ![Justin\_Cramer](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@Justin\_Cramer](https://discourse.slicer.org/u/Justin_Cramer)\
**Post date:** [October 8, 2018, 1:39pm UTC](https://discourse.slicer.org/t/display-segment-names-on-images/3788/4 "2018-10-08T13:39:49Z")

</div>

Thanks for the suggestions. Sounds like that specific functionality isn’t available at this point. As a feature request, just a checkbox in the Segment Editor saying “Display visible segment names” would be awesome for creating educational content.

---

<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 8, 2018, 2:17pm UTC](https://discourse.slicer.org/t/display-segment-names-on-images/3788/5 "2018-10-08T14:17:24Z")

</div>

> [@Justin\_Cramer](#):
>
> just a checkbox in the Segment Editor saying “Display visible segment names” would be awesome for creating educational content

This would be certainly nice to have and would be happy to help anyone who would have some time to work on this.

In the meantime, we are starting a project on improving Slicer’s segmentation/atlas export to [Open Anatomy](http://openanatomy.org/). This may make the information almost as easily accessible as static images, but offer much more flexibility.
