AUTHOR=Cheng Chi-Yung , Wu Cheng-Ching , Chen Huang-Chung , Hung Chun-Hui , Chen Tien-Yu , Lin Chun-Hung Richard , Chiu I-Min TITLE=Development and validation of a deep learning pipeline to measure pericardial effusion in echocardiography JOURNAL=Frontiers in Cardiovascular Medicine VOLUME=10 YEAR=2023 URL=https://www.frontiersin.org/journals/cardiovascular-medicine/articles/10.3389/fcvm.2023.1195235 DOI=10.3389/fcvm.2023.1195235 ISSN=2297-055X ABSTRACT=Objectives

The aim of this study was to develop a deep-learning pipeline for the measurement of pericardial effusion (PE) based on raw echocardiography clips, as current methods for PE measurement can be operator-dependent and present challenges in certain situations.

Methods

The proposed pipeline consisted of three distinct steps: moving window view selection (MWVS), automated segmentation, and width calculation from a segmented mask. The MWVS model utilized the ResNet architecture to classify each frame of the extracted raw echocardiography files into selected view types. The automated segmentation step then generated a mask for the PE area from the extracted echocardiography clip, and a computer vision technique was used to calculate the largest width of the PE from the segmented mask. The pipeline was applied to a total of 995 echocardiographic examinations.

Results

The proposed deep-learning pipeline exhibited high performance, as evidenced by intraclass correlation coefficient (ICC) values of 0.867 for internal validation and 0.801 for external validation. The pipeline demonstrated a high level of accuracy in detecting PE, with an area under the receiving operating characteristic curve (AUC) of 0.926 (95% CI: 0.902–0.951) for internal validation and 0.842 (95% CI: 0.794–0.889) for external validation.

Conclusion

The machine-learning pipeline developed in this study can automatically calculate the width of PE from raw ultrasound clips. The novel concepts of moving window view selection for image quality control and computer vision techniques for maximal PE width calculation seem useful in the field of ultrasound. This pipeline could potentially provide a standardized and objective approach to the measurement of PE, reducing operator-dependency and improving accuracy.