KMeans algorithm used for image color reduction.
The goal of this project is to implement KMeans algorithm for image color reduction using CUDA and compare it to standard CPU implementation.
For the 1024x1024 image and K=255 I got:
- CPU time (I7-6700HQ): 1011.0s
- GPU time (GTX 960M): 50.6s
- C++
- CUDA v11.2
- openCV
Project: finished