Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No ‘operator-=’ for gpuMat

I try to build the sample code in tutorial Similarity check (PNSR and SSIM) on the GPU , and there are many error like gpu-basics-similarity.cpp 328 error: no match for ‘operator-=’ in ‘sigma1_2 -= mu1_2’

I try to trace the gpumat.hpp and gpu.hpp, it seems like there is really no implement of operator like +, -, *, +=, -=, ...

Is this a bug or something I misunderstand?