This file is an implementation of an image segmentation algorithm described in reference, the result of segmentation was proven to be neither too fine nor too coarse. A toolbox regarding to the algorithm was also avalible in reference, however, a toolbox in matlab environment is excluded, this file is intended to fill this gap.
To duplicate the result of the screenshot, please run:
 Efficient Graph-Based Image Segmentation,
Pedro F. Felzenszwalb and Daniel P. Huttenlocher International Journal of Computer Vision, Volume 59, Number 2, September 2004
The Author want to thanks:
 Yan Zhang
2D/3D image segmentation toolbox
For his "binaryHeap.h" class in cpp
 Dirk-Jan Kroon
Image Edge Enhancing Coherence Filter Toolbox
For the "Coherence Filter Toolbox" he provided
 Luigi Giaccari
FAST K-NEAREST NEIGHBOURS SEARCH 3D VERSION
For the fast implementation of K-NEAREST NEIGHBORS SEARCH in 3D.