An implementation of 2004 paper on efficient graph-based image segmentation; wrote in python
To run the code, you need to make sure you have a python2.x environment as well as support for cv2, numpy and matplotlib
At terminal, input "python graphBasedSegmentation.py" to run.
This image (frame-000000.color.jpg of copyroom data is from BundleFusion dataset)(named 'othavScene.jpg' here):
Parameters set here as sigma=1.0, k=2500