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

Method Invert

C++/programs/Arithmetic.cpp:193–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193void Arithmetic::Invert(Image& Source, Image& Dest)
194{
195 CheckSimilarity(Source, Dest);
196
197 Kernel(invert_image, In(Source), Out(Dest), Source.Step(), Dest.Step(), Source.Width() * Source.NbChannels());
198}
199
200void Arithmetic::Sqr(Image& Source, Image& Dest)
201{

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