Click or drag to resize

AutoContrastCommand Constructor (Int32, Int32, Double, Double)

Creates a new instance of AutoContrastCommand specifying the output range, gamma and clip values.

Namespace:  Atalasoft.Imaging.ImageProcessing.Effects
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public AutoContrastCommand(
	int outputRangeLow,
	int outputRangeHigh,
	double gamma,
	double clip
)

Parameters

outputRangeLow
Type: SystemInt32
The low pixel value to stretch the histogram to. (0 to 255)
outputRangeHigh
Type: SystemInt32
The high pixel value to stretch the histogram to. (0 to 255)
gamma
Type: SystemDouble
The gamma adjustment to apply when running the filter.
clip
Type: SystemDouble
The percentage of pixels to ignore when calculating the white and black points. (0 to 100)
Exceptions
ExceptionCondition
Thrown if the outputRangeLow or outputRangeHigh is less than 0 or greater than 255, or if the clip value is less than 0 or greater than 100.
See Also