vsqrt(1)

PROGRAM
vsqrt - Compute the square root of an image pixel by pixel.

SYNTAX

vsqrt

-i  input image

-o  resulting output image

[-m]
    square root operation masking image

[-V]
    Gives the version for vsqrt

[-U]
    Gives the usage for vsqrt

[-P]
    Prompts for command line options

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

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

DESCRIPTION
vsqrt computes the square root of each pixel, with an operation gating image. Negative pixels are set to zero.

The optional mask image must be of the same data type as the input image, and is used to gate the operation. A non-zero mask pixel enables the output pixel to contain the square root. 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

OPTIONAL ARGUMENTS

-m  type: infile
    desc: square root operation masking image

EXAMPLES
vsqrt -i input.image -o output.image -m mask.image

This takes the square root of each pixel in input.image using the mask mask.image and places the resulting image in output.image.

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

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

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