I have a model created with Slicer’s ‘Probe volume with model’. I can display the scalars, and edit the color table, etc., but I can only edit the scalar range up to the maximum (but not exceeding it).
I want to make the maximum value (red in the currently displayed surface) appear yellow. Why can I not arbitrarily set the maximum value of the color table?
I can click the triple dot button and manually enter the intensity range I want, but it doesn’t properly update the range, and when I readjust it with the slider it resets the range I entered manually.
Indeed, there is a glitch that if you change the displayed range values then the maximum range is automatically reset. We’ll fix this, but in the meantime you should still achieve what you need.
There are two main use cases, and both should work well:
A. Shared scalar range: when you want to use the same color mapping across several models. Set “Scalar range mode” to “Color table (LUT)” and set range in Colors module.
B. Set color mapping to an individual segment: When you just want to colorize a model, you can choose an existing color map and tune what range is emphasized (for this you don’t need to set values outside the scalar range of the volume). Or, if you want specific values to have specific colors then edit the colormap using Colors module (for example, make a copy of PET-Heat color table and edit the colors).
If you want to create a sparse color table with randomly distributed colors then you can write a few lines of Python script for that: