The invention belongs to the technical field of medical
image processing, and particularly relates to a semi-supervised cardiac
image segmentation method based on a Mamb-Transform double structure and contrast learning. A segmentation model used in the method comprises an MTSeg
encoder and a VNet decoder, an input image enters the MTSeg
encoder after being subjected to
linear layer and position embedding operation, the MTSeg
encoder comprises a plurality of MTSeg encoding modules, the VNet decoder comprises a plurality of decoding modules, and output features of the MTSeg encoding modules are in jump connection with the corresponding decoding modules after being subjected to projection operation; performing normalization operation on the output
feature vector of the VNet decoder to obtain a segmentation result; the MTSeg coding module comprises an improved Mama
branch and a Transform
branch, and output feature vectors of the two branches are fused through a cross attention layer to obtain an output
feature vector of the MTSeg coding module; the improved Mama
branch comprises an MS module and a DRFB module which are connected in series, the MS module is used for enhancing the
feature extraction and calculation efficiency of the model, and the DRFB module is used for enhancing the expression ability and training stability of the model. The method achieves the effective integration of a long-range dependency relationship,
global information, multi-scale information and local information, improves the
feature extraction capability of the model, and obtains a finer and more
accurate segmentation result.