The invention provides a brain
image denoising method based on a U-shaped dynamic
convolution multi-scale multi-
branch network. The brain
image denoising method comprises the steps that brain
noise images to be denoised are input into three
branch networks formed by U-netAM, DSHFN and MSDSRN in parallel; in the U-netAM
branch, multi-level features are extracted through an
encoder in sequence, after weighting is conducted through a channel and a space attention mechanism, the spatial resolution is recovered through a decoder, and a first feature map is obtained; in the DSHFN branch, the dynamic
convolution kernel generates a corresponding
convolution kernel in real time according to input image features, the image is decomposed into a low-frequency part and a high-frequency part, and the low-frequency part and the high-frequency part are subjected to weighted fusion after being processed by a low-pass filter and a high-pass filter respectively to obtain a second feature map; in the MSDSRN branch, adopting multi-scale depth separable convolution to extract multi-scale features in parallel, and obtaining a third feature map through residual connection and fusion; inputting the three feature maps into an FPB block for fusion to obtain a
noise feature map; and performing pixel-by-pixel subtraction on the original brain
noise image and the noise feature map, and outputting a denoised brain image.