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

Method Sqr

C++/programs/Arithmetic.cpp:200–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200void Arithmetic::Sqr(Image& Source, Image& Dest)
201{
202 CheckSimilarity(Source, Dest);
203
204 Kernel(sqr_image, In(Source), Out(Dest), Source.Step(), Dest.Step(), Source.Width() * Source.NbChannels());
205}
206
207
208// Calculation on one image - float required

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