Modeling Guide

Adaptive Threshold

The Adaptive Threshold operator applies an adaptive threshold to an image.

Configuration Parameters

Parameter

Type

Description

maxval

float

Non-zero value assigned to the pixels for which the condition is satisfied. See the details below.
blockSize

int

Size of a pixel neighborhood that is used to calculate a threshold value for the pixel: 3, 5, 7, and so on.
c

float

Constant subtracted from the mean or weighted mean (see the details below). Normally, it is positive but may be zero or negative as well.

Input

Input

Type

Description

imageIn

message.python.image

Input image

Output

Output

Type

Description

imageOut

message.python.image

Output image