# Volume display colour map of only a segmentation of the image

**URL:** <https://discourse.slicer.org/t/volume-display-colour-map-of-only-a-segmentation-of-the-image/23476>\
**Category:** Support\
**Created:** [May 18, 2022, 8:01pm UTC](https://discourse.slicer.org/t/volume-display-colour-map-of-only-a-segmentation-of-the-image/23476 "2022-05-18T20:01:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacchevalier](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@Jacchevalier](https://discourse.slicer.org/u/Jacchevalier)\
**Post date:** [May 18, 2022, 8:01pm UTC](https://discourse.slicer.org/t/volume-display-colour-map-of-only-a-segmentation-of-the-image/23476/1 "2022-05-18T20:01:00Z")

</div>

Hi guys,  
I’m trying to create this heat map but only within the segmentation and the remaining image to be a greyscale CT as usual. Any suggestions?

 ![Screen Shot 2022-05-18 at 3.58.19 PM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/4/e46f09002b0d9c935cdf443fa311fd2e37b8c99e.png)

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [May 18, 2022, 8:12pm UTC](https://discourse.slicer.org/t/volume-display-colour-map-of-only-a-segmentation-of-the-image/23476/2 "2022-05-18T20:12:32Z")

</div>

One way would be to use the Mask Volume effect in the Segment Editor to make a version with just the segmented region, apply the color map to the new volume, and put it in the Foreground layer in the slice viewers with a threshold that makes all the Background show everywhere else.

---

<div class="post-metadata">

**Author:** ![Jacchevalier](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@Jacchevalier](https://discourse.slicer.org/u/Jacchevalier)\
**Post date:** [May 18, 2022, 8:25pm UTC](https://discourse.slicer.org/t/volume-display-colour-map-of-only-a-segmentation-of-the-image/23476/3 "2022-05-18T20:25:04Z")

</div>

Thank you so much! the only part I’m not having success with is moving it to the foreground… how would i do that?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [May 18, 2022, 8:28pm UTC](https://discourse.slicer.org/t/volume-display-colour-map-of-only-a-segmentation-of-the-image/23476/4 "2022-05-18T20:28:18Z")

</div>

You can use the volume selectors in the view controller and the Foreground volume opacity slider.

[https://slicer.readthedocs.io/en/latest/user\_guide/user\_interface.html#slice-view](https://slicer.readthedocs.io/en/latest/user_guide/user_interface.html#slice-view)

Good luck!
