Python implementation of "Efficient Graph-Based Image Segmentation" paper

salaee salaee Last update: Jan 04, 2024

PEGBIS (Python Efficient Graph-Based Image Segmentation)

Python implementation of "Efficient Graph-Based Image Segmentation" paper written by P. Felzenszwalb, D. Huttenlocher. The paper is available: http://cs.brown.edu/~pff/papers/seg-ijcv.pdf
C++ implementation is written by the author and is available on: http://cs.brown.edu/~pff/segment/
The C++ implementation is much more faster than python implementation (obviously).

Results

parameters: (Sigma=0.5, K=300, Min=50)
alt text
parameters: (Sigma=0.5, K=300, Min=50)
alt text
parameters: (Sigma=0.5, K=1000, Min=50)
alt text
parameters: (Sigma=0.8, K=500, Min=10)
alt text
parameters: (Sigma=0.5, K=500, Min=50)
alt text

Requirements

Python 3.5

Libraries used:

scipy and matplotlib

Subscribe to our newsletter