To get cv :: UMat from cv :: Mat in OpenCV 3.0, you use this function:
UMat cv::Mat::getUMat(int accessFlags, UMatUsageFlags usageFlags=USAGE_DEFAULT )
the variable accessFlags is an enum type that takes one of the values โโbelow:
enum { ACCESS_READ=1<<24, ACCESS_WRITE=1<<25, ACCESS_RW=3<<24, ACCESS_MASK=ACCESS_RW, ACCESS_FAST=1<<26 };
What is the purpose of using the value of ACCESS_FAST ?
source share