IDXLUTBuilder::SetThreshold Method

This topic documents a feature of Visual Filters and Transitions, which is deprecated as of Windows Internet Explorer 9 and obsolete as of Internet Explorer 10.

Sets the value for threshold filtering operations.

Syntax


HRESULT SetThreshold(
    float newVal
);

Parameters

newVal
[in] Threshold value. This number can range from 0.0 and 1.0.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

Remarks

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

Community Additions

ADD
Show:
© 2014 Microsoft