ImageGear for .NET
EqualizeContrast(ImGearRasterPage,ImGearContrastModes,ImGearChannelRange) Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > EqualizeContrast Method : EqualizeContrast(ImGearRasterPage,ImGearContrastModes,ImGearChannelRange) Method




page
Page to equalize.
mode
One of the contrast processing modes: ImGearContrastModes.PALETTE, ImGearContrastModes.PIXEL, ImGearContrastModes.AUTO.
channels
Channel range to apply EqualizeContrast.

Glossary Item Box

Equalizes image contrast.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

page
Page to equalize.
mode
One of the contrast processing modes: ImGearContrastModes.PALETTE, ImGearContrastModes.PIXEL, ImGearContrastModes.AUTO.
channels
Channel range to apply EqualizeContrast.

Remarks

If image is Indexed and not grayscale, modifies image's palette, otherwise modifies image's pixels. Processes only color channels.

It can be applied only to raster pages with standard (non Run-Ends) DIB.

If ContrastMode is equal to ImGearContrastModes.PALETTE, DIB must have a palette.

Use ImGearRasterProcessingVerifier.CanApplyEqualizeContrast method to check whether the operation can be performed.

See Also

©2013. Accusoft Corporation. All Rights Reserved.