High speed pseudorandom modulation and photon counting techniques are applied to a three-dimensional imaging lidar system. The specific structure and working principle of the lidar system is described. The actual detector efficiency of a single-photo