SegmentCommandFlags Enumeration (original) (raw)
Summary
This enumeration indicates the color space used in the segmentation.
Syntax
C#
Objective-C
C++/CLI
Java
Python
[FlagsAttribute()]
public enum SegmentCommandFlags
typedef NS_OPTIONS(NSUInteger, LTSegmentCommandFlags)
public final class SegmentCommandFlags
extends java.lang.Enum<SegmentCommandFlags>
[FlagsAttribute()]
public enum class SegmentCommandFlags
class SegmentCommandFlags(Enum):
None = 0
Rgb = 1
Y = 2
U = 3
V = 4
Uv = 5
NgtvUv = 16
Members
Value | Member | Description |
---|---|---|
0x00000000 | None | No Flags selected. |
0x00000001 | Rgb | Comparison done on red, green and blue difference. |
0x00000002 | Y | Comparison done on Y channel difference of YUV space. |
0x00000003 | U | Comparison done on U channel difference of YUV space. |
0x00000004 | V | Comparison done on V channel difference of YUV space. |
0x00000005 | Uv | Comparison done on U and V channels difference of YUV space. |
0x00000010 | NgtvUv | Consider negative values of U and V of YUV color space. This flag is used only with U or V flags. |