Sensory systems

After leaving a brightly lit room and entering a dark theater, a person gradually becomes better able to see faint objects over several minutes. Which process contributes substantially to this improvement?