ETcVnAdaptiveThresholdMethod
Offers methods for adaptive threshold.
Syntax
Definition:
enum ETcVnAdaptiveThresholdMethod : LONG
{
ATM_MEAN = 0,
ATM_GAUSSIAN = 1
};
Values
Name |
Description |
---|---|
ATM_MEAN |
The threshold value is calculated as the mean of the nBlockSize x nBlockSize neighborhood of (x,y) minus fConstant. |
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. |