Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast Growcut alogorithm with shortest path

Implemented fast grow cut algorithm based on "An Effective Interactive Medical Image Segmentation Method Using Fast GrowCut" (see link), generalized for multi-class n-dimensional data.

Installation

Run setup file (ONLY needed for Cython version, NOT required for the other Python implementation)

python setup.py build

sudo python setup.py install

Usage

For basic GrowCut package usase, see (link).

Fast Growcut using shortest path

Implemented in growcut_cpu

Run fastgc function with image data img, initial seed labels seeds, both img and seeds can be n-dimensional data.

fastgc(img, seeds, newSeg = True, labCrt=None, distCrt=None, labPre=None, distPre=None, verbose = True)

Test example

Run pytest directly

Test list

Test 1: test_growcut.py

Github reference

  1. Basic GrowCut package (link)
  2. Fibonacci heaps package (link)

About

Fast Growcut implementation with shortest path

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages