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

Method Mean

C++/programs/Arithmetic.cpp:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void Arithmetic::Mean(Image& Source1, Image& Source2, Image& Dest)
102{
103 CheckSimilarity(Source1, Source2);
104 CheckSimilarity(Source1, Dest);
105
106 Kernel(mean_images, In(Source1, Source2), Out(Dest), Source1.Step(), Source2.Step(), Dest.Step(), Source1.Width() * Source1.NbChannels());
107}
108
109void Arithmetic::Combine(Image& Source1, Image& Source2, Image& Dest)
110{

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