http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Use grabcut to perform background foreground segmentation.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public Image<Gray, byte> GrabCut( Rectangle rect, int iteration ) |
Visual Basic |
---|
Public Function GrabCut ( _ rect As Rectangle, _ iteration As Integer _ ) As Image(Of Gray, Byte) |
Visual C++ |
---|
public: Image<Gray, unsigned char>^ GrabCut( Rectangle rect, int iteration ) |
Parameters
- rect
- Type: System.Drawing..::..Rectangle
The initial rectangle region for the foreground
- iteration
- Type: System..::..Int32
The number of iterations to run GrabCut