imageproc::stats
pub fn histogram<P>(image: &Image<P>) -> ChannelHistogram where P: Pixel<Subpixel = u8> + 'static,
Returns a vector of per-channel histograms.