Alpha Expansion Library
C++ library for the Alpha-Expansion graph-cut algorithm with Python bindings
Loading...
Searching...
No Matches
Alpha Expansion Library

A C++ library for the Alpha-Expansion graph-cut algorithm, with Python bindings. Alpha-expansion is used to minimize discrete Markov Random Field (MRF) energies and is commonly applied in image segmentation and community detection.

Features

  • Three expansion strategies: Sequential, Greedy and Randomized
  • Two max-flow backends: Boykov-Kolmogorov (default) and Google OR-Tools
  • Fully templated on cost type (int32, float, double)
  • Python bindings via pybind11
  • Extensible: plug in custom solvers and strategies

Guides

API Reference

See the class list in the sidebar for the full auto-generated API reference.