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

Method Min

C++/programs/Statistics.cpp:108–119  ·  view source on GitHub ↗

Reductions

Source from the content-addressed store, hash-verified

106
107// Reductions
108double Statistics::Min(Image& Source)
109{
110 Check1Channel(Source);
111
112 Init(Source);
113
114 Kernel(reduce_min, In(Source), Out(), m_ResultBuffer, Source.Step(), Source.Width(), Source.Height());
115
116 m_ResultBuffer.Read(true);
117
118 return m_Result[0];
119}
120
121double Statistics::Max(Image& Source)
122{

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected