Skip to content

Commit 2e57baf

Browse files
Create README.md
1 parent 4c55251 commit 2e57baf

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Image-Clustering
2+
3+
```$ go get github.com/pascaldierich/image-clustering```
4+
5+
The _image-clustering_ program partitions the pixels in an image
6+
based on their color to a pre-defined number of clusters.
7+
8+
```
9+
Usage:
10+
-in string
11+
Path to input image
12+
-k int
13+
Number of cluster (default 10)
14+
-out string
15+
Path to save clustered image (default "${HOME}/img_clustered.png")
16+
```
17+
### Examples:
18+
19+
#### original
20+
![img4](data/img4.png)
21+
22+
#### k = 5
23+
![img4_c5](data/img4_c05.png)
24+
25+
#### k = 100
26+
![img4_c100](data/img4_c100.png)
27+
28+
#### k = 500
29+
![img4_c500](data/img4_c500.png)

0 commit comments

Comments
 (0)