Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

k-Means Image Compression

I created this code as a way to learn about the k-means clustering algorithm. It is heavily based on code from this article by Sebastian Charmot.

This project is exactly what its name says it is: an image compressor. Simply run the Python file, provide an input file, an output file name, and a k-value, and the algorithm will run. It's not quick—it will take a bit. But, when finished, you'll find an image (with an x-y plane) exported.

About

A simple implementation of the k-means clustering algorithm for the purpose of image compression.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages