venhpatch(1)

PROGRAM
venhpatch - Equalize or stretch image contrast based on local histogram information.

SYNTAX

venhpatch

-i  input image

-o  resulting output image

-w  specifies local width of region

-h  specifies local height of region

[-t]
    Choose Stretch [False] or Equalize [True]

[-V]
    Gives the version for venhpatch

[-U]
    Gives the usage for venhpatch

[-P]
    Prompts for command line options

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

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

DESCRIPTION
venhpatch stretches the contrast of an image based on local histogram information. The result is a patch work of differently enhanced subimages. The -t option allows the user to select equalization or stretch within each local region.

REQUIRED ARGUMENTS

-i  type: infile
    desc: input image

-o  type: outfile
    desc: resulting output image

-w  type: integer
    desc: specifies local width of region

-h  type: integer
    desc: specifies local height of region

OPTIONAL ARGUMENTS

-t  type: boolean
    desc: Choose Stretch [False] or Equalize [True]
    default: true

EXAMPLES
venhpatch -i input.image -o output.image -w 25 -h 25 -t 1

This command patch-wise enhances input.image and stores the result in output.image. The size of the patches is 25 by 25, and the type of enhancement is equalization.

SEE ALSO
intro(1), verror(3), vgparms(3), vutils(3) vheq(1), vhstr(1)

RESTRICTIONS
venhpatch will work very poorly if the region size is smaller than the default values. The data storage type of the input image should be BYTE.

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