vgshot(1)

PROGRAM
vgshot - Corrupts an image uniformly with spikes (noise).

SYNTAX

vgshot

-i  input image

-o  resulting output image

[-trigger]
    trigger input

[-n]
    spikes percentage

[-V]
    Gives the version for vgshot

[-U]
    Gives the usage for vgshot

[-P]
    Prompts for command line options

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

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

DESCRIPTION
vgshot corrupts an image uniformly with spikes. The percentage of spikes must be specified by the user. Spike locations are determined using a uniformly distributed random number generator.

The trigger input can be used to cause vgshot to re-execute when used inside cantata. No image is read from this input.

REQUIRED ARGUMENTS

-i  type: infile
    desc: input image

-o  type: outfile
    desc: resulting output image

OPTIONAL ARGUMENTS

-trigger
    type: infile
    desc: trigger input

-n  type: float
    desc: spikes percentage
    default: 10
    bounds: 0.000000 < [-n] < 100.000000

EXAMPLES

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

RESTRICTIONS
can work only with data storage type byte images.

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