growcut icon indicating copy to clipboard operation
growcut copied to clipboard

Python implementation of the growcut algorithm.

Grow-Cut Image Segmentation

The "growcut" package implements cellular automata based segmentation algorithm.

References:

V. Vezhnevets, V. Konouchine. "Grow-Cut" - Interactive Multi-Label N-D Image Segmentation".
In Proceedings of the 2005 Conference, Graphicon. Pages 150 – 156.

Maintainers

- Nathan Faggian

Contributors

- Josh Warner (cython)
- Stefan Van Der Walt (cython, algorithm)

Testing

Build Status

Dependencies

The required dependencies to build the software are:

  • python
  • numpy
  • scipy
  • cython
  • scikit-image
  • py.test

Install

This packages uses distutils, which is the default way of installing python modules. To install in your home directory, use:

python setup.py install --home

To install for all users on Unix/Linux:

python setup.py build
sudo python setup.py install

Examples

Using the ipython web viewer (nbviewer):

Demonstration: Segment square

Using a local checkout:

ipython notebook --pylab=inline --notebook-dir=`pwd`/notebooks/'

Development

Follow: Fork + Pull Model:

https://help.github.com/articles/using-pull-requests