Contour-Guided Query-Based Feature Fusion for Boundary-Aware and Generalizable Cardiac Ultrasound Segmentation
Organizations: Department of Computer Science and Artificial Intelligence, Dongguk University, Seoul 04620, Republic of Korea
Abstract
Accurate cardiac ultrasound segmentation is essential for reliable assessment of ventricular function in intelligent healthcare systems. However, echocardiographic images are challenging due to low contrast, speckle noise, irregular boundaries, and domain shifts across devices and patient populations. Existing methods, largely based on appearance-driven learning, often fail to preserve boundary precision and structural consistency under these conditions. To address these issues, we propose a Contour-Guided Query Refinement Network (CGQR-Net) for boundary-aware cardiac ultrasound segmentation. The framework integrates multi-resolution feature representations with contour-derived structural priors. An HRNet backbone preserves high-resolution spatial details while capturing multi-scale context. A coarse segmentation is first generated, from which anatomical contours are extracted and encoded into learnable query embeddings. These contour-guided queries interact with fused feature maps via cross-attention, enabling structure-aware refinement that improves boundary delineation and reduces noise artifacts. A dual-head supervision strategy jointly optimizes segmentation and boundary prediction to enforce structural consistency. The proposed method is evaluated on the CAMUS dataset and further validated on the CardiacNet dataset to assess cross-dataset generalization. Experimental results demonstrate improved segmentation accuracy, enhanced boundary precision, and robust performance across varying imaging conditions. These results highlight the effectiveness of integrating contour-level structural information with feature-level representations for reliable cardiac ultrasound segmentation.
Figures & tables
| Paper | Methodology | Drawbacks |
|---|---|---|
| U-Net [ 11 ] | Encoder–decoder CNN with skip connections for pixel-wise segmentation. | Relies on local features and often produces smooth or inaccurate boundaries in low-contrast ultrasound images. |
| Attention U-Net [ 7 ] | Introduces attention gates to focus on relevant regions. | Improves region localization but still lacks explicit structural modeling; boundary precision remains limited. |
| UNet++ [ 8 ] | Dense skip connections for improved multi-scale feature fusion. | Increases architectural complexity while remaining primarily driven by pixel-wise learning without explicit contour priors. |
| nnU-Net [ 26 ] | Self-configuring segmentation framework with adaptive design. | Provides a strong baseline but remains appearance-driven and struggles with domain shift and boundary ambiguity. |
| CANet [ 27 ] | Context-aware network leveraging multi-scale contextual information. | Produces smoother predictions but lacks precise boundary delineation in challenging regions. |
| Extended nnU-Net [ 28 ] | Improved nnU-Net with enhanced configurations and training strategies. | Offers improved optimization but still shows limited structural awareness and sensitivity to anatomical variability. |
| Parameter | Value |
|---|---|
| Framework | PyTorch |
| Optimizer | AdamW |
| Initial Learning Rate | |
| Learning Rate Scheduler | Cosine Annealing |
| Batch Size | 4 |
| Number of Epochs | 100 |
| Model | Endocardium | Epicardium | Left Atrium | Avg. |
|---|---|---|---|---|
| U-Net [ 11 ] | 93.69 | 86.25 | 85.34 | 88.43 |
| Attention U-Net [ 7 ] | 93.72 | 86.54 | 86.02 | 88.76 |
| UNet++ [ 8 ] | 93.81 | 86.88 | 86.47 | 89.05 |
| nnU-Net [ 26 ] | 93.33 | 87.06 | 85.13 | 88.51 |
| CANet [ 27 ] | 93.91 | 87.52 | 87.01 | 89.48 |
| Extended nnU-Net [ 28 ] | 92.90 | 85.81 | 86.54 | 88.42 |
| Model | Left Atrium | Right Atrium | Left Ventricle | Right Ventricle | Avg. |
|---|---|---|---|---|---|
| U-Net [ 11 ] | 88.61 | 87.98 | 91.51 | 88.19 | 89.07 |
| Attention U-Net [ 7 ] | 88.94 | 88.31 | 91.63 | 88.54 | 89.36 |
| UNet++ [ 8 ] | 89.05 | 88.42 | 91.68 | 88.71 | 89.47 |
| nnU-Net [ 26 ] | 88.66 | 88.47 | 91.40 | 88.50 | 89.26 |
| CANet [ 27 ] | 88.95 | 88.91 | 91.70 | 89.26 | 89.71 |
| Extended nnU-Net [ 28 ] | 88.21 | 88.23 | 91.03 | 88.28 | 88.94 |
| Method | LV Endo. | LV Epi. | LA |
|---|---|---|---|
| Full CGQR-Net | 93.95 | 88.09 | 89.15 |
| w/o Boundary Head | 93.21 | 87.34 | 88.42 |
| w/o Coarse Head | 93.48 | 87.76 | 88.63 |
| w/o Contour Queries | 92.87 | 86.95 | 87.88 |
| w/o Feature Pyramid Fusion | 92.65 | 86.71 | 87.54 |
| w/o Teacher Forcing | 93.02 | 87.11 | 88.06 |
Ultrasound Image Segmentation
Ultrasound image segmentation delineates organs, lesions, and other structures in ultrasound scans for measurement, diagnosis, and image-guided care.
See all 73 papers