clValue.ThreshBottom Method

TOpenCLValue ThreshBottom(TOpenCLValue Src, Double Value)

Threshold bottom operation.

#NameTypeDescription
1SrcTOpenCLValuesource TOpenCLValue
2ValueDoublescalar

Returns: TOpenCLValue

Remarks:

Perform threshold operation on Src object value. The Value parameter is a lower bound for threshold operation. A value smaller than Value will be replaced with Value and stored in to the calling object.

Examples
clValue a;
clValue b;
b.Copy(0.1);
a.ThreshBottom(b, 0.2); // a = new double[] {0.2}
See Also: clValue.ThreshTop