Abstract
Echocardiography is a widely used medical modality to evaluate cardiac function. Automatic solutions for 2D echocardiography analysis could greatly influence cardiac disease diagnosis and prognosis. Within its diverse analysis tasks, segmentation and motion estimation are critical. Segmentation provides insights into cardiac structures, while motion estimation depicts myocardial deformation during cardiac cycles via image registration. These two tasks help extract useful clinical indexes, including ejection fraction and heart wall strain. Deep learning based methods that aim to tackle each of the above tasks have demonstrated efficient performance. However, the predominant focus on a single research dataset raises concerns about the generalisation of these approaches to other datasets and their applicability to downstream clinical tasks. In this paper, we propose a comprehensive echocardiography analysis pipeline, consisting of a segmentation module, a motion tracking module, and a classifier. The segmentation module incorporates a shape prior, leveraging a contour-aware loss function for the endocardium and epicardium. The motion tracking module integrates a motion prior for the myocardium through a differentiable poly-affine transformation, ensuring smooth and anatomy-aware deformation estimation. Our successful application of these proposed methods in detecting patients with myocardial infarction (0.84 in F1 score and 0.77 in accuracy) emphasizes their potential for clinical utility.
Introduction
Deep learning has shown great promise in automating echocardiography tasks like segmentation and motion tracking. However, most models are trained and tested on single datasets, leading to a "generalization gap" when encountering data from different hospitals or ultrasound machines. Furthermore, many "black-box" models lack anatomical consistency, producing physically impossible results. For clinicians to trust these tools, models must be both generalizable and anatomically realistic. This paper presents a robust pipeline that addresses these issues by incorporating anatomical priors—pre-existing knowledge about heart shape and motion.
Proposed Pipeline and Anatomical Priors
The researchers proposed a three-part pipeline that processes apical 4-chamber and 2-chamber views to extract interpretable clinical features for diagnosis.
1. Segmentation Module
Based on a U-Net architecture, this module incorporates a shape prior via a contour-aware loss function. This forces the model to focus on the boundaries of the endocardium and epicardium. To improve robustness, the module uses specialized data augmentations—such as speckle noise and brightness shifts—to mimic the variability of real-world ultrasound images.
2. Motion Tracking Module
Instead of dense pixel-by-pixel movement, the pipeline uses a Poly-affine Motion (PAM) framework. This acts as a motion prior by modeling myocardial movement through key points and differentiable transformations. An "incompressibility" regularization term ensures the heart muscle volume remains realistic during the cardiac cycle.
3. Classifier
Rather than feeding raw images into a classifier, the system extracts eight interpretable clinical features (including Ejection Fraction and global longitudinal strain). These features serve as a bottleneck that filters out image-level noise, making the final diagnosis more robust to changes in image quality.
Multi-centric Evaluation
The study utilized four distinct datasets to test generalization:
- CAMUS: Used for training the segmentation module.
- EchoNet-Dynamic: Used to train the motion tracking module.
- HMC-QU: Used to train and cross-validate the classifier for Myocardial Infarction (MI).
- CHU-Nice: A private clinical dataset from a local hospital used as an unseen real-world test set.
Key Results and Clinical Utility
- Robust Segmentation: The model achieved a Dice score of 0.949 on the CAMUS test set and maintained high accuracy on the unseen CHU-Nice clinical data (EF correlation of 0.74).
- Superior Tracking: The PAM model outperformed state-of-the-art methods in maintaining a smooth and regular deformation field.
- Diagnostic Performance: In detecting myocardial infarction on the real-world CHU-Nice dataset, the pipeline achieved an F1 score of 0.84 and an accuracy of 0.77, performance comparable to inter-observer variability between human experts.
Conclusion
By hardcoding anatomical common sense into deep learning architectures, this work demonstrates that models can overcome the generalization gap inherent in medical imaging. The use of interpretable clinical indexes as a bridge to classification ensures that the system remains robust across different medical centers. Future work will explore temporal consistency and uncertainty estimation to further refine these tools for clinical deployment.
Code is available at: https://gitlab.inria.fr/epione/echoanalysis
Summary updated