Sets the values for the lookup table contrast curve.
HRESULT retVal = object.SetContrast(ulCount, Weights);
Type: unsigned long
Number of entries in the contrast curve. This value should be less than or equal to 256.
Type: const float
Array that holds the contrast curve values. These values should be greater than or equal to zero and are usually around 1.0.
Contrast adjustments shift the range of each color channel around a midpoint. The adjustment is applied in ulCount steps over the 256 values of the lookup table.