SetBias method

Sets the bias value used for the convolution.

Syntax

HRESULT retVal = object.SetBias(Bias);

Parameters

  • Bias [in]
    Type: float

    float with a value from -1.0 to 1.0, to use 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.