MCPcopy Create free account
hub / github.com/CRVI/OpenCLIPP / MatchSquareDiff

Method MatchSquareDiff

C++/programs/ImageProximityFFT.cpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void 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
96void ImageProximityFFT::MatchSquareDiffNorm(int width, int hight, Image& Source, double * templ_sqsum, Image& Dest)
97{

Callers

nothing calls this directly

Calls 3

StepMethod · 0.80
WidthMethod · 0.80
HeightMethod · 0.80

Tested by

no test coverage detected