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.
- Host: GitHub
- URL: https://github.com/dstein64/k-means-quantization-js
- Owner: dstein64
- License: mit
- Created: 2017-02-06T04:36:31.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-07T22:06:06.000Z (over 5 years ago)
- Last Synced: 2025-03-17T17:21:28.088Z (9 months ago)
- Topics: clustering, color-quantization, kmeans-clustering, machine-learning
- Language: JavaScript
- Homepage: https://dstein64.github.io/k-means-quantization-js/
- Size: 768 KB
- Stars: 37
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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

### Quantized Image

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