Skip to content
No description, website, or topics provided.
C++ Other
  1. C++ 98.7%
  2. Other 1.3%
Branch: master
Clone or download
Latest commit 9a8727d Jul 12, 2017

OneCut - software for interactive image segmentation

"Grabcut in One Cut"
Meng Tang, Lena Gorelick, Olga Veksler, Yuri Boykov
In IEEE International Conference on Computer Vision (ICCV), Sydney, Australia, Dec. 2013.

Contact author: Meng Tang (

Example output of OneCut for interactive segmentation in a fraction of a second:

load input image
Image width: 481
Image height: 321
Color bin size: 8
number of non-empty color bins: 1015
load bounding box
run maxflow/mincut
ibfsgraph->getFlow(): 5.67943e+007
save segmentation
saved into: images/326038_result.bmp
It takes 0.439 seconds!
errornum / boxsize 1775 58608
errorrate: 0.030286

Note that for solving maxflow in OneCut, we recommend the IBFS algorithm.

##License and CopyRight## See LICENSE

You can’t perform that action at this time.