Compartir a través de


bias property

Shifts the range of the filter. This allows representation of values that would otherwise be clamped to 0 or 1.

This property is read-only.

 

Syntax

HRESULT get_bias(
  [out] SVGAnimatedNumber **number
);

Property values

Type: SVGAnimatedNumber

Shifts the range of the filter.

Standards information

Remarks

After applying the ISVGFEConvolveMatrixElement::kernelMatrix to the input image to yield a number and applying the ISVGFEConvolveMatrixElement::divisor, the ISVGFEConvolveMatrixElement::bias attribute is added to each component. One application of ISVGFEConvolveMatrixElement::bias is when it is desirable to have 0.5 gray value be the zero response of the filter. The ISVGFEConvolveMatrixElement::bias property shifts the range of the filter. This allows representation of values that would otherwise be clamped to 0 or 1. If ISVGFEConvolveMatrixElement::bias is not specified, then the effect is as if a value of 0 were specified.