image-clustering

command module
v0.0.0-...-716b9c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2020 License: BSD-3-Clause Imports: 11 Imported by: 0

README

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

Documentation

Overview

Image-Clustering is a cli tool to partition pixels in an image based on their color to a pre-defined number of clusters using the k-means algorithm.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL