NA-MIC Project WeeksOne of the primary indicators of acute heart failure is the presence of pulmonary congestion. To detect fluid build up quickly in the emergency room, lung ultrasound exams are taken of the patient. Clinicians look for hyperechoic artifacts (B-lines) that appear in the image, where the more they see the more congested the patient is.
Unfortunately, manual detection of these B-lines is difficult due to the image quality, which depends on the type of transducer and the expertise of the clinician. Therefore, AI models have started to be developed to quickly detect these B-lines. Our group, over the past few years, has developed multiple methods [1], [2], [3]. One of the drawbacks though, is that existing models do not compute the pleural percentage, the ratio of the B-line sectors to the pleural line sectors, which is strongly associated with extravascular lung water and consistent with other semi-quantitative clinical scores [4].
Therefore, we have started to develop detection models to automatically find pleural lines and B-lines and compute the percentage pleura. Our goal for this project week is to train and validate keypoint detection models such as ViTPose++, [5], and HRNet with UDP, [6], and talk to clinicians about the performance.
Ground truth boxes in scanline space: oriented bounding box for the pleural line (left), and axis-aligned bounding box for the B-lines.
YOLO results after performing pleural line detection and B-line detection, and conversion back to the sector space, compared to the ground truth:
Percent pleura for one test lung zone - x = frame #, and y = percentage. We see that the AI predicted
Data Exploration (During Project Week)
Overview of different metadata of lung ultrasound dataset:
Overview of original data structures:
+---Andrew/
| +---Andrew-0561119268/
| | 0561119268_08109698.andrew.json
| | 0561119268_08109698.dcm
| | ...
| +---Andrew-1835608883/
| +---Andrew-3594442829/
| +---Andrew-5476058456/
| +---Andrew-5982622832/
| ...
| +---Andrew-CARVD_123_Day_0/
| +---Andrew-CARVD_124_Day_0/
| +---Andrew-CARVD_125_Day_0/
| ...
| +---Andrew-CARVD_134_Day_0/
| +---Andrew-Lahey_001_T0_Transverse/
| +---Andrew-Lahey_029_T0_Transverse/
| +---Andrew-Lahey_032_T0_Transverse/
| ...
+---Arjun/
| ...
+---Frances/
| ...
+---Lao/
| ...
+---Nick/
| ...
+---Nicole/
| ...
+---Peter/
| ...
+---Sandra/
| ...
+---Sandra-old/
...
Overview of new data structure:
COCO_Data
+---annotations/
| +---scanline/
| | <Annotator>_<clipid>.json
| | <Annotator>_<clipid>.json
| | ...
| +---sector/
| <Annotator>_<clipid>.json
| <Annotator>_<clipid>.json
| ...
+---images/
+---scanline/
| <Annotator>_<clipid>_<framenum>.png
| <Annotator>_<clipid>_<framenum>.png
| ...
+---sector/
<Annotator>_<clipid>_<framenum>.png
<Annotator>_<clipid>_<framenum>.png
...
Standardized JSON Metadata:
[1] Lucassen RT, Jafari MH, Duggan NM, Jowkar N, Mehrtash A, Fischetti C, Bernier D, Prentice K, Duhaime EP, Jin M, Abolmaesumi P. Deep learning for detection and localization of B-lines in lung ultrasound. IEEE journal of biomedical and health informatics. 2023 Jun 5;27(9):4352-61.
[2] Asgari-Targhi A, Ungi T, Jin M, Harrison N, Duggan N, Duhaime E, Goldsmith A, Kapur T. Can Crowdsourced Annotations Improve AI-Based Congestion Scoring for Bedside Lung Ultrasound?. InInternational Conference on Medical Image Computing and Computer-Assisted Intervention 2024 Oct 7 (pp. 580-590). Cham: Springer Nature Switzerland.[3] MICCAI 2026 submission.
[3] MICCAI 2026 acceptance. AI-Driven Pulmonary Congestion Assessment for Lung Ultrasound via Segmentation-Guided Transformers.
[4] Brusasco C, Santori G, Bruzzo E, et al. Quantitative lung ultrasonography: a putative new algorithm for automatic detection and quantification of B-lines. Crit Care. 2019;23(1):288.
This work is supported by NIH R01EB035679 and R21EB034075.