/Random-Walker-Image-Segmentation

Random Walker algorithm for image segmentation

Primary LanguagePython

Random Walker Algorithm project

An implementation of the image segmentation Random Walker algorithm.

Demo

Input

Input

Add seeds and choose beta

Add seeds and choose beta

Output

Contours Choose a value for beta and run

Originial paper

Leo Grady, Random Walks for Image Segmentation, 2006

Requirements

  • Python 3.7
  • Modules :
pip install -r requirements.txt

Getting started

python random_walker.py
  • Select an image.
  • Select a color and add seed points by pointing and clicking.
  • Type in a value for beta
  • Run the solver.