Click or drag to resize

AutoContrastCommand Constructor (Int32, Int32, Double)

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

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
)

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.
Exceptions
ExceptionCondition
Thrown if the outputRangeLow or outputRangeHigh value is less than 0 or greater than 255.
See Also