ETcVnAdaptiveThresholdMethod

Offers methods for adaptive threshold.

Syntax

Definition:

TYPE ETcVnAdaptiveThresholdMethod :
(
    TCVN_ATM_MEAN     := 0,
    TCVN_ATM_GAUSSIAN := 1
)DINT;
END_TYPE

Values

Name

Description

TCVN_ATM_MEAN

The threshold value is calculated as the mean of the nBlockSize x nBlockSize neighborhood of (x,y) minus fConstant.

TCVN_ATM_GAUSSIAN

The threshold value is the weighted sum (cross-correlation with a Gaussian window) of the nBlockSize x nBlockSize neighborhood of (x,y) minus fConstant.

Related functions