代码用到的工具整理 参考网页(http://zhaodaola.site/2013/11/06/cv_untils/) 其中, graph cut改为使用(https://github.com/Borda/pyGCO),增加对float型的支持