Skip to content

Basic image segmentation & compression using K-Means clustering

Notifications You must be signed in to change notification settings

Abhinandan11/image-segmentation-kmeans

Repository files navigation

image-segmentation-kmeans

Image Segmentation is a very broad field. Though K-Means Clustering isn't the state-of-the-art method for segmentation or compressing, still it's one of the very basic and intuitive methods.


Here I have shown some results with different values of K (number of clusters).


Fun Fact: You can create a lot of material style art from this code. Time for a new wallpaper!!!


Input Image K = 9
K = 8 K = 7
K = 6 K = 5
K = 4 K = 3

About

Basic image segmentation & compression using K-Means clustering

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages