A color-encoded structured light for one-shot shape acquisition is proposed in this paper. The colored horizontal stripes pattern is encoded based on a De Bruijn sequence of order 3 over 5 color symbols. The edges of stripes in the camera image can be located with sub-pixel accuracy by using both the hue and intensity components in HSI model. Subsequently, the detected edges of stripes and their corresponding projected stripes edges can be triangulated to reconstruct 3D shape of the object. Experimental results show that both accuracy and stability from HSI algorithm are much better than that from traditional RGB algorithm. The method which recovers 3D shape of the object based on one-shot can be applied to measure the moving object.© (2010) COPYRIGHT SPIE--The International Society for Optical Engineering. Downloading of the abstract is permitted for personal use only.