Formal connections between lightness algorithms.

Formal connections between lightness algorithms.