A mirror surface defect detection
system imaging
simulation method based on a
structured light field comprises the steps that S1,
system parameters are calibrated and serve as
simulation model input; and S2, deducing a
light propagation model of the
light field camera, performing light tracing from a sensor, performing parallel calculation on the
light field sub-graph array, and solving an incident light vector of the
light field camera. And S3, designing a three-dimensional
surface shape of a function fitting deformation defect, solving an incident light vector at the defect, and tracing light to obtain a
light source point coordinate and illumination intensity. And S4, based on a Lambert
diffuse reflection model, introducing a coefficient representing scratch roughness /
stain opacity, and establishing a
diffuse reflection non-deformation defect gray model. And S5, generating a
simulation image and a
label thereof. And comparing the simulation image with the real shot image, and evaluating the reliability of the simulation model. And evaluating the operation efficiency of the simulation model. According to the method, the precision and speed of mirror surface defect light
field detection imaging simulation are effectively improved, and the method can be applied to parameter optimization, simulation image
data set generation and the like before construction of a detection
system.