Overview
GrabCut alternates between estimating foreground/background color distributions and solving a graph-cut labeling problem.
Segments foreground from background using graph cuts and color models.
Compact metadata for implementation and discovery.
GrabCut alternates between estimating foreground/background color distributions and solving a graph-cut labeling problem.
Quick facts
Runtime and memory behavior at a glance.
Best
O(pixels)
Average
O(iterations * graph_cut)
Worst
O(iterations * graph_cut)
Space
O(pixels)
E(labeling) = data_cost + smoothness_costBalances color-model fit with boundary smoothness.
Show the source image beside masks, filters, or motion vectors produced by the algorithm.
GrabCut should be used with the assumptions and tradeoffs of image Segmentation in mind.
What each reference supports for this entry.
Original GrabCut reference for iterative graph-cut foreground extraction and border matting.
Open sourceComputer-vision reference supporting GrabCut feature extraction, image registration, segmentation, or multiscale image-analysis workflow.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
GrabCut and watershed segmentation are interactive or region-based alternatives for image segmentation.