Efficient and Low-Cost 3D Structured Light System Based on a Modified Number-Theoretic Approach