Skip to main content

Volume 18 Supplement 1

19th Annual SCMR Scientific Sessions

Fully automatic segmentation of heart chambers in cardiac MRI using deep learning


Cardiac magnetic resonance imaging (MRI) is now routinely being used for the evaluation of the function and structure of the cardiovascular system. Chamber segmentation from cardiac MRI datasets is an essential step for the computation of clinical indices such as ventricular volume, ejection fraction, mass and wall thickness as well as analysis of wall motion abnormality.

Manual delineation by experts is currently the standard clinical practice for performing chamber segmentation. However, manual segmentation is tedious, time consuming and prone to intra- and inter-observer variability. Therefore, it is necessary to reproducibly automate this task to accelerate and facilitate the process of diagnosis and follow-up.

Due to the several technical difficulties, automatic chamber segmentation from cardiac MRI dataset is still a challenging problem. Current automated techniques suffer from poor robustness and accuracy and require large training datasets and user interaction.


In this study we developed and evaluated an accurate, fast and robust method for the fully automatic segmentation of the right ventricle (RV) and the left ventricle (LV) from cardiac MRI datasets. We tackled the complex problem of RV/LV segmentation by mimicking the function of human brain using deep learning. Deep learning is a branch of machine learning that aims to learn abstract concepts from high-dimensional data using multiple-layer computational models. Our method is composed of three stages (Figure 1a). First, the region of interest (ROI) containing the heart chamber is determined in the raw input image using deep convolutional networks trained to locate the chamber. Then, the chamber is initially segmented using a stacked autoencoder trained to delineate the chamber. The obtained contour is used as initialization and also is incorporated into deformable models for accurate, fast and robust segmentation. We utilized a portion of available MRI databases to train our method and then evaluated our method on the rest of the databases. The MICCAI 2012 RV segmentation challenge database and the MICCAI 2009 LV database, were used in the RV and LV segmentation studies, respectively.


Good agreement with the ground truth was obtained. Quantitative results for RV segmentations are summarized in Table 1. Illustrative results for a typical dataset are illustrated in Figure 1b. Also, for the LV, a correlation with the ground truth contours of 0.99, 0.99, 0.99 for ED volume, ES volume and Ejection Fraction was measured.

Table 1 Comparison of RV segmentation results of our method and the state-of-the-art methods tested on MICCAI 2012 database.
Figure 1

(a): (top) Block diagram of the developed method for fully automatic chamber segmentation from cardiac MRI datasets (here RV is highlighted). Figure1 (b): (bottom) Automatic segmentation results of the RV from the base to the apex for a typical dataset of the MICCAI 2012 RV challenge.


Chamber segmentation from MRI datasets can be fully automated using our deep learning approach. The proposed method outperforms the state-of-the-art methods in terms of accuracy, robustness and computational time. The high correlation between the automatic and manual references shows the accuracy and clinical applicability of the proposed framework for automatic evaluation of the heart function.


  1. 1.

    Zuluaga M, Cardoso M, Modat M, Ourselin S: Multi-atlas propagation whole heart segmentation from MRI and CTA using a local normalized correlation coefficient criterion. Functional Imaging and Modeling of the Heart, FIMH 2013, LNCS. 2013, London, UK, 7945: 172-180.

    Google Scholar 

  2. 2.

    Wang CW, Peng CW, Chen HC: A simple and fully automatic right ventricle segmentation method for 4-dimensional cardiac MR images. Proceedings of 3D Cardiovascular Imaging: A MICCAI Segmentation Challenge. 2012, Nice, France

    Google Scholar 

  3. 3.

    Ou Y, Doshi J, Erus G, Davatzikos C: Multi-atlas segmentation of the cardiac MR right ventricle. Proceedings of 3D Cardiovascular Imaging: A MICCAI Segmentation Challenge. 2012, Nice, France

    Google Scholar 

  4. 4.

    Maier O, Jimenez D, Santos A, Ledesma-Carbayo M: Segmentation of RV in 4D cardiac MR volumes using region-merging graph cuts. Computing in Cardiology. 2012, IEEE, Krakow, Poland, 697-700.

    Google Scholar 

  5. 5.

    Nambakhsh CM, Yuan J, Punithakumar K, Goelaa A, Rajchl M, Peters TM, Ayed IB: Left ventricle segmentation in MRI via convex relaxed distribution matching. Med Image Anal. 2013, 17: 1010-1024.

    Article  PubMed  Google Scholar 

  6. 6.

    Bai W, Shi W, O'Regan DP, Tong T, Wang H, Jamil-Copley S, Peters NS, Rueckert D: A probabilistic patch-based label fusion model for multiatlas segmentation with registration refinement: application to cardiac MR images. IEEE Trans Med Imaging. 2013, 32 (7): 1302-1315.

    Article  PubMed  Google Scholar 

  7. 7.

    Grosgeorge D, Petitjean C, Dacher JN, Ruan S: Graph cut segmentation with a statistical shape model in cardiac MRI. Comp Vis Image Understand. 2013, 117: 1027-1035.

    Article  Google Scholar 

Download references

Author information



Corresponding author

Correspondence to MR Avendi.

Rights and permissions

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Avendi, M., Kheradvar, A. & Jafarkhani, H. Fully automatic segmentation of heart chambers in cardiac MRI using deep learning. J Cardiovasc Magn Reson 18, P351 (2016).

Download citation


  • Left Ventricle
  • Cardiac Magnetic Resonance
  • Right Ventricle
  • Deep Learning
  • Automatic Segmentation