ThresholdType Fields |
The ThresholdType type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Binary |
value = value > threshold ? max_value : 0
|
![]() ![]() | BinaryInv |
value = value > threshold ? 0 : max_value
|
![]() ![]() | Mask |
Mask
|
![]() ![]() | Otsu |
use Otsu algorithm to choose the optimal threshold value;
combine the flag with one of the above CV_THRESH_* values
|
![]() ![]() | ToZero |
value = value > threshold ? value : 0
|
![]() ![]() | ToZeroInv |
value = value > threshold ? 0 : value
|
![]() ![]() | Triangle |
Use Triangle algorithm to choose the optimal threshold value
|
![]() ![]() | Trunc |
value = value > threshold ? threshold : value
|
![]() | value__ |