Compensation Method to Measure the Contrast Produced by Contours