Skip to content

A cutting-edge toolkit engineered for high-precision image segmentation using Boykov-Kolmogorov algorithm and CIDE2000 formula

Notifications You must be signed in to change notification settings

albinjm/ChromaCut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChromaCut

Interactive High-Precision Image Segmentation with Advanced Superpixel and Graph-Based Techniques

ChromaCut is an interactive cutting-edge toolkit engineered for high-precision image segmentation. It incorporates state-of-the-art superpixel over-segmentation and graph-based segmentation techniques, including the renowned Boykov-Kolmogorov (Min-cut/Max-flow) algorithm for graph partitioning. This toolkit efficiently transforms input images into segmented outputs, starting with superpixel division for in-depth analysis and using graph-based algorithms for accurate segmentation. It utilizes CIDE2000 for color difference evaluation and foreground extraction, improving segmentation precision across various images.

Installation Requirements

Before diving into the capabilities of ChromaCut, ensure that Python 3.x is installed on your system. This toolkit relies on a variety of Python packages tailored for image processing, numerical computations, and comprehensive data visualization.

Required Python Packages

To harness the full potential of ChromaCut, the following packages are necessary:

  • OpenCV (cv2): Essential for reading images, preprocessing, and displaying the GUI for interactive seed marking.
  • NumPy (numpy): Powers a wide range of numerical operations.
  • Matplotlib (matplotlib): Facilitates plotting histograms and displaying images.
  • NetworkX (networkx): Plays a crucial role in generating and manipulating complex graphs.

Installing Python Packages

To install the required Python packages and kickstart your journey with ChromaCut, utilize pip, Python's package manager. Execute the following commands in your terminal or command prompt:

pip install opencv-contrib-python numpy matplotlib networkx