Cuda Dominant Color to OpenCv