MAN page from Mandrake Other XITE-3.3-3.i386.rpm
COLORQUANT
Section: User Commands (1)
Updated: 16 Mar 1998
Index
NAME
colorquant - qolor quantization and rgb to pseudocolorconversion
SYNTAX
colorquant [<option>...] <inimage> <colorfile> <outimage>
DESCRIPTION
Performs color quantization of
inimage.An
outimageanda corresponding
colorfileare produced.
The colorfileis either a BIFF colortable file or an asciicolormap file (depending on options used). The values inoutimageshould be used as indices to thecolortable/colormap.
If inimageis a true-color image (three bands), thenoutimagewill be the pseudocolor version of inimage.
If colorfileis an ascii colormap file and inimageistrue-color, the map-table may be transformed into a colortableby mct.
OPTIONS
- -b start
- Lowest color in output map. Default zero.
- -s step
- Stepbetween each color. Default one.
- -e stop
- Highest color in output map. Default 255.
- -c
- Produce BIFF colortable file instead of ascii map-file.This is only allowed if inimageis a three-band image,regarded as a true color image.
- -ct title
- Titlefor colortable in colorfile.Default: Title ininimage.
- -t title
- Titlefor image in outimage.Default: Title in inimage.
- -verbose
- Print info
-escDon't use escape codes when printing to xterm on verbose.
SEE ALSO
makepseudo(1),
mct(1),
color2ascii(1),
xshow(1)
REFERENCE
Otto Milvang: An adaptive algorithm for color quantization.Proceedings of the 5th Scandinavian Conference on ImageAnalysis.
AUTHOR
Otto Milvang
REVISED
Svein Bøe
EXAMPLES
colorquant -b 10 -e 253 rgb.img m.map pseudo.img
mct m.map m.col
xshow -ct 256 m.col pseudo.img
colorquant -b 10 -s 2 -e 253 -c rgb.img m.col pseudo.img
xshow m.col pseudo.img
ID
$Id: colorquant.c,v 1.43 1997/04/15 10:02:29 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- SEE ALSO
- REFERENCE
- AUTHOR
- REVISED
- EXAMPLES
- ID
This document was created byman2html,using the manual pages.