Click or drag to resize

AutoLevelsCommand Constructor (Color, Color, Double, Double)

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

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

Parameters

outputRangeLow
Type: System.DrawingColor
The low pixel value to stretch the histogram to.
outputRangeHigh
Type: System.DrawingColor
The high pixel value to stretch the histogram to.
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.
Exceptions
ExceptionCondition
Thrown if the 'clip' argument is less than 0 or greater than 100.
See Also