# Colormap for static display of 12 bit grayscale images

**URL:** <https://discourse.slicer.org/t/colormap-for-static-display-of-12-bit-grayscale-images/606>\
**Category:** Support\
**Created:** [June 30, 2017, 2:14pm UTC](https://discourse.slicer.org/t/colormap-for-static-display-of-12-bit-grayscale-images/606 "2017-06-30T14:14:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jondo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jondo/32/187_2.png) [@jondo](https://discourse.slicer.org/u/jondo)\
**Post date:** [June 30, 2017, 2:14pm UTC](https://discourse.slicer.org/t/colormap-for-static-display-of-12-bit-grayscale-images/606/1 "2017-06-30T14:14:01Z")

</div>

In order to look at 12 bit grayscale images on a 24 bit RGB display, one has to interactively change the rendering brightness to see all areas.

There are “perceptionally uniform” color maps [1] that could be used to render such images statically. This would be useful in situations without interactivity, like reports or papers. Is there a way to use such a color map instead?

[1] like “viridis”, the new [default colormap of Matplotlib 2.0](http://matplotlib.org/users/dflt_style_changes.html#colormap)

---

<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:** [June 30, 2017, 9:51pm UTC](https://discourse.slicer.org/t/colormap-for-static-display-of-12-bit-grayscale-images/606/2 "2017-06-30T21:51:18Z")

</div>

Switch to latest nightly. It is stable, contains lots of fixes, and already contains these colormaps (Inferno, Magma, Plasma, Viridis).

---

<div class="post-metadata">

**Author:** ![jondo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jondo/32/187_2.png) [@jondo](https://discourse.slicer.org/u/jondo)\
**Post date:** [July 3, 2017, 11:38am UTC](https://discourse.slicer.org/t/colormap-for-static-display-of-12-bit-grayscale-images/606/3 "2017-07-03T11:38:35Z")

</div>

Ah - as a newbie I only just found out about the Color module!

I am currently on version 4.7.0-2017-06-22, which already has Viridis in there. How do I use it for displaying a CT volume?

---

<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 3, 2017, 8:34pm UTC](https://discourse.slicer.org/t/colormap-for-static-display-of-12-bit-grayscale-images/606/4 "2017-07-03T20:34:03Z")

</div>

To adjust color mapping, go to `Volumes` module and select a `Lookup table`.
