Skip to content

Picbridge/k_means_clustering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k_means_clustering

This project is made to run the k-means clustering algorithm to re-color an image with k colors only.

How it works

The original input file:

Original

  • k: 3

k3

  • k: 4

k4

  • k: 5

k5

The number of colors used varies by k

How to use

  1. Download the py file, and put image to work on in the working folder.
  2. Modify the value of k (defalut is k = 4)
  3. Run the program.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages