This projects provide some basic graph cut related algorithms and have some nice features to speed your research.