THE GARDEN
Updated 02 Oct 2026
counts how many image samples have each intensity or fall within each intensity interval
for an image with NN pixels, h(k)=#{i:fi=k}h(k)=\#\{i:f_i=k\}.
normalized histogram: p(k)=h(k)/Np(k)=h(k)/N, so ∑kp(k)=1\sum_kp(k)=1.
numulative distribution: F(k)=∑j≤kp(j)F(k)=\sum_{j\le k}p(j).
an 8-bit grayscale image commonly uses 256256 bins for values 0,…,2550,\ldots,255.
a color image can have a separate histogram for each channel.
a histogram discards spatial arrangement: different images can have identical histograms.
mean intensity: μ=∑kkp(k)\mu=\sum_k kp(k).
population standard deviation: σ=∑k(k−μ)2p(k)\sigma=\sqrt{\sum_k(k-\mu)^2p(k)}.
for pixels 0,0,255,2550,0,255,255, both μ\mu and σ\sigma equal 127.5127.5.
the statistics endpoint uses grayscale values and np.std with its default population denominator NN
np.std
standard deviation measures intensity spread and can serve as a global contrast measure; it does not fully describe local contrast or image quality
Frequency Histogram
Mean
Standard Deviation
Histogram Equalization
◌ Explore connections in Graph view
Paths through the garden