Last year someone wrote code that performs the Berkley gPb image segmentation algorithm in OpenCV (https://github.com/HiDiYANG/gPb-GSoC). As far as I know it hasn't made it into the OpenCV main codebase yet, but I'd like to use it in my OpenCV python code. 1. I've read http://docs.opencv.org/trunk/doc/py_tutorials/py_bindings/py_bindings_basics/py_bindings_basics.html but I can't work out if I need to alter CMakeLists.txt in opencv-2.4.8.2/modules/python/, if I simply run opencv-2.4.8.2/modules/python/src2/gen2.py on my modified c++ header files (which seems to do nothing), or quite what. 2. Are there plans to implement the gPb algorithm in upcoming releases? There seem to be no followups to http://code.opencv.org/issues/2728, even though it seems like quite a lot of the work has been done by Di Yang in the github repository above.