calculateHistogramRGB

fun calculateHistogramRGB(buffer: ColorBuffer, binCount: Int = 16, weighting: ColorRGBa.() -> Double = { 1.0 }, downloadShadow: Boolean = true): RGBHistogram(source)