12/12/2003
|
Menu bar / Palette / Scale & Colorize w/ table.
This is sort of like arbitrary density slicing. Works on the front image (shift for all images), and uses a text, tab-delimited file for the table. It helps to edit the table in Excel, and export as text, tab delimited.
Output is a byte array, displayed as an image. It is initialized to 0, an arbitrary choice. If 0 is not used in the 'val' collumn, then this value will appear for any pixels with values unspecified in the table.
Table example: see 'scale-palette-table-example.txt'
Format:
r, g, and b are the red, green and blue intensities, 0 - 255.
be cut and pasted into Excel for finishing the table by inputing the color
values.
What the colorizer does: For each value in the input image, Lispix goes down the table seeing if the pixel value is equal to or between the lo and hi limits. If it is, the val for that row is put in the output table, and Lispix goes on to the next pixel. In other words, if the rows overlap a bit (and they probably will at the end points), the first row specifies the color.