Skip to content

LeonHan2007/Colour-Segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Colour-Segmentation

Webp net-gifmaker

This project is about seperating colours in an image into larger groups. Colour segmentation is useful because grouping the colours into larger chunks of colours makes it a lot simpler and easier to analyze. The chunks of colour are better at representing the RGB values rather than tiny pixels.

  1. Choose a number of clusters.
  2. Choose a some points to be centroids.
  3. Assign all points to the nearest centroid.
  4. Calculate new centroid locations based on clusters.

Clustering result changes each iteration because the centroids are being recalculated every time. You should stop the algorithm when the error graph is at its lowest. The error is how different your image is to the original.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published