Normalization of brightness and contrast in video displays