[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GrayscaleBitmap.AutoContrast

AutoContrast Method

AutoContrast()

Modifies pixel intensities such that available range of values (0..255) is fully covered.

Declaration
public void AutoContrast()
Public Sub AutoContrast()

AutoContrast(float, float)

Modifies pixel intensities, clipping extremely low and extremely high values, such that available range of values (0..255) is fully covered.

Declaration
public void AutoContrast(float lowClipPercent, float highClipPercent)
Public Sub AutoContrast(lowClipPercent As Single, highClipPercent As Single)
Parameters
Type Name Description
float lowClipPercent

The percent of extremely low values to be clipped, not greater than 10.

float highClipPercent

The percent of extremely high values to be clipped, not greater than 10.