AdaptiveThreshold
AdaptiveThreshold
Library
ComputerVision/Images/Transformations/Misc
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
blockSize | Block Size | Indicates the matrix size of the pixel neighborhood used to calculate a threshold value for a pixel. | Scalar | |
maxValue | Max Value | Scalar | ||
constant | Constant | Indicates a constant value subtracted from the mean or weighted mean. Specify the constant as an integer. | Scalar | |
method | Method | Gaussian: Indicates that the threshold value T(x,y) is a weighted sum (cross-correlation with a Gaussian window) of the pixel neighborhood of (x,y) minus the specified constant. Mean: Indicates that the threshold value T(x,y) is the mean of the pixel neighborhood of (x,y) minus the specified constant. | String | 'Gaussian' |
type | Type | Indicates the thresholding type. There are two choices: Binary and Binary Inverted. | String | 'Binary' |
externalActivation | External activation | This parameter defines if the block receives or inherits an external activation. When External Activation is used, an additional activation port is added to the block. Default is OFF. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
src(Grayscale) | explicit | input | 1 | |
image | explicit | output | 1 | |
Port 3 | activation | input | externalActivation |