2012-11-26

Pixel Values: Lookup Files

The development branch of TissueStack now contains code to allow a text/label look-up by grayscale value/RGB triple defined in a file of the following layout:

0 0 0 0 Black (Background)
1 197 197 99 yellow (hot)
2 170 170 0 middle of brain (spectral)
3 167 167 0 Center
Notes: 
  • The number of required columns has to be 5 where the leading one is an at the moment unused number increment and the last column contains the associated text/label
  • The separator has to be tabs!
  • For gray-scale look-ups just set column 2 - 4 (RGB) to the desired gray-scale value


No comments:

Post a Comment

Contributors