Intensity Counter

Generates a matrix containing the number of pixels having each intensity value.