enhance - Methods to Enhance an Image
void ContrastImage( Image *image, const unsigned int sharpen );
void EqualizeImage( Image *image
);
void GammaImage( Image *image, const char *gamma
);
void ModulateImage( Image *image, const char *modulate
);
void NegateImage( Image *image, const unsigned int grayscale );
void NormalizeImage( Image *image
);
Method ContrastImage enhances the intensity differences between the lighter and darker elements of the image.
The format of the ContrastImage method is:
void ContrastImage ( Image *image, const unsigned int sharpen );
A description of each parameter follows:
The address of a structure of type Image; returned from ReadImage.
If True, the intensity is increased otherwise it is decreased.
Method EqualizeImage performs histogram equalization on the reference image.
The format of the EqualizeImage method is:
void EqualizeImage ( Image *image );
A description of each parameter follows:
The address of a structure of type Image; returned from ReadImage.
Method GammaImage converts the reference image to gamma corrected colors.
The format of the GammaImage method is:
void GammaImage ( Image *image, const char *gamma );
A description of each parameter follows:
The address of a structure of type Image; returned from ReadImage.
A character string indicating the level of gamma correction.
Method ModulateImage modulates the hue, saturation, and brightness of an image.
The format of the ModulateImage method is:
void ModulateImage ( Image *image, const char *modulate );
A description of each parameter follows:
The address of a structure of type Image; returned from ReadImage.
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).
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 method is:
void NegateImage ( Image *image, const unsigned int grayscale );
A description of each parameter follows:
The address of a structure of type Image; returned from ReadImage.
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 method is:
void NormalizeImage ( Image *image );
A description of each parameter follows:
The address of a structure of type Image; returned from ReadImage.