Skip to content

powerplayer9/Matlab-KMeans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matlab-KMeans

The Kmeans.m file performs the K-means algorithm based on random initial seeds for RGB color space.

The output of the K-means fucntion:

capture

To perform you own visualisation of the above result, run the Main.m file.

Replace the image path at line 6 & 7 with your own images. You can also call the Kmeans function from Kmeans.m file for your own programs