Accusoft ImagXpress 13
AdjustColorBalance Method
The color parameter of the auto color balance algorithm, defining the strength of color case and contrast correction to be applied to the image.
range: 0 - 100
The red color parameter of the auto color balance algorithm result.
range: -100 to 100
The green color parameter of the auto color balance algorithm result.
range: -100 to 100
The blue color parameter of the auto color balance algorithm result.
range: -100 to 100
Description
Overrides the default parameters when auto color balancing the image.
Syntax
Visual Basic
Public Sub AdjustColorBalance( _
   ByVal Color As Integer, _
   ByVal Red As Integer, _
   ByVal Green As Integer, _
   ByVal Blue As Integer _
) 
Parameters
Color
The color parameter of the auto color balance algorithm, defining the strength of color case and contrast correction to be applied to the image.
range: 0 - 100
  • 0 indicates no correction of the image
  • Values greater than zero increase the amount of correction performed
Red
The red color parameter of the auto color balance algorithm result.
range: -100 to 100
  • 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
The green color parameter of the auto color balance algorithm result.
range: -100 to 100
  • 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
The blue color parameter of the auto color balance algorithm result.
range: -100 to 100
  • 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
  • Values greater than zero increase the blue component of the image.
Remarks

This method applies the same algorithm as AutoColorBalance, 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 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

ImagXpress Object  | ImagXpress Members  | AutoColorBalance Method  | Color Image Processing  | Image Processing

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback