Text this: Preserving brightness in histogram equalization based contrast enhancement techniques