1 Sep
2010
1 Sep
'10
9:19 a.m.
Hi!
I want to calculate the median color (along some other data) of the
pixels of an image from its histogram:
std::vector<int> m_Hist;
// m_Hist[i] contains number of pixels with color i.
using namespace boost::accumulators;
accumulator_set