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

Method AbsDiff

C++/programs/Arithmetic.cpp:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void Arithmetic::AbsDiff(Image& Source1, Image& Source2, Image& Dest)
62{
63 CheckSimilarity(Source1, Source2);
64 CheckSimilarity(Source1, Dest);
65
66 Kernel(abs_diff_images, In(Source1, Source2), Out(Dest), Source1.Step(), Source2.Step(), Dest.Step(), Source1.Width() * Source1.NbChannels());
67}
68
69void Arithmetic::Mul(Image& Source1, Image& Source2, Image& Dest)
70{

Callers

nothing calls this directly

Calls 4

CheckSimilarityFunction · 0.85
StepMethod · 0.80
WidthMethod · 0.80
NbChannelsMethod · 0.80

Tested by

no test coverage detected