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

Method Sub

C++/programs/Arithmetic.cpp:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void Arithmetic::Sub(Image& Source1, Image& Source2, Image& Dest)
54{
55 CheckSimilarity(Source1, Source2);
56 CheckSimilarity(Source1, Dest);
57
58 Kernel(sub_images, In(Source1, Source2), Out(Dest), Source1.Step(), Source2.Step(), Dest.Step(), Source1.Width() * Source1.NbChannels());
59}
60
61void Arithmetic::AbsDiff(Image& Source1, Image& Source2, Image& Dest)
62{

Callers 3

TopHatMethod · 0.80
BlackHatMethod · 0.80
GradientMethod · 0.80

Calls 4

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

Tested by

no test coverage detected