GetContrast method
Retrieves the settings for the lookup table contrast curve.
Syntax
HRESULT retVal = object.GetContrast(pulCount, Weights);
Parameters
pulCount [in, out]
Type: unsigned longPointer to the number of entries in the contrast curve.
Weights [out]
Type: floatArray that holds the contrast curve values.
Remarks
Contrast adjustments shift the range of each color channel around a midpoint. The adjustment is applied in pulCount steps over the 256 values of the lookup table.