A three-dimensional imaging method and system illuminates an object to be imaged
with a light pattern that is formed from two or more light sub-patterns. The sub-patterns
can each encompass the visible light spectrum or can be spatially varying intensity
sub-patterns that each correspond to a red, green, or blue component. The light
pattern is generated by a slotted planar member or an optical filter.