Standalones

contrast


Creates a high-contrast version of an image.

Pixels with an intensity smaller than the given threshold become white, and pixels with an intensity greater than the threshold become black. The result can be inverted with the -i option.

Usage

contrast <input file> <output file> <start threshold>
[-e <end threshold>] [-i] 
[-r <repeat count>][-s <start frame> <end frame> <step>] [-v]
<input file> is the name of the image file to process.

<output file> is the name you want to give to the result.

<start threshold> is an intensity value in the range [0, 1].

Options

-e
Varies the threshold continuously from frame to frame. You must specify the threshold for the final frame.

-i
Inverts the output image.

-r
Specifies how many times each frame should be repeated. The default is 1.

-s
Performs the operation on a sequence of frames.

-v
Turns on the verbose mode.


Standalones Reference - 15 APR 1996

Generated with Harlequin WebMaker