3D Reconstruction of High-Speed Rail-Wheel Based on Coded Structured Light
## [👁️🗨️](https://emojipedia.org/eye-in-speech-bubble/) Overview The wheel-rail attitude of high-speed rail reflects the complex dynamic interaction and restraint relationship between wheels and rails. Mastering the true contact attitude between them is an important foundation for ensuring the safe of high-speed railways. How to accurately obtain the wheel-track attitude of high-speed railways has always been a hot research field in domestic railway scientific research. However, it is imprecise and unreliable to obtain the wheel-rail contact attitude from 2D image. Extracting the feature points of the wheel-rail surface and reconstructing a 3D model can obtain the wheel-rail contact attitude more realistically and accurately. Due to the fast running speed of high-speed trains, the wheel-rail surface is relatively smooth and there are no obvious feature points, which brings great challenges to the 3D reconstruction based on feature point extraction.



![]() | The main innovations of the project are as follows:
|
| Pattern Creation | The pattern is designed in HSV color space. And the pattern consists on a colored sinusoidal fringe pattern
There are 64 stripes in the coding pattern, and the stripe width is 14 𝑝𝑖𝑥𝑒𝑙, with the center point of the stripe as the feature point of the projection pattern ♣ The 𝐷𝑒 𝐵𝑟𝑢𝑖𝑗𝑛 sequence is composed of 𝑛 different elements, and any consecutive subsequence whose length is 𝑚 only appears once | ![]() |
| DeBruijn Analysis | After preprocessing the gray image, in order to extract the center point of the stripes, a local maximum algorithm is applied to searching local maxima (detected with sub-pixel precision) of each row of the image from the strips which is present a gaussian-like shape, The local maximum point is the center point of the fringe. In the 𝐿𝑎𝑏 color space, classify the colors of the center point of the stripe. In a 4×1 window, you can get the corresponding position of the center point of the stripe in the projection pattern. | ![]() |
| Wavelet Transform Analysis | The change of the V channel satisfies the given cosine function and contains the phase information of the non-center point of the fringe. But after the pattern is modulated by the object, the originally stable signal changes. As a non-stationary signal processing method, the wavelet transform method has been introduced into many signal processing fields, including phase extraction from fringe patterns. Comprehensive comparison of one-dimensional and two-dimensional window Fourier transform, wavelet transform and other methods, for the consideration of reconstruction accuracy and speed, the one-dimensional wavelet transform method is selected. The generalized Morse wavelet has flexible time-frequency local characteristics and strict analysis, and the effect of measuring the 3D contour of the object is better than the popular complex Morlet wavelet as the mother wavelet. | ![]() |
![]() |
![]() | ![]() |
| Sphere with a radius of 95mm Point cloud data 17W+ Radius error 0.678mm Calculation time 10-15s | Multi-object 3D reconstruction | 3D reconstruction of rail surface |



| Hardware | Version |
| Point Grey Camera | —— |
| LightCrafter4500 | —— |
| Software | Version |
| Windows | Windows 10 |
| Visual Studio | 2017 |
| QT | 5.12.3 |
| OpenCV | 4.2.03 |
| FlyCapture2 | 2.12.3.2 |
| PCL | 1.8.1 |
| VTK | 8.0 |