redwarp / kmeans-gpu

K-means clustering for image color quantization running on GPU
MIT License
14 stars 0 forks source link

Use gpu to convert to LAB, and create f32 texture #3

Closed redwarp closed 2 years ago

redwarp commented 2 years ago

Currently, the cpu has the responsability for doing rbgu8 to rbgu32f or rbgu8 to lab. This should be gpu-i-fied, should make stuff faster.

redwarp commented 2 years ago

Check https://stackoverflow.com/questions/15408522/rgb-to-xyz-and-lab-colours-conversion for lab conversion