Accusoft.ImagXpress12.Net
AdjustColorBalance Method
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > Processor Class : AdjustColorBalance Method




color

An integer value which represents the color to balance.

The range is 0 - 100.

0 indicates no correction of the image.

Values greater than zero increase the amount of correction performed.

red

An integer which represents the red color of the auto color balance algorithm result.

0 indicates no change to the red component of the image. (Red component will be the same as in the original image.)

Values less than zero decrease the red component of the image.

Values greater than zero increase the red component of the image.

green

An integer which represents the green color of the auto color balance algorithm result.

0 indicates no change to the green component of the image. (Green component will be the same as in the original image.)

Values less than zero decrease the green component of the image.

Values greater than zero increase the green component of the image.

blue

An integer which represents the blue color of the auto color balance algorithm result.

0 indicates no change to the blue component of the image. (Blue component will be the same as in the original image.)

Values less than zero decrease the blue component of the image.

Values greater than zero increase the blue component of the image.

Glossary Item Box

Overrides the default parameters when auto color balancing the image.

Syntax

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

Parameters

color

An integer value which represents the color to balance.

The range is 0 - 100.

0 indicates no correction of the image.

Values greater than zero increase the amount of correction performed.

red

An integer which represents the red color of the auto color balance algorithm result.

0 indicates no change to the red component of the image. (Red component will be the same as in the original image.)

Values less than zero decrease the red component of the image.

Values greater than zero increase the red component of the image.

green

An integer which represents the green color of the auto color balance algorithm result.

0 indicates no change to the green component of the image. (Green component will be the same as in the original image.)

Values less than zero decrease the green component of the image.

Values greater than zero increase the green component of the image.

blue

An integer which represents the blue color of the auto color balance algorithm result.

0 indicates no change to the blue component of the image. (Blue component will be the same as in the original image.)

Values less than zero decrease the blue component of the image.

Values greater than zero increase the blue component of the image.

Remarks

This method applies the same algorithm as the AutoColorBalance method to automatically balance color in the image, but enables the user to override the default parameters of the algorithm.

Since pixel values must fall within the range of 0 - 255, resulting pixel values less than 0 are set to 0 and resulting pixel values greater than 255 are set to 255.

Note: Available in Professional edition.

See Also

©2013. Accusoft Corporation. All Rights Reserved.