CPU code for paper:
Fast Graph-Based Object Segmentation for RGB-D Images, Giorgio Toscana, Stefano Rosa https://arxiv.org/abs/1605.03746
--
Dependencies: sudo apt-get install libopencv-dev libboost-system-dev
--
Compile: make
Run: ./main rgb_file_name depth_file_name
Tested on Ubuntu 14.10 and 16.04 64bit, MacOS X 10.10