| 94 | } |
| 95 | |
| 96 | void ImageProximityFFT::MatchSquareDiffNorm(int width, int hight, Image& Source, double * templ_sqsum, Image& Dest) |
| 97 | { |
| 98 | cl_float4 TemplateSqSum = {float(templ_sqsum[0]), float(templ_sqsum[1]), float(templ_sqsum[2]), float(templ_sqsum[3])}; |
| 99 | |
| 100 | Kernel(square_difference_norm, In(Source), Out(Dest), Source.Step(), Dest.Step(), Dest.Width(), Dest.Height(), |
| 101 | width, hight, TemplateSqSum); |
| 102 | } |
| 103 | |
| 104 | void ImageProximityFFT::MatchCrossCorrNorm(int width, int hight, Image& Source, double * templ_sqsum, Image& Dest) |
| 105 | { |