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

Method Max

C++/programs/Statistics.cpp:121–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121double Statistics::Max(Image& Source)
122{
123 Check1Channel(Source);
124
125 Init(Source);
126
127 Kernel(reduce_max, In(Source), Out(), m_ResultBuffer, Source.Step(), Source.Width(), Source.Height());
128
129 m_ResultBuffer.Read(true);
130
131 return m_Result[0];
132}
133
134double Statistics::MinAbs(Image& Source)
135{

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