GetBias method

Retrieves the bias value used for the convolution.

Syntax

HRESULT retVal = object.GetBias(pBias);

Parameters

  • pBias [out]
    Type: float

    Pointer to a float with a value from -1.0 to 1.0, used for the filter bias.

Remarks

The bias value is a percentage of a byte value added to each color component of the filtered result. Larger bias values lead to brighter filtered images.