Click or drag to resize
ImageTColor, TDepthGrabCut Method
http://www.emgu.com
Use grabcut to perform background foreground segmentation.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
public Image<Gray, byte> GrabCut(
	Rectangle rect,
	int iteration
)

Parameters

rect
Type: System.DrawingRectangle
The initial rectangle region for the foreground
iteration
Type: SystemInt32
The number of iterations to run GrabCut

Return Value

Type: ImageGray, Byte
The background foreground mask where 2 indicates background and 3 indicates foreground
See Also