ComfyUI Node
KMeans
A ComfyUI node in Mosaica/Analyze with 5 inputs and 3 outputs.
KMeans
- image
- image
- label_image
- lut
◄n_clusters8►
◄color_space▾►
◄use_pixel_distancefalse►
◄max_iter100►
CategoryMosaica/Analyze
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| n_clusters | INT | 81–100 | — |
| color_space | COMBO | 2 options: RGB, LAB | |
| use_pixel_distance | BOOLEAN | false | — |
| max_iter | INT | 1001–1000 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| label_image | IMAGE | — |
| lut | IMAGE | — |