Skip to content

Reduce the number of colors in an image using k-means

Notifications You must be signed in to change notification settings

AbhinavBehal/color-reduction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-color-reduction

Uses K-means clustering to reduce the number of colors in an image. SFML is used to handle images, but you could easily change it to another image library since only basic functions like loading/saving images and getting/setting pixels are used.

Examples

Orginal Image Segmented
Example1 Output1
Example2 Output2
Example3 Output3
Example4 Output4
Example5 Output4

About

Reduce the number of colors in an image using k-means

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages