Hough bins
Heuristic for determining whether image needs inverting.

In the long run, we should be able to fix PDF loading so that the colors
in the image are always correct (white background).