| 137 | typedef vector<double> BufferF; |
| 138 | |
| 139 | inline float hueMean(const BufferF &data) { |
| 140 | return std::accumulate(data.begin(), data.end(), 0.0) / data.size(); |
| 141 | } |
| 142 | |
| 143 | void hueSquaredMean(const HdrCreationItemContainer &data, vector<float> &HE) { |
| 144 | size_t width = data[0].frame()->getWidth(); |
no test coverage detected