Skip to content
forked from pmneila/PyMaxflow

Python library for creating flow networks and computing the maxflow/mincut (aka graph-cuts for Python)

Notifications You must be signed in to change notification settings

josipd/PyMaxflow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyMaxflow is a Python library for graph construction and maxflow computation (commonly known as graph cuts) as described in Boykov04. The core of this library is the C++ implementation by Vladimir Kolmogorov, which can be downloaded from his homepage. Besides the wrapper to the C++ library, PyMaxflow offers

  • NumPy integration,
  • methods for fast construction of common graph layouts in computer vision and graphics,
  • implementation of algorithms for fast energy minimization which use the maxflow method: the αβ-swap and the α-expansion.

Take a look at the PyMaxflow documentation.

Requirements

You need the following libraries installed on you system in order to build PyMaxflow:

Installation

Open a terminal and write:

$ cd path/to/PyMaxflow
$ python setup.py build
... lots of text ...

If everything went OK, you should be able to install the package with:

$ sudo python setup.py install

Documentation

The documentation of the package is available under the doc directory. To generate the HTML documentation, use:

$ cd doc/
$ make html

About

Python library for creating flow networks and computing the maxflow/mincut (aka graph-cuts for Python)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 51.6%
  • Python 45.4%
  • Shell 2.9%
  • C 0.1%