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

Method MaxAbs

C++/programs/Statistics.cpp:147–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147double Statistics::MaxAbs(Image& Source)
148{
149 Check1Channel(Source);
150
151 InitAbs(Source);
152
153 Kernel(reduce_maxabs, In(Source), Out(), m_ResultBuffer, Source.Step(), Source.Width(), Source.Height());
154
155 m_ResultBuffer.Read(true);
156
157 return m_Result[0];
158}
159
160double Statistics::Sum(Image& Source)
161{

Callers

nothing calls this directly

Calls 7

Check1ChannelFunction · 0.85
ReduceMaxFunction · 0.85
StepMethod · 0.80
WidthMethod · 0.80
HeightMethod · 0.80
NbChannelsMethod · 0.80
ReadMethod · 0.45

Tested by

no test coverage detected