T

TeX
\subsection*{Internal representation}
Observe that if the pixels are rotated into an orientation such that the
0th pixel is the lowest valued, then by storing an additional parameter,
a brightness shift B, the 0th pixel of each patch can be converted to 0.