Fig. 1. Confocal scanning laser system. The laser beam passes through a pinhole. A second pinhole, in front of the detector, acts as a filter. This allows only light reflected from the object at the focal plane to be detected.