This invention discloses a method for constructing a
structured light dataset based on a digital twin model of a fringe
projection system. A digital twin model of the
system is constructed in
computer graphics software based on the hardware and calibration parameters of a real fringe
projection system. Then, a node tree is used to simulate the surface properties of the object under test and the
system's ambient
light source is set. The parameters are adjusted to diversify the
target surface properties and ambient light. Fringe images are then imported, and automated projection and
data acquisition of the digital twin model are achieved through
programming. Finally, fringe images and corresponding depth images that meet the user's quantity requirements are generated, completing the construction of the
structured light dataset. This invention solves the problems of complex fringe projection
data acquisition processes, high dataset production costs, and limited data samples in real-world scenarios, achieving rapid and high-precision construction of fringe
projection system datasets.