multi-label graph cut wrapper C++ implementation using OpenCV