The invention belongs to the technical field of
electrical equipment detection, and discloses a defect
image enhancement method fusing reasoning and generation, which integrates visible light,
infrared and
laser radar data through a multi-
modal feature fusion network, breaks through the limitation that a contrast file CN114281093A only depends on a visible light image, and improves the detection accuracy. The dynamic attention mechanism can flexibly deploy visual, spatial and
semantic feature weights according to defect types, key features can still be captured in complex environments such as strong light and shielding, and meanwhile, the spatial form of the defects is analyzed by means of three-dimensional
point cloud; by means of the design, missing detection caused by insufficient characteristics of tiny parts such as hardware fittings and pins is effectively avoided. Aiming at the problem of
distortion of a sample generated by a traditional data enhancement method in a comparison file, the
sample quality is guaranteed through double mechanisms of reasoning constraint and
physical verification, defect features output by a reasoning model directly constrain feature distribution of the generated sample, and meanwhile, a material
mechanics rule is introduced to verify the physical rationality of the generated sample.