TOpenCLValue.ThreshBottom Method

function ThreshBottom(const Src: TOpenCLValue; Value: Double): TOpenCLValue;

Threshold bottom operation.

#NameTypeDescription
1SrcTOpenCLValue
2ValueDoublescalar

Returns: TOpenCLValue

Remarks:

Perform threshold operation on Src. The Value parameter is a lower bound for the threshold operation. Src value smaller than Value will be replaced with Value.

Examples
var a,b: clValue;
begin
    b.Copy(0.1);
    a.ThreshBottom(b, 0.2); // a = [0.2]
end;
See Also: TOpenCLValue.ThreshTop