Endoscopy with HD-NBI seems to improve the detection of esophageal cancer and precancerous lesions , high definition may be tested for its effect on detection of esophageal cancer and precancerous lesions in the future .