table of contents
other versions
- wheezy 2.0.4-2
vinvert(1Vi) | vinvert(1Vi) |
NAME¶
vinvert - invert image pixel valuesSYNOPSIS¶
vinvert [option ...] [infile] [outfile]DESCRIPTION¶
vinvert inverts each input image to produce a corresponding output image. The operation is suitable for swapping black and white in a grey-scale image. Each output pixel is computed from the corresponding input pixel byout-pixel = M -
in-pixel
where M is the maximum value allowed by the pixel representation, or 1 in
the case of float or double pixels. Input pixel values must lie
in the range [0, M].
Each output image has the same number of bands, rows and columns, and the same
pixel representation, as the corresponding input image.
COMMAND LINE OPTIONS¶
vinvert accepts the following options:- -help
- Prints a message describing options.
- -in infile
- Specifies a Vista data file containing the input images.
- -out outfile
- Specifies where to write the output images as a Vista data file.
SEE ALSO¶
vnegate(1Vi), vop(1Vi), VImage(3Vi), Vista(7Vi)AUTHOR¶
Art Pope <pope@cs.ubc.ca>24 April 1993 | Vista Version 1.12 |