makepseudo

[ XITE Reference Manual | XITE home ]

Name

makepseudo - Make a pseudocolor image with corresponding colortable from rgb color image

Syntax

makepseudo <inimage> <outimage> <colortable-file>

Description

Performs color quantization of an input rgb color image. An output image and a colortable-file are produced. The values in the output image should be used as indices to the colortable.

Color quantization is done by colorquant(1), with colorstep equal to 2, while the colortable is built by mct(1).

Starting with XITE version 3.2 this can be done in one step by colorquant(1).

Options

None

See also

colorquant(1), mct(1), color2ascii(1)

Restrictions

Input image must be three-band rgb image.

Author

Svein Bøe

Id

$Id: makepseudo.sh,v 1.11 1997/06/05 11:26:36 svein Exp $