ThresholdTypes
Objective-C
NS_ENUM(int, ThresholdTypes) {
THRESH_BINARY = 0,
THRESH_BINARY_INV = 1,
THRESH_TRUNC = 2,
THRESH_TOZERO = 3,
THRESH_TOZERO_INV = 4,
THRESH_MASK = 7,
THRESH_OTSU = 8,
THRESH_TRIANGLE = 16
}
Swift
enum ThresholdTypes : Int32
-
Declaration
Objective-C
THRESH_BINARY = 0
Swift
case THRESH_BINARY = 0
-
Declaration
Objective-C
THRESH_BINARY_INV = 1
Swift
case THRESH_BINARY_INV = 1
-
Declaration
Objective-C
THRESH_TRUNC = 2
Swift
case THRESH_TRUNC = 2
-
Declaration
Objective-C
THRESH_TOZERO = 3
Swift
case THRESH_TOZERO = 3
-
Declaration
Objective-C
THRESH_TOZERO_INV = 4
Swift
case THRESH_TOZERO_INV = 4
-
Declaration
Objective-C
THRESH_MASK = 7
Swift
case THRESH_MASK = 7
-
Declaration
Objective-C
THRESH_OTSU = 8
Swift
case THRESH_OTSU = 8
-
Declaration
Objective-C
THRESH_TRIANGLE = 16
Swift
case THRESH_TRIANGLE = 16