vinvert(1)

PROGRAM
vinvert - Inverts the gray-levels of a byte type image.

SYNTAX

vinvert

-i  input image

-o  output image

[-V]
    Gives the version for vinvert

[-U]
    Gives the usage for vinvert

[-P]
    Prompts for command line options

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

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

DESCRIPTION
vinvert inverts the gray-levels of a byte type image. Invert (photonegative) is very useful when looking for faint features on a dark background. All that is really done is that each pixel in the image is subtracted from 255.

REQUIRED ARGUMENTS

-i  type: infile
    desc: input image

-o  type: outfile
    desc: output image

OPTIONAL ARGUMENTS
none

EXAMPLES
vinvert -i input.image -o output.image

This subtracts each pixel in input.image from 255 and places the result in output.image.

SEE ALSO
intro(1), verror(3), vgparms(3), vutils(3), lvinvert(3) vnot(1), lvnot(3)

RESTRICTIONS
vinvert will complain if asked to operate non-byte data storage type input images.

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