pmneila / PyMaxflow

Python library for creating flow networks and computing the maxflow/mincut (aka graph-cuts for Python)
http://pmneila.github.io/PyMaxflow/
243 stars 59 forks source link

expose reuse_trees flag #25

Closed marcovzla closed 8 years ago

marcovzla commented 8 years ago

Expose reuse_trees flag on maxflow() to reuse search trees as described in

       "Efficiently Solving Dynamic Markov Random Fields Using Graph Cuts."
       Pushmeet Kohli and Philip H.S. Torr
       International Conference on Computer Vision (ICCV), 2005
pmneila commented 8 years ago

Merged. I didn't properly test your code, I only reviewed it. I hope there are no bugs! :)

Thank you!