An open API service indexing awesome lists of open source software.

https://github.com/dstein64/k-means-quantization-js

Apply color quantization to images using k-means clustering.
https://github.com/dstein64/k-means-quantization-js

clustering color-quantization kmeans-clustering machine-learning

Last synced: 9 months ago
JSON representation

Apply color quantization to images using k-means clustering.

Awesome Lists containing this project

README

          

k-means Image Color Quantization
================================

*k-means Image Color Quantization* is a web page that can apply color
quantization to images using k-means clustering.

The code runs fully in the browser. That is, there are no server-side calls
to process the image and/or run the clustering and quantization. The
implementation is in JavaScript.

How To Use
----------

To quantize an image, navigate to index.html, load an image, select a value for
*k*, and click *Quantize*. The time to process increases with the size of the
image.

The page is available at
.

Screenshots
-----------

### Selection/Instructions

![Select](screenshots/select.png)

### Quantized Image

![Quantized](screenshots/quantized.png)

License
-------

The source code has an [MIT License](https://en.wikipedia.org/wiki/MIT_License).

See [LICENSE](LICENSE).