gpu-basics-similarity.cpp | 41 cuda::GpuMat mu1_2, mu2_2, mu1_mu2; member in struct:BufferMSSIM 271 Mat mu1_mu2 = mu1.mul(mu2); local 282 sigma12 -= mu1_mu2; 287 t1 = 2 * mu1_mu2 + C1; 289 t3 = t1.mul(t2); // t3 = ((2*mu1_mu2 + C1).*(2*sigma12 + C2)) 336 cuda::GpuMat mu1_2, mu2_2, mu1_mu2; local 339 cuda::multiply(mu1, mu2, mu1_mu2); 350 cuda::subtract(sigma12, mu1_mu2, sigma12); // sigma12 -= mu1_mu2; 355 mu1_mu2.convertTo(t1, -1, 2, C1); // t1 = 2 * mu1_mu2 + C1 [all...] |