Home

Awesome

GrabCut

Image segmentation using GMM EM and Graph Cuts An implementation of the work described here: http://cvg.ethz.ch/teaching/cvl/2012/grabcut-siggraph04.pdf

Getting Started

You can run GrabCutExample data/soldier.png data/soldier_selection.fbmask result.png to run an example segmentation for yourself.

Build notes

This code depends on c++0x/11 additions to the c++ language. For Linux, this means it must be built with the flag gnu++0x (or gnu++11 for gcc >= 4.7).

Dependencies