According to some embodiments there is provided a method for structured light scanning of an intra-oral scene, comprising: projecting onto the intra-oral scene a color-coded pattern comprising an arrangement of entities having edges between them; each entity comprising a different narrow band of wavelengths; and detecting the projected pattern as a plurality of pixels in an acquired image of the scene using at least two narrowband filters, wherein for each pixel of at least 95% of the pixels of an entity of interest comprising a first band of wavelengths, a contribution of light from a second band of wavelengths of an adjacent entity is less than 10%.Some embodiments relate to a scanner system for structured light scanning of an intra-oral scene.