n frequency coding structured light range computing method

The invention provides an n frequency coding structured light range computing method which belongs to the technical filed of structured light three-dimensional measuring. The method comprises the steps that coding stripes are projected; according to whether the periods of the coding stripes are all positive integers, coding periods are selectively adjusted; substance factors are decomposed; range is computed; and according to whether the coding periods are adjusted, selective re-adjusting is carried out. According to the n frequency coding structured light range computing method provided by the invention, the n frequency coding structured light range computing method is provided; if the period of a coding stripe is an integer multiple of the period of another coding stripe, the coding stripe of a short period makes no contribution to change the range; the projection sequence of n frequency coding structured lights does not affect the range; and when the substance factors are decomposed, if the substance factors are in ascending order and the like, the whole derivation process is unique.