First time here? Check out the FAQ!
answered 2012-10-23 01:30:57 -0600
You can store GpuMat in vector. GpuMat and Mat is smart pointers to data with reference counting. It doesn't create copy of data in copy constructor:
GpuMat a(100,100,CV_8U); GpuMat b = a; // b and a shares the same data