GrabCutFlag Enumeration OpenCvSharp Class Library
GrabCut algorithm flags

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

[FlagsAttribute]
public enum GrabCutFlag
Members

  Member nameValueDescription
InitWithRect0 The function initializes the state and the mask using the provided rectangle. After that it runs iterCount iterations of the algorithm. [GC_INIT_WITH_RECT]
InitWithMask1 The function initializes the state using the provided mask. Note that GC_INIT_WITH_RECT and GC_INIT_WITH_MASK can be combined. Then, all the pixels outside of the ROI are automatically initialized with GC_BGD . [GC_INIT_WITH_MASK]
Rows2 The value means that the algorithm should just resume. [GC_EVAL]
See Also

Reference