voffset(1)

PROGRAM
voffset - Add a specified offset to each pixel in the input image.

SYNTAX

voffset

-i  input image

-o  resulting output image

-x  offset value for image

[-m]
    add operation masking image

[-V]
    Gives the version for voffset

[-U]
    Gives the usage for voffset

[-P]
    Prompts for command line options

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

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

DESCRIPTION
voffset add a constant to an image, pixel by pixel with an optional operation gating image.

The optional mask image must be of the same data type and size as the input image. A non-zero mask pixel enables the output pixel to contain the sum. A zero mask pixel just transfers the value of the corresponding pixel in the first input image to the output pixel.

REQUIRED ARGUMENTS

-i  type: infile
    desc: input image

-o  type: outfile
    desc: resulting output image

-x  type: float
    desc: offset value for image

OPTIONAL ARGUMENTS

-m  type: infile
    desc: add operation masking image

EXAMPLES
voffset -i input.image -o output.image -x 2 -m mask.image

This adds 2 to each pixel in input.image using mask.image and places the result in output.image.

SEE ALSO
intro(1), verror(3), vgparms(3), vutils(3), lvoffset(3)

RESTRICTIONS
voffset will not operate on:
    Complex, and Bit
data storage types.

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