| 86 | } |
| 87 | |
| 88 | void ImageProximityFFT::MatchSquareDiff(int width, int hight, Image& Source, double * templ_sqsum, Image& Dest) |
| 89 | { |
| 90 | cl_float4 TemplateSqSum = {float(templ_sqsum[0]), float(templ_sqsum[1]), float(templ_sqsum[2]), float(templ_sqsum[3])}; |
| 91 | |
| 92 | Kernel(square_difference, In(Source), Out(Dest), Source.Step(), Dest.Width(), Dest.Height(), Dest.Step(), |
| 93 | width, hight, TemplateSqSum); |
| 94 | } |
| 95 | |
| 96 | void ImageProximityFFT::MatchSquareDiffNorm(int width, int hight, Image& Source, double * templ_sqsum, Image& Dest) |
| 97 | { |