Editor Scripting API
Guide Docs
Preparing search index...
The search index is not available
Lens Scripting API
Lens Scripting API
Built-In
TensorMath
applyThreshold
FunctionapplyThreshold
apply
Threshold
(
inTensor
,
threshold
,
maxValue
,
type
,
outTensor
)
:
void
Applies a fixed-level threshold to each array element.
Parameters
inTensor
:
Float32Array
threshold
:
number
maxValue
:
number
type
:
ThresholdMethod
outTensor
:
Float32Array
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Editor Scripting API
Guide Docs
Lens Scripting API
Loading...
Applies a fixed-level threshold to each array element.