Parameter | Description |
---|---|
maxValue | Non-zero value assigned to the pixels for which the condition is satisfied |
adaptiveMethod | Adaptive thresholding algorithm to use |
thresholdType | Thresholding type. This can be ievTHRESH_BINARY or ievTHRESH_BINARY_INV |
blockSize | Size of a pixel neighborhood that is used to calculate a threshold value for the pixel: 3, 5, 7, and so on |
C | Constant subtracted from the mean or weighted mean |