The invention discloses a dynamic dimming method and
system based on ambient light
adaptation. The method comprises the steps of
data acquisition, ambient light
image denoising, construction of an ambient
light detection model and generation of a control strategy. The invention belongs to the technical field of environment dimming, and particularly relates to a dynamic dimming method and
system based on environment light
adaptation. According to the scheme, a threshold value is adaptively calculated based on two-dimensional maximum Shannon entropy and is used for
noise point discrimination, filtering windows of two scales are adopted to complete two times of filtering,
noise points are denoised through median replacement, and the
noise points are denoised through median replacement. The environment illumination
image quality is improved; the method comprises the steps of capturing features of different scales through a multi-scale
feature fusion layer, enhancing attention on key features of an environment illumination image through a mixed attention layer, designing an initial individual position of a
diagonal uniform initialization strategy, designing two updating strategies based on a random scale
mutation factor and an adaptive weight, and selecting an individual updating strategy based on a selection threshold value. The optimal parameters of the model are found, and the accuracy of the environment illumination detection model is improved.