I want to be able to color quantize to a palette with C++ using OpenCV. I have been able to use Kmeans to quantize images but I have been stuck on trying to apply a palette