ThresholdNode
Overview
Applies OpenCV thresholding to a grayscale image.
Inputs
Image 1 (GrayScaleImage)
Threshold value (Float)
New value (Int)
Type (ThresholdType)
Parameters
Threshold value: min 0, max 255, default 10. Cutoff used by cv2.threshold
New value: min 0, max 255, default 255. Value assigned to pixels that pass the threshold
Type: default Binary. Thresholding mode (Binary, Triangle, Otsu)
Outputs
Result Image (GrayScaleImage)
Threshold value (Float): Actual threshold used by OpenCV
Type (ThresholdType)
Example
Set Threshold value to 30 and Type to Otsu for automatic thresholding.