SGIPaletteImg

DESCRIPTION

Convert to a RGB palette color model using a default SGI lookup table. The RGB image is dithered and then mapped to the lookup table. The output is intended to be suitable for writing to a colormap window using rectwrite() or writepixels(). The dithering matrix used is:
 0   8   2  10
 2   4  14   6
 3  11   1   9
 5   7  13   5

INPUTS

Port: Img In
Type: Lattice
Constraints: 1..3-D
source image

WIDGETS

OUTPUTS

Port: Img Out
Type: Lattice
Constraints: 1..3-D
image converted to lookup indices

PROBLEMS

SEE ALSO

WriteImg
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996