
vqerr(1)                     Khoros                      vqerr(1)

PROGRAM
     vqerr - Compute the quantization error between a quantized
     image and the original.

SYNTAX
     vqerr

     -i1            Quantized image

     -i2            Original image

     -o             Output ASCII File

     [-m]           add operation masking image

     [-V]           Gives the version for vqerr

     [-U]           Gives the usage for vqerr

     [-P]           Prompts for command line options

     [-A [file1]]   Creates the answer file called vqerr.ans or
                    file1

     [-a [file1]]   Uses vqerr.ans or file1 as the answer file

DESCRIPTION
     vqerr computes the RMS quantization error between a quan-
     tized image and the original image.

     The first input image is the quantized image and should have
     maps attached.  The data type of the first image should be
     BYTE or INT.  The map should be of the same data type as the
     data in the second image (the original). The second (origi-
     nal) image should have no maps attached.

     The number of columns in the map of the first input image
     should match the number of bands in the second (original)
     input image.

REQUIRED ARGUMENTS
     -i1    type: infile
            desc: Quantized image

     -i2    type: infile
            desc: Original image

     -o     type: outfile
            desc: Output ASCII File

OPTIONAL ARGUMENTS
     -m     type: infile
            desc: add operation masking image

EXAMPLES
     % vgamut -i mandril.rgb.xv -o mandril.quant % vqerr -i1
     mandril.quant -i2 mandril.rgb.xv -o -

     will quantize the color mandril image and compute the quant-
     ization error.

SEE ALSO
     intro(1), verror(3), vgparms(3), vutils(3), lvqerr(3)
     vipl(3),vquant(1),vgamut(1)

RESTRICTIONS
     vqerr will not operate on BIT, COMPLEX, or DOUBLE data
     storage types.

COPYRIGHT
     Copyright 1991, University of New Mexico.  All rights
     reserved.

Khoros                    Release: 1.0                          1

