The invention discloses a medical
image segmentation method based on channel attention and multi-head attention mechanisms, and relates to the technical field of medical
image segmentation. The method at least comprises the following steps: S1, data preprocessing: in order to better utilize the relationship between
data set pictures and adapt to the input of a network, obtaining a 2D slice after preprocessing; s2,
feature extraction; and S3, feature
recovery: recovering the extracted features by using an
encoder. According to the method, a channel attention and
convolution multi-head attention mixing mechanism is used in an
encoder for
feature extraction, respective defects can be made up, channel features and
global information can be captured at the same time, in order to suppress irrelevant information from the
encoder and effectively utilize high-layer and low-layer features, a
cascade decoder with a BiFusion module is introduced, and the method has the advantages of being high in robustness and high in robustness. Experimental results show that the performance of the proposed method on ACDC and
Synapse data sets is superior to that of the most advanced method, and the potential research direction in the future is highlighted, so that the accuracy of medical
image segmentation is improved.