cv.grabCut - MATLAB File Help
cv.grabCut

Runs the GrabCut algorithm

mask = cv.grabCut(img, rect)
mask = cv.grabCut(img, mask)
[mask, bgdmodel, fgdmodel] = cv.grabCut(...)
[...] = cv.grabCut(..., 'OptionName', optionValue, ...)

Input

Output

Options

The function implements the GrabCut image segmentation algorithm: GrabCut.

See also