[]
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(int blackPoint, int whitePoint, int outputBlack, int outputWhite, float midtone = 1)
Public Sub AdjustLevels(blackPoint As Integer, whitePoint As Integer, outputBlack As Integer, outputWhite As Integer, Optional midtone As Single = 1)