Modeling Guide

Threshold

The Threshold operator applies a threshold to an image.

Configuration Parameters

Parameter

Type

Description

thresh

float

Threshold value.
maxval

float

Maximum value to use with the THRESH_BINARY and THRESH_BINARY_INV thresholding types.
type

int

Thresholding type (see opencv documentation). THRESH_BINARY, THRESH_BINARY_INV, THRESH_TRUNC, THRESH_TOZERO, THRESH_TOZERO_INV

Input

Input

Type

Description

imageIn

message.python.image

Input image

Output

Output

Type

Description

imageOut

message.python.image

Output image