add graph-based image segmentation, IDE code::block