Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 525 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 525 Bytes

Image-Clustering

The image-clustering program partitions the pixels in an image based on their color to a pre-defined number of clusters.

Usage:
  -in string
        Path to input image
  -k int
        Number of cluster (default 10)
  -out string
        Path to save clustered image (default "${HOME}/img_clustered.png")

Examples:

original

img4

k = 5

img4_c5

k = 100

img4_c100

k = 500

img4_c500