This tool divides an image to a number of segments. The segmentation is based on color.
Image segmentation tool is a web-based application that divides an image into a given number of components and simplifies the image.
In this work, all similar points were clustered together and their values were substituted with the mean values which were calculated based on Kmeans clustering.
The objective function for Kmeans clustering could be written as:
xij are rgb values.
We can form clusters S1 ,…, Sk using the value assigned to rij.
In the second step, we keep rij fixed and we minimize the objective function with respect to μk.
You can access the image segmentation tool using the following link:
https://colorclustering.herokuapp.com/
You can install the required libraries listed in requirements.txt and start up the server in that src directory using the following command:
python app.py