Reductions
| 106 | |
| 107 | // Reductions |
| 108 | double 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 | |
| 121 | double Statistics::Max(Image& Source) |
| 122 | { |
nothing calls this directly
no test coverage detected