This is a GPU-accelerated version of K-Means color quantization using CUDA and PyTorch, significantly speeding up the clustering process compared to CPU execution.
-
Updated
Feb 28, 2025 - Python
This is a GPU-accelerated version of K-Means color quantization using CUDA and PyTorch, significantly speeding up the clustering process compared to CPU execution.
This repository implements K-Means clustering for color quantization in images, running on CPU. The program reduces the number of colors in an image while maintaining visual quality, making it useful for compression and artistic effects.
Add a description, image, and links to the color-quantization-algorithms topic page so that developers can more easily learn about it.
To associate your repository with the color-quantization-algorithms topic, visit your repo's landing page and select "manage topics."