GetContrast method

Retrieves the settings for the lookup table contrast curve.

Syntax

HRESULT retVal = object.GetContrast(pulCount, Weights);

Parameters

  • pulCount [in, out]
    Type: unsigned long

    Pointer to the number of entries in the contrast curve.

  • Weights [out]
    Type: float

    Array 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.