gpu-basics-similarity.cpp | 43 cuda::GpuMat sigma1_2, sigma2_2, sigma12; member in struct:BufferMSSIM 273 Mat sigma1_2, sigma2_2, sigma12; local 281 GaussianBlur(I1_I2, sigma12, Size(11, 11), 1.5); 282 sigma12 -= mu1_mu2; 288 t2 = 2 * sigma12 + C2; 289 t3 = t1.mul(t2); // t3 = ((2*mu1_mu2 + C1).*(2*sigma12 + C2)) 341 cuda::GpuMat sigma1_2, sigma2_2, sigma12; local 349 gauss->apply(I1_I2, sigma12); 350 cuda::subtract(sigma12, mu1_mu2, sigma12); // sigma12 -= mu1_mu2 [all...] |