re-implement simple linear auto levels, and try histogram equalization with clipping, too