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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public AutoLevelsCommand(
Color outputRangeLow,
Color outputRangeHigh,
double gamma,
double clip
)
Public Sub New (
outputRangeLow As Color,
outputRangeHigh As Color,
gamma As Double,
clip As Double
)
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 Exception | Condition |
---|
| Thrown if the 'clip' argument is less than 0 or greater than 100. |
See Also