/// <summary> /// returns deep copy of the matrix, i.e. the data is copied /// </summary> /// <returns></returns> public GpuMat Clone() { if (disposed) { throw new ObjectDisposedException("GpuMat"); } GpuMat outValue = new GpuMat(); GpuInvoke.GpuMat_clone(ptr, outValue.CvPtr); return(outValue); }