Skip to content

Using K-Means algorithm for clustering colors of an image

License

Notifications You must be signed in to change notification settings

matinaghaei/Image-Compression

Repository files navigation

Image-Compression

Using K-Means algorithm to reduce the number of colors in an image by clustering them

Original image (583 KB):

alt text

Compression by reduction to 2 colors (42.1 KB):

alt text

Compression by reduction to 4 colors (81.1 KB):

alt text

Compression by reduction to 8 colors (136 KB):

alt text

Compression by reduction to 16 colors (229 KB):

alt text

Compression by reduction to 32 colors (326 KB):

alt text

Compression by reduction to 64 colors (439 KB):

alt text

About

Using K-Means algorithm for clustering colors of an image

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages