Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.54 KB

File metadata and controls

19 lines (15 loc) · 1.54 KB

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