The invention belongs to the related technical field of
image processing, and discloses an illumination
estimation method and
system based on image semantic driving and a
system training method.The method comprises the steps that an original small-view-angle image in a target environment is preprocessed to obtain a low-dynamic-range illumination image, then multi-level
feature extraction is conducted on the low-dynamic-range illumination image, and the low-dynamic-range illumination image is obtained; the method comprises the following steps of: obtaining a shallow-layer feature map, a middle-layer feature map and a deep-layer feature map, performing feature enhancement
processing on the middle-layer feature map, performing weighting
processing on the shallow-layer feature map and the deep-layer feature map based on an attention mechanism, fusing the feature maps of the three levels, and performing
linear regression operation to obtain a prediction result of illumination parameters. On the basis of the process, the
light source false detection rate can be greatly reduced, the cross-scene generalization ability of the model can be improved, explicit enhancement of a real
light source and effective suppression of an error
light source are achieved, the prediction result is more accurate, and on the basis of the design, the accuracy of illumination
estimation can be improved under limited training samples.