gpu-basics-similarity.cpp | 41 cuda::GpuMat mu1_2, mu2_2, mu1_mu2; member in struct:BufferMSSIM 269 Mat mu1_2 = mu1.mul(mu1); local 276 sigma1_2 -= mu1_2; 291 t1 = mu1_2 + mu2_2 + C1; 293 t1 = t1.mul(t2); // t1 =((mu1_2 + mu2_2 + C1).*(sigma1_2 + sigma2_2 + C2)) 336 cuda::GpuMat mu1_2, mu2_2, mu1_mu2; local 337 cuda::multiply(mu1, mu1, mu1_2); 344 cuda::subtract(sigma1_2, mu1_2, sigma1_2); // sigma1_2 -= mu1_2; 359 cuda::addWeighted(mu1_2, 1.0, mu2_2, 1.0, C1, t1); // t1 = mu1_2 + mu2_2 + C1 [all...] |