Threshold
Description
Applyes a threshold to the input image, threshold will be applied to the given channel.
Params
tSrc | Tensor | The source to be thresholded. |
threshold | number | Value to be applied |
channel | number | Channel to be applied |
Example
gm.threshold(inputImage, 0.5);