I want to create a vector of type cv::UMat but I didn't find any method to do that.
What I do in normal cv::Mat in the CPU is pretty straight forward:
lut.at<float>(i,1) = cv::saturate_cast<uchar>(pow((float)(i / 255.0), fGamma) * 255.0f);
How can I do that without having to move elements from CPU to GPU?