AdjustLevels(UInt32,UInt32,UInt32,UInt32,Single) Method
Adjusts the levels of an image histogram.
The method maps the input range of values (blackPoint..whitePoint) to the output range (outputBlack..outputWhite) using the specified gamma correction (midtone).
public void AdjustLevels(
System.uint ,
System.uint ,
System.uint ,
System.uint ,
System.float
)
'Declaration
Public Overloads Sub AdjustLevels( _
ByVal As System.UInteger, _
ByVal As System.UInteger, _
ByVal As System.UInteger, _
ByVal As System.UInteger, _
Optional ByVal As System.Single _
)
Parameters
- blackPoint
- The input black point in 32-bit ARGB format (the Alpha channel is ignored).
- whitePoint
- The input white point in 32-bit ARGB format (the Alpha channel is ignored).
- outputBlack
- The output black point in 32-bit ARGB format (the Alpha channel is ignored).
- outputWhite
- The output white point in 32-bit ARGB format (the Alpha channel is ignored).
- midtone
- The value of gamma correction.