raisin::RayraiWindow::RgbaLuminanceHistogram
struct · #include <rayrai/RayraiWindow.hpp>
Display-space luminance histogram returned by analyzeRgbaLuminanceHistogram().
Public attributes
width
cpp
int widthImage width passed in.
height
cpp
int heightImage height passed in.
pixelCount
cpp
size_t pixelCountNumber of pixels counted.
binCount
cpp
size_t binCountNumber of equal-width bins over luminance [0, 1].
peakBin
cpp
size_t peakBinIndex of the most populated bin.
peakFraction
cpp
double peakFractionFraction of pixels in peakBin.
bins
cpp
std::vector<size_t> binsPixel count per bin.