Coded structured light is considered one of the most reliable techniques for recovering the surface of objects. This technique is based on projecting a light pattern and viewing the illuminated scene from one or more points of view. Since the pattern is coded, correspondences between image points and points of the projected pattern can be easily found. The decoded points can be triangulated and 3D information is obtained. We present an overview of the existing techniques, as well as a new and deÿnitive classiÿcation of patterns for structured light sensors. We have implemented a set of representative techniques in this ÿeld and present some comparative results. The advantages and constraints of the di erent patterns are also discussed.