How do i access rgb or any color data from UMat? For example before i was accesing the color data like ForegroundImage.at<cv::vec3b>(y,x) But this same code is not working for UMat. I am trying to use Umat for preformance reason.
1 | initial version |
How do i access rgb or any color data from UMat? For example before i was accesing the color data like ForegroundImage.at<cv::vec3b>(y,x) But this same code is not working for UMat. I am trying to use Umat for preformance reason.