A coronary artery segmentation method based on morphological attention and context fusion

By introducing morphological attention and context fusion, the problem of balancing global and local features in coronary artery images was solved, achieving high-precision coronary artery segmentation and improving segmentation results.

CN123181833APending Publication Date: 2026-11-27XINJIANG UNIVERSITY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611437464.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-16
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing medical image segmentation methods struggle to effectively balance global and local detail modeling in coronary artery images, leading to vessel rupture or false positive results, especially inaccurate segmentation at complex anatomical structures.

Method used

A segmentation method based on morphological attention and context fusion is adopted. Through a U-shaped encoder, a morphological attention module and a context fusion module, the tortuous and bifurcation morphological features of the coronary artery are explicitly extracted. The global and local features are balanced through cross-scale refinement fusion and adaptive feature fusion mechanism.

Benefits of technology

It significantly improves the accuracy of coronary artery segmentation, alleviates segmentation fragmentation in complex anatomical regions, enhances the Dice coefficient, and preserves the topology of the main vessels and the edge details of distal branches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181833A_ABST
    Figure CN123181833A_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of medical image processing and computer vision, and particularly relates to a coronary artery segmentation method and system based on morphological attention and context fusion. On the basis of the U-shaped network architecture, a morphological attention module (MAM) is designed at the jump connection, the multi-direction maximum response features are adaptively extracted by using the explicitly initialized "C-shaped" bending and "claw-shaped" bifurcation morphological convolution kernel, and the cross-scale refinement fusion is performed in combination with the three branches of the shallow layer, the middle layer and the deep layer, so that the segmentation fracture problem at the bending and bifurcation of the blood vessel is effectively solved; meanwhile, a context fusion module (CFM) is designed at the intermediate bottleneck layer, a parallel double-branch structure is adopted, the local detail features are extracted by using a detail reservation residual module, the global long-range strip-shaped context features are extracted by using a strip pooling module along the horizontal and vertical directions, and the feature refinement and balanced fusion are performed by using an adaptive feature fusion mechanism and a CBAM module. By the design, the segmentation precision and the topological connectivity of the main blood vessel and the fine branch in the X-ray coronary angiography image are significantly improved under the premise of ensuring the low contrast complex coronary image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the fields of medical image processing, computer vision and deep learning technology. Specifically, it relates to a coronary artery segmentation method based on morphological attention and context fusion. Background Technology

[0002] Automatic and accurate segmentation of coronary arteries from X-ray coronary angiography (XCA) images is a key step in assisting clinicians in diagnosing cardiovascular diseases (such as coronary artery disease and vascular stenosis assessment) and customizing interventional treatment plans.

[0003] However, due to the unique anatomical structure of the coronary arteries and the low-contrast imaging environment, existing medical image segmentation methods still face two major challenges in clinical applications: First, vascular rupture caused by complex anatomical morphology. The inherent anatomical complexity of the coronary arteries is significant. For example, the right coronary artery often presents a highly tortuous "C-shaped" structure, while the left coronary artery exhibits a multi-branched "claw-shaped" bifurcation morphology. The square receptive field of standard convolutional neural networks lacks morphological prior constraints, making it difficult to adaptively match such drastically changing vascular regions during feature extraction. This often leads to segmentation ruptures or false positive results at bends and bifurcations.

[0004] Second, there is an imbalance between global modeling and local detail modeling. Coronary angiography images simultaneously contain large main vessels and extremely delicate distal branch ends. Existing CNN or Transformer architectures often focus on one side: CNNs are biased towards local discrimination and lack long-range dependencies, while Transformers are biased towards global modeling but lack the ability to perceive local microstructures. It is difficult to achieve an effective balance between maintaining global topological connectivity and depicting local fine details, resulting in missed detection of small vessels or blurred edges of main vessels. Summary of the Invention

[0005] This invention aims to solve the above-mentioned technical problems and provides a coronary artery segmentation method based on morphological attention and context fusion. This method can guide the network to explicitly extract the tortuous and bifurcation morphological features of blood vessels, alleviate the segmentation fragmentation of complex anatomical regions, and effectively balance global context-dependent modeling with the preservation of local fine boundaries.

[0006] To address the above problems, this invention provides a coronary artery segmentation method based on morphological attention and context fusion, comprising the following steps:

[0007] S1. Input the coronary artery image to be segmented into the constructed U-shaped encoder, and extract multi-layer feature maps of different scales by downsampling layer by layer.

[0008] S2. The morphological attention module (MAM) deployed at the skip connections of each layer is used to process the same-scale feature map output by the encoder. The morphological attention module first uses a multi-directional morphological attention (MOMA) unit to adaptively capture the geometric features of blood vessels in different directions using morphological convolution kernels of a preset shape. Then, it uses a cross-scale refinement fusion (CSRF) unit to perform cross-scale fusion using multiple parallel multi-receptive field branches.

[0009] S3. Using the context fusion module (CFM) deployed at the lowest bottleneck of the encoder, the lowest feature map is received, and local detail features and global long-range context features of a specific dimension are extracted through two parallel branches respectively. The features of the two branches are then weighted and balanced and fused based on an adaptive feature fusion mechanism.

[0010] S4. Decoding and Output: The fused bottleneck layer features are fed into the decoder for layer-by-layer upsampling. The features upsampled at each layer are then concatenated with the refined features output by the corresponding skip connections. Finally, the output layer generates pixel-level coronary artery segmentation results.

[0011] The present invention also provides a coronary artery segmentation system for implementing the above method, comprising: an encoder module, a morphological attention skip connection module, an intermediate bottleneck layer context fusion module, and a decoder and output module.

[0012] Compared with the prior art, the present invention has the following significant advantages:

[0013] First, explicit morphological modeling: By introducing explicitly initialized "C-shaped" and "claw-shaped" morphological convolution kernels and a multi-directional selection mechanism, the network can generate high-intensity responses to the tortuous and bifurcation structures of the coronary arteries, fundamentally alleviating vascular segmentation and breakage at complex anatomical structures.

[0014] Second, multi-scale and long-range strip semantic fusion: cross-scale decoupling fusion is designed at the jump connection, and strip pooling global features and local residual features are fused at the bottleneck layer, which can accurately capture the global topological structure of the main blood vessels and perfectly preserve the edge details of the fine branches at the far end.

[0015] Third, it balances high accuracy with low computational cost: The method provided by this invention significantly improves the recognition accuracy of major blood vessels and fine structures in images while maintaining a moderate number of parameters and computational complexity; experimental data show that its Dice coefficient is significantly improved on both public datasets and self-built datasets. Attached Figure Description Figure 1 is a schematic diagram of the overall framework of the coronary artery segmentation network MACFNet provided in an embodiment of the present invention. Figure 2 is a schematic diagram of the morphological attention module (MAM) provided in an embodiment of the present invention, wherein Figure 2(a) is a schematic diagram of the multi-directional morphological attention unit (MOMA). Figure 2 (b) is a schematic diagram of the cross-scale refinement fusion unit CSRF. Figure 3 is a schematic diagram of the context fusion module CFM provided in an embodiment of the present invention. Figure 3(a) is a schematic diagram of the detail-preserving residual branch, Figure 3(b) is a schematic diagram of the strip pooling branch, and Figure 3(c) is a schematic diagram of the adaptive feature fusion and attention refinement. Detailed Implementation

[0016] To make the technical solution and advantages of the present invention clearer, the present invention will be described in detail and completely below with reference to the accompanying drawings and specific embodiments.

[0017] First, overall network architecture implementation

[0018] This embodiment constructs an end-to-end deep learning network framework called MACFNet. This network uses the classic U-shaped structure as its basic backbone architecture.

[0019] First, the X-ray coronary angiography images to be processed (input dimension: The data is fed into the encoder. The encoder consists of four consecutive downsampling stages. Each stage extracts semantic features through convolutional layers and halves the spatial resolution through max pooling, with the number of channels increasing layer by layer. At the lowest connection between the encoder and decoder, a context fusion module (CFM) is deployed to capture global elongated context and preserve bottleneck layer details. At each skip connection between the encoder and decoder, a morphological attention module (MAM) is deployed. The MAM is used to perform morphological constraints and refinement on the intermediate multi-scale features output by the encoder, and then concatenates them with the upsampled feature maps of the corresponding layers of the decoder along the channel dimension. Finally, the data is processed... The convolution and activation functions output the final pixel-level binary segmentation map.

[0020] Implementation details of the Morphological Attention Module (MAM)

[0021] To capture the inherent geometry of blood vessels (such as tortuosity and bifurcation), this embodiment designs a MAM at the skip connection, which includes a multi-directional morphological attention (MOMA) unit and a cross-scale refinement fusion (CSRF) unit.

[0022] Multidirectional Morphological Attention (MOMA)

[0023] To address the common C-type curvature of the right coronary artery and the common bifurcation (claw-like) of the left coronary artery, this embodiment explicitly designs and initializes two morphological convolution kernel matrices with directional priors. and To enable it to have comprehensive adaptive matching capabilities, the above-mentioned basic kernels were respectively subjected to [further processing] in the spatial domain. , , and The rotation operation generates a set of rotated convolution kernels containing four standard directions. : (1) Let the encoder feature map of the skip connection input be... First, let's compare them with... and Perform standard convolution to obtain the initial morphological feature response map. and : (2) (3) Subsequently, using multi-directional rotating kernel assembly Extract the maximum response in multiple directions to capture bending and bifurcation features at arbitrary rotation angles: (4) (5) Finally, in order for the model to dynamically adjust the weights of the morphological priors based on the image content, this embodiment calculates a dynamic weighting coefficient. : (6) The final output characteristics of the MOMA unit Represented as: (7)

[0024] Cross-scale refinement fusion (CSRF)

[0025] To accommodate the dramatic dimensional changes in both the main coronary arteries and the microvessels, given The output of MOMA is fed into three parallel multi-receptive-field decoupling branches for cross-scale extraction:

[0026] Shallow branch (S1): Maintain original resolution and proceed directly. Convolution to preserve fine blood vessel boundaries: (8) Mid-layer branch (S2): Average pooling with a stride of 2 is used to halve the resolution to expand the receptive field. After convolution extraction, bilinear interpolation is used ( Restore to original resolution: (9) Deep branch (S3): Employs average pooling with a stride of 4 to further squeeze spatial resolution and capture a wider range of contextual information. After convolution, bilinear interpolation is used to recover the original structure. (10) Subsequently, a gating mechanism was introduced. The features extracted from the three-layer branches are subjected to spatial scale-weighted adaptive scaling and fusion: ; (11) Finally, the morphological attention module outputs the final refined features through residual connections. : (12)

[0027] Implementation details of the Context Fusion (CFM) module

[0028] At the bottleneck layer at the bottom of the encoder, vascular features possess strong abstract semantics, but significant local details are lost. To address this, this embodiment constructs a parallel structure consisting of a detail-preserving residual module (DPRM) and a strip pooling branch. Let the input features of the bottleneck layer be... .

[0029] Detail-preserving residual branch: using the method of → → The residual structure composed of convolutions focuses on extracting high-density local detail features. .

[0030] Strip pooling branch: Strip pooling can capture global dependencies along elongated directions, perfectly matching the topology of elongated blood vessels. This branch uses a narrow vertical pooling kernel of H×1 and a narrow horizontal pooling kernel of 1×W to aggregate features, and then amplifies and fuses them through bilinear interpolation to generate contextual features with long-range elongated dependencies. .

[0031] To eliminate the heterogeneity misalignment during the fusion of local and global long-range features, this embodiment designs an adaptive feature fusion mechanism based on channel attention. First, spatial features are compressed into channel descriptors using global average pooling (GAP). Then, two fully connected layers (FC) and a Softmax function are used to dynamically calculate the dynamic fusion weights of the two branches. (Strip branch weights) and (Detailed branch weights), satisfying Fusion features The calculation formula is: (13) Finally, The input is fed into the Convolutional Block Attention (CBAM) model, where dual feature recalibration is performed in both channel and spatial dimensions, outputting the final bottleneck layer context fusion feature. .

[0032] The above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A coronary artery segmentation method based on morphological attention and context fusion, characterized in that, Includes the following steps: S1. Input Feature Extraction: The X-ray coronary angiography image to be segmented is input into the constructed U-shaped encoder, and feature maps at different scales are extracted by downsampling layer by layer; S2. Skip Connection Morphological Refinement: The morphological attention module (MAM) deployed at each skip connection is used to process the same-scale feature map output by the encoder. The MAM first explicitly captures the "C-shaped" bend and "claw-shaped" bifurcation geometric features in the feature map through the multi-directional morphological attention module (MOMA). Then, it decouples and extracts and fuses the multi-scale feature network of shallow, middle and deep branches through the cross-scale refinement fusion (CSRF) module. The input image is input to the encoder-decoder network, and the encoder extracts multi-scale hierarchical features. S3. Bottleneck Layer Context Fusion: Using the context fusion module CFM deployed at the bottom bottleneck of the U-shaped encoder, the bottom feature map is received, local detail features are extracted in parallel through the detail-preserving residual branch, and global long-range context features of a specific dimension are extracted in parallel through the strip pooling branch. The local detail features and global long-range context features are then weighted and balanced and fused based on the adaptive feature fusion mechanism. S4. Decoding and Output: The bottleneck layer features fused in step S3 are fed into the U-shaped decoder for layer-by-layer upsampling. The features after each layer upsampling are concatenated and convolved with the refined features output by the corresponding skip connections in step S2. Finally, the coronary artery segmentation results are output through the output layer.

2. The coronary artery segmentation method based on morphological attention and context fusion according to claim 1, characterized in that: In step S2, the morphological convolution kernel with the preset shape includes a C-type initial morphological convolution kernel and a claw-type initial morphological convolution kernel; when extracting features, the initial morphological convolution kernel is spatially rotated to adaptively match and capture the tortuous and bifurcated morphological features of blood vessels in the image. In step S2, the multiple parallel multi-receptive field branches include: a shallow branch without downsampling, a mid-level branch with half the resolution through average pooling, and a deep branch that further expands the receptive field. After the features extracted from each branch are restored to the same resolution, scale scaling and residual fusion are performed through a gating mechanism.

3. The coronary artery segmentation method based on morphological attention and context fusion according to claim 1, characterized in that: In step S3, the branch for extracting global long-range context features adopts a strip pooling structure, and narrow pooling kernels are extracted along the horizontal and vertical directions respectively; the adaptive feature fusion mechanism dynamically calculates and allocates the fusion weights of the local detail features and global long-range context features through global average pooling and a fully connected network.