access rgb from UMat
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.
Color plane order is BGR in opencv