Skip to content
This repository was archived by the owner on Jun 16, 2023. It is now read-only.

Borda/GridCut-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyGridCut

Build Status Codacy Badge Build status

A Python wrapper for the GridCut C++ library for solving graph cuts in regular grids.

Implemented functions:

  • gridcut.maxflow_2D_4C(...)
  • gridcut.maxflow_2D_4C_potts(...)
  • gridcut.maxflow_2D_8C_potts(...)

Installation

Actually the latest version is 1.3 as it is set up in the setup.py

python setup.py build_ext --inplace
python setup.py install

For installation use previous commands it does following steps:

  1. download the source code
  2. unzip the package to code folder
  3. build the gridcut

Note, that downloading the source cede you agree with GridCut license

Show examples

Source-Sink segmentation

Visualisation of the unary terns for source/sink segmentation

unary terms

with the initial labeling (left) and estimated labeling (right) for 4-connectivity

labeling

and the initial labeling (left) and estimated labeling (right) for 8-connectivity

labeling

About

Python wrappers for the GridCut C++ library for solving graph cuts in grids

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 52.8%
  • Python 47.2%