A Histogram of Pixel Intensities

An intensity histogram counts how many pixels occupy each value or bin. It does not encode where those pixels occur.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a tiny grid
  2. Check the loss of arrangement

Trace a tiny grid

Four samples containing 0, 0, 128, and 255 give count two at 0 and one at each of the other values. See category counts for the equivalent accumulation.

Check the loss of arrangement

A checker pattern and a grouped block can give the same frequencies. Use a spatial measure if location matters. Image positions retain that spatial part.[1][2]

References

  1. scikit-image Contributors, NumPy Images and Coordinate Conventions ↩
  2. scikit-image Contributors, Image Data Types and Representable Values ↩