This code partitions the image into clusters to segment the image parts by using an implementation of k-means clustering algorithm. An example image is given. After defining the cluster number and maximum number of iterations for k-means algorithm, image segmentation process starts. Image pixels are clustered and each pixel is assigned related cluster color. Final image is showed.
Image segmentation with implementation of k-means clustering.
License
ozgyal/Image-Clustering
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Image segmentation with implementation of k-means clustering.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published