pure C++ method implement GrabCut algorithm
Qt5
Eigen3
maxflow
Visual Studio C++
mkdir build
cd build
cmake ..
in src/App/
GMM.h,GMM.cpp for Gaussian Mixture Modeling;
GrabCut.cpp and GrabCut.h for main algorithm
mainwindow like this
use open to load an image, and then choose polygon Choose , select the region and Click GrabCut