Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Oct 27;18(10):e0293560.
doi: 10.1371/journal.pone.0293560. eCollection 2023.

Robust cardiac segmentation corrected with heuristics

Affiliations

Robust cardiac segmentation corrected with heuristics

Alan Cervantes-Guzmán et al. PLoS One. .

Abstract

Cardiovascular diseases related to the right side of the heart, such as Pulmonary Hypertension, are some of the leading causes of death among the Mexican (and worldwide) population. To avoid invasive techniques such as catheterizing the heart, improving the segmenting performance of medical echocardiographic systems can be an option to early detect diseases related to the right-side of the heart. While current medical imaging systems perform well segmenting automatically the left side of the heart, they typically struggle segmenting the right-side cavities. This paper presents a robust cardiac segmentation algorithm based on the popular U-NET architecture capable of accurately segmenting the four cavities with a reduced training dataset. Moreover, we propose two additional steps to improve the quality of the results in our machine learning model, 1) a segmentation algorithm capable of accurately detecting cone shapes (as it has been trained and refined with multiple data sources) and 2) a post-processing step which refines the shape and contours of the segmentation based on heuristics provided by the clinicians. Our results demonstrate that the proposed techniques achieve segmentation accuracy comparable to state-of-the-art methods in datasets commonly used for this practice, as well as in datasets compiled by our medical team. Furthermore, we tested the validity of the post-processing correction step within the same sequence of images and demonstrated its consistency with manual segmentations performed by clinicians.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. An example of a low resolution, annotated echocardiographic image.
Fig 2
Fig 2. An example of the cone segmentation task executed in a renal liver ultrasound.
a, the original image features all the technical elements of the ultrasound scan. b, the predicted mask from the cone segmentation superimposed on the ultrasound scan, c, the mask smoothed and applied over the image. d, finally a dilation step is applied to improve the cone segmentation.
Fig 3
Fig 3. U-Net architecture implemented.
Fig 4
Fig 4. An example of a mask from the right ventricle (top-left in pink labeled VD) surrounding the right atrium (bottom-left in violet labeled AD).
Fig 5
Fig 5. Mask VD after the correction.
Fig 6
Fig 6. The final result improved for visualization purposes.
Fig 7
Fig 7. Some instances from the custom dataset with their respective ground truth masks.
Fig 8
Fig 8
Left (GT): Mask generated by the clinician’s labeling. Center (PR): Mask predicted by the model. Right (CR): Predicted mask after heuristic correction.
Fig 9
Fig 9. Visible differences between the PR mask and the CR mask.
Fig 10
Fig 10. Loss history for the training (red) and validation (blue) phases.
Fig 11
Fig 11. Dice Coefficient (dice_coeff), Intersection over Union (IoU) and mean pixel accuracy achieved in the validation phase.
Fig 12
Fig 12. Two examples from the first case where the segmentations were very close to the ground truth.
It can be proved the good quality of the images for this case (especially on the contrast between the cavities chambers and the rest of the heart structure).
Fig 13
Fig 13
There are larger left ventricles (b) and variable shapes for the rest of the cavities and less defined borders (a) for this two examples. The model achieved good segmentations for both.
Fig 14
Fig 14
In this third case, the quality drop is notorious for this two examples: (a) and (b). This is reflected in how segmentation quality is lower compared to the two previous cases but the model does not lose shape sense and keeps them regular given the cavity.
Fig 15
Fig 15. Two examples of the fourth case, where annotations are incorrect and additional areas have been marked.

References

    1. Rogers W, Thulasi Seetha S, Refaee TAG, Lieverse RIY, Granzier RWY, Ibrahim A, et al. Radiomics: from qualitative to quantitative imaging. The British Journal of Radiology. 2020;93(1108):20190948. doi: 10.1259/bjr.20190948 - DOI - PMC - PubMed
    1. Chicco D, Shiradkar R. Ten quick tips for computational analysis of medical images. PLOS Computational Biology. 2023;19(1):1–14. doi: 10.1371/journal.pcbi.1010778 - DOI - PMC - PubMed
    1. Kononenko I. Machine learning for medical diagnosis: History, state of the art and perspective. Artificial Intelligence in Medicine. 2001;23(1):89–109. doi: 10.1016/S0933-3657(01)00077-X - DOI - PubMed
    1. Olveres J, González G, Torres F, Moreno-Tagle JC, Carbajal-Degante E, Valencia-Rodríguez A, et al. What is new in computer vision and artificial intelligence in medical image analysis applications. Quantitative Imaging in Medicine and Surgery. 2021;11(8). doi: 10.21037/qims-20-1151 - DOI - PMC - PubMed
    1. Rizzo S, Botta F, Raimondi S, Origgi D, Fanciullo C, Morganti AG, et al. Radiomics: the facts and the challenges of image analysis. European radiology experimental. 2018;2(1):1–8. doi: 10.1186/s41747-018-0068-z - DOI - PMC - PubMed

Publication types