Moire profilometry (MP) is one of the three-dimensional (3D) topography measurement methods of structured light, which has the advantages of single frame reconstruction, high speed, no contact and high precision, and is suitable for dynamic measurement scenes. In this article, the digital MP is applied to the wheel tread measurement, the virtual grating is generated by computer to project to the object surface, the moire fringe pattern of the object is obtained by filtering, and finally the continuous phase pattern is obtained by phase unwrapping. The 3D shape reconstruction of the wheel tread is realized, and a new method of wheel tread detection is provided. At the same time, in this paper, the results of using different filters are compared, and the significance of the frequency domain filtering to MP is proved. It is necessary to choose a suitable filtering method according to different environmental conditions. At present, digital MP can be used in industrial static detection, and it can be extended to the dynamic detection of rolling wheels in the future, so as to improve the detection efficiency and realize the automatic detection of trains.