Skip to content

frank777777777/KMeans-Image-Compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

1.Put the pictures at same directory as where the KMeans.java is. If you put it somewhere else, you need to specity the full directory later on. 2.Compile the code using javac KMeans.java 3.Run the compiled binary using KMeans . No arrow brackets, just parameters, seperated by spaces. 4.Here we go.


Original and K = 20

K = 15 and K = 10

K = 5 and K = 2


Original and K = 20

K = 15 and K = 10

K = 5 and K = 2

About

Compresses image RGB, to reduce the color depth in order to save space

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages