Enum ThresholdTypes
Specifies the available threshold types.
Namespace: OpenCV.Net
Assembly: OpenCV.Net.dll
Syntax
public enum ThresholdTypes : int
Fields
| Name | Description |
|---|---|
| Binary | Specifies that all values above threshold should be set to a fixed max value while all other values should be set to 0. |
| BinaryInv | Specifies that all values above threshold should be set to 0 while all other values should be set to a fixed max value. |
| Otsu | Specifies that the Otsu algorithm should be used to choose the optimal threshold value. Combine the flag with one of the other values. |
| ToZero | Specifies that all values above threshold should be left as they are while all other values should be set to 0. |
| ToZeroInv | Specifies that all values above threshold should be set to 0 while all other values should be left as they are. |
| Truncate | Specifies that all values above threshold should be set to the threshold value while all other values should be left as they are. |