The invention provides a stack
image enhancement processing method, and relates to the technical field of
image enhancement, and the method comprises the steps: collecting and preprocessing a stack image, and constructing a training sample set containing a
risk level and an inclination angle
label; an
encoder-classifier dual-stage model is constructed, an
encoder extracts features through a multi-scale
feature extraction and enhancement module, a
space perception attention enhancement module, a
dynamic feature pyramid fusion module and a deformation gradient enhancement residual module, and a classifier outputs a
risk level and an inclination angle; during training, classification and regression loss weights are dynamically adjusted, an adversarial enhancement sample is generated to enhance robustness, and a gradient is adaptively
cut based on a channel attention enhancement vector. According to the method,
local illumination interference can be effectively eliminated, multi-scale features are fused, the sensitivity to a sparse
risk area is enhanced, and the self-adaptive enhancement
processing effect of the heaped image in a complex environment is improved.