Introduction - If you have any usage issues, please Google them yourself
Roof duality based on the concept of making the smallest binary variable function algorithms, the latest literature is the main Optimizing binary MRFs via extended roof duality, CVPR2007