The application discloses a parameter-controllable
random structure light generating device and method, a
laser emits a
light beam which sequentially passes through a linear
polarizer and a
beam expander and then is incident to a
beam splitter, the
light beam reflected by the
beam splitter is a
first light beam, the
first light beam enters a
digital micromirror device loaded with a holographic film to be modulated, a second
light beam is obtained after the modulation, the second light beam is incident to the
beam splitter again, and is incident to a common-path interference
system after being transmitted; the second light beam passes through a first lens in the common-path interference
system, positive and negative first-order light spots are filtered out through a pinhole diaphragm at a focal plane of the first lens, the positive and negative first-order light spots pass through two half-wave plates respectively, and then pass through a second lens and a Ronchi
grating to be combined into a random vector light beam. The application can accurately generate a
random structure light beam, and compared with a traditional
structure light beam, can simultaneously control the polarization degree and the
spatial coherence degree of the generated
random structure light beam.