Textonboost as described in the paper Efficient Inference in Fully Connected CRFs with Gaussian Edge Potentials . Sourcecode from: http://graphics.stanford.edu/projects/densecrf/textonboost/