How to bind GpuMat to texture
I have a GpuMat Image(H, W, CV_8UC3)
May I bind it using these function?
texture<uchar3, 2, cudaReadModeNormalizedFloat> rgbTex;
cudaChannelFormatDesc desc = cudaCreateChannelDesc<uchar3>();
cudaBindTexture2D(0, rgbTex, Image.data, desc, W, H, Image.step));