templmatch.cpp | 457 float templ_sum = (float)templMean[0]; local 459 k.args(ocl::KernelArg::ReadOnlyNoSize(image_sums), ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, templ_sum); local 463 Vec4f templ_sum = Vec4f::all(0); local 464 templ_sum = (Vec4f)mean(templ); 466 k.args(ocl::KernelArg::ReadOnlyNoSize(image_sums), ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, templ_sum); } local 495 float templ_sum = (float)sum(templ)[0]; local 500 templ_sqsum -= scale * templ_sum * templ_sum; 501 templ_sum *= scale; 510 ocl::KernelArg::ReadWrite(result), templ.rows, templ.cols, scale, templ_sum, templ_sqsum) local 514 Vec4f templ_sum = Vec4f::all(0), templ_sqsum = Vec4f::all(0); local 534 templ_sum, templ_sqsum_sum); } local [all...] |