Skip to content

Matplotlib based GUI for interactive segmentation of images via seeds specified by the user, implementing the Boykov-Kolmogorov algorithm. Final project for "Signal, Image and Video".

Notifications You must be signed in to change notification settings

DiegoBarMor/interactive-graph-cut-segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Graph Cut Image Segmentation

This is a project for the course Signal, Image and Video from the University of Trento, academic year 2022-2023. It consists of an implementation for an image segmentation algorithm using an interactive method. This program is to be used through the interface provided by src/GUI_main.py. Refer to the report for an explanation of the algorithm, as well on how to use the program, among other things.

Requirements

This implementation is written for Python 3.8 and above. It aims to be highly portable, so it has few basic dependencies:

  • NumPy for representing images as matrices and optimizing some steps.
  • Matplotlib (>= 3.5.0) for building the interactive GUI.
  • Pillow for easily handling I/O image operations.
  • psutil for benchmarking the amount of memory required by the program.

Example of usage

Basic usage of the GUI

Basic usage of the GUI

Performing a fast cut with the GUI

Performing a fast cut with the GUI

Performing an animated cut with the GUI

Performing an animated cut with the GUI

About

Matplotlib based GUI for interactive segmentation of images via seeds specified by the user, implementing the Boykov-Kolmogorov algorithm. Final project for "Signal, Image and Video".

Topics

Resources

Stars

Watchers

Forks

Languages