GetThreshold method

Retrieves the value used for threshold filtering operations.

Syntax

HRESULT retVal = object.GetThreshold(pVal);

Parameters

  • pVal [out]
    Type: float

    Pointer to the threshold value.

Remarks

For the threshold filtering adjustment, each sample color channel with a value below pVal*255 is set to 0. Each color channel with a value equal to or over that threshold is set to 255.