 Although gamma encoding was developed originally to compensate for the input–output characteristic of cathode ray tube (CRT) displays, that is not its main purpose or advantage in modern systems.In CRT displays, the light intensity varies nonlinearly with the electron-gun voltage.Altering the input signal by gamma compression can cancel this nonlinearity, such that the output picture has the intended luminance.