| 197 | } |
| 198 | |
| 199 | double Statistics::Mean(Image& Source) |
| 200 | { |
| 201 | Check1Channel(Source); |
| 202 | |
| 203 | PrepareBuffer(Source); |
| 204 | |
| 205 | Kernel(reduce_mean, In(Source), Out(), *m_PartialResultBuffer, Source.Step(), Source.Width(), Source.Height()); |
| 206 | |
| 207 | m_PartialResultBuffer->Read(true); |
| 208 | |
| 209 | return ReduceMean(m_PartialResult); |
| 210 | } |
| 211 | |
| 212 | double Statistics::MeanSqr(Image& Source) |
| 213 | { |
nothing calls this directly
no test coverage detected