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: TOpenCLValue;
begin
    CreateIt(a,b);
    try
        b.Copy(0.1);
        a.ThreshBottom(b, 0.2); // a = [0.2]
    finally
        FreeIt(a,b);
    end;
end;
See Also: TOpenCLValue.ThreshTop