Assumes the average of all pixels should be neutral gray, then scales each channel to make it so.
← Kumgit! · Image Processing index