NAME

enhance - Methods to Enhance an Image


SYNOPSIS

ContrastImage(image,sharpen)

EqualizeImage(image)

GammaImage(image,gamma)

ModulateImage(image,modulate)

NegateImage(image,grayscale)

NormalizeImage(image)


FUNCTION DESCRIPTIONS


ContrastImage

Method ContrastImage enhances the intensity differences between the lighter and darker elements of the image.

The format of the ContrastImage routine is:

        ContrastImage(image,sharpen)

A description of each parameter follows:

image:

The address of a structure of type Image; returned from ReadImage.

sharpen:

If True, the intensity is increased otherwise it is decreased.


EqualizeImage

Method EqualizeImage performs histogram equalization on the reference image.

The format of the EqualizeImage routine is:

        EqualizeImage(image)

A description of each parameter follows:

image:

The address of a structure of type Image; returned from ReadImage.


GammaImage

Method GammaImage converts the reference image to gamma corrected colors.

The format of the GammaImage routine is:

        GammaImage(image,gamma)

A description of each parameter follows:

image:

The address of a structure of type Image; returned from ReadImage.

gamma:

A character string indicating the level of gamma correction.


ModulateImage

Method ModulateImage modulates the hue, saturation, and brightness of an image.

The format of the ModulateImage routine is:

        ModulateImage(image,modulate)

A description of each parameter follows:

image:

The address of a structure of type Image; returned from ReadImage.

modulate:

A character string indicating the percent change in brightness, saturation, and hue in floating point notation separated by commas (e.g. 10.1,0.0,3.1).


NegateImage

Method NegateImage negates the colors in the reference image. The Grayscale option means that only grayscale values within the image are negated.

The format of the NegateImage routine is:

        NegateImage(image,grayscale)

A description of each parameter follows:

image:

The address of a structure of type Image; returned from ReadImage.


NormalizeImage

Method NormalizeImage normalizes the pixel values to span the full range of color values. This is a contrast enhancement technique.

The format of the NormalizeImage routine is:

        NormalizeImage(image)

A description of each parameter follows:

image:

The address of a structure of type Image; returned from ReadImage.