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
. 2024 Feb 13;24(1):43.
doi: 10.1186/s12880-024-01217-4.

Automated assessment of cardiac pathologies on cardiac MRI using T1-mapping and late gadolinium phase sensitive inversion recovery sequences with deep learning

Affiliations

Automated assessment of cardiac pathologies on cardiac MRI using T1-mapping and late gadolinium phase sensitive inversion recovery sequences with deep learning

Aleksandra M Paciorek et al. BMC Med Imaging. .

Abstract

Background: A deep learning (DL) model that automatically detects cardiac pathologies on cardiac MRI may help streamline the diagnostic workflow. To develop a DL model to detect cardiac pathologies on cardiac MRI T1-mapping and late gadolinium phase sensitive inversion recovery (PSIR) sequences were used.

Methods: Subjects in this study were either diagnosed with cardiac pathology (n = 137) including acute and chronic myocardial infarction, myocarditis, dilated cardiomyopathy, and hypertrophic cardiomyopathy or classified as normal (n = 63). Cardiac MR imaging included T1-mapping and PSIR sequences. Subjects were split 65/15/20% for training, validation, and hold-out testing. The DL models were based on an ImageNet pretrained DenseNet-161 and implemented using PyTorch and fastai. Data augmentation with random rotation and mixup was applied. Categorical cross entropy was used as the loss function with a cyclic learning rate (1e-3). DL models for both sequences were developed separately using similar training parameters. The final model was chosen based on its performance on the validation set. Gradient-weighted class activation maps (Grad-CAMs) visualized the decision-making process of the DL model.

Results: The DL model achieved a sensitivity, specificity, and accuracy of 100%, 38%, and 88% on PSIR images and 78%, 54%, and 70% on T1-mapping images. Grad-CAMs demonstrated that the DL model focused its attention on myocardium and cardiac pathology when evaluating MR images.

Conclusions: The developed DL models were able to reliably detect cardiac pathologies on cardiac MR images. The diagnostic performance of T1 mapping alone is particularly of note since it does not require a contrast agent and can be acquired quickly.

Keywords: Cardiomyopathies; Classification; Deep learning; Magnetic resonance imaging.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Framework of the confusion matrix for a binary classification
Fig. 2
Fig. 2
Performance of the model on the PSIR test set for classification as normal or abnormal. A shows the ROC curve of the model with an AUC value of 0.75. B illustrates the corresponding confusion matrix of the model with an overall accuracy of 88%
Fig. 3
Fig. 3
Performance of the model on the T1-mapping test set for classification as normal or abnormal. A shows the ROC curve of the model with an AUC value of 0.69. B illustrates the corresponding confusion matrix of the model with an overall accuracy of 70%
Fig. 4
Fig. 4
Heatmaps for cardiac pathology assessment on PSIR images. A, B: Subject without cardiac pathology. A shows the late gadolinium phase sensitive inversion recovery (PSIR) image. B shows a heatmap generated by overlaying a gradient-weighted class activation map (Grad-CAM) with the PSIR image. Red indicates higher activation, and blue indicates lower activation. The heatmap shows that the model mainly focused on the myocardial septum for its decision. This was classified by the deep learning model as normal with 86% certainty. C, D: Subject with chronic myocardial infarction. C shows the late gadolinium phase sensitive inversion recovery (PSIR) image. D shows a heatmap generated by overlaying a gradient-weighted class activation map (Grad-CAM) with the PSIR image. Red indicates higher activation, and blue indicates lower activation. The heatmap shows that the model mainly focused on the myocardium of the left ventricle, exhibiting wall thinning and an increase in signal intensity. The deep learning model diagnosed a cardiac pathology with 99% certainty
Fig. 5
Fig. 5
Heatmaps for cardiac pathology assessment on T1 mapping images. A, B: Subject without cardiac pathology in the sagittal plane with short axis view. A shows the T1 mapping image. In B, the image was overlaid with a gradient-weighted class activation map (Grad-CAM), generating a heatmap. The heatmap depicts the focus areas of the model. Red indicates higher activation, and blue indicates lower activation. While making the classification, the network focused on parts of the image other than the heart. Thoracic muscles, spleen, intestines, and lower pole of the kidney represented the focus points. The model classified this case incorrectly as abnormal with 94% certainty. C, D: Subject with cardiac disease in the sagittal plane with short axis view. C shows the T1 mapping image. In D, the image was overlaid with a gradient-weighted class activation map (Grad-CAM), generating a heatmap. The heatmap depicts the focus areas of the model. Red indicates higher activation, and blue indicates lower activation. The strongest focus of the model was the right ventricle, including part of the septum. The kidney and liver represent weaker focus areas of the deep learning model. The network diagnosed a cardiac pathology with 100% certainty

Similar articles

Cited by

References

    1. Timmis A, Vardas P, Townsend N, Torbica A, Katus H, De Smedt D, et al. European Society of Cardiology: cardiovascular disease statistics 2021. Eur Heart J. 2022;43(8):716–99. doi: 10.1093/eurheartj/ehab892. - DOI - PubMed
    1. Sharifrazi D, Alizadehsani R, Joloudari JH, Shamshirband S, Hussain S, Sani ZA, et al. CNN-KCL: automatic myocarditis diagnosis using convolutional neural network combined with k-means clustering. Math Biosci Eng. 2022;19(3):2381–402. doi: 10.3934/mbe.2022110. - DOI - PubMed
    1. Merlo M, Gagno G, Baritussio A, Bauce B, Biagini E, Canepa M, et al. Clinical application of CMR in cardiomyopathies: evolving concepts and techniques: a position paper of myocardial and pericardial diseases and cardiac magnetic resonance working groups of Italian society of cardiology. Heart Fail Rev. 2023;28(1):77–95. doi: 10.1007/s10741-022-10235-9. - DOI - PMC - PubMed
    1. Puntmann VO, Peker E, Chandrashekhar Y, Nagel E. T1 mapping in characterizing myocardial disease: a comprehensive review. Circ Res. 2016;119(2):277–99. doi: 10.1161/CIRCRESAHA.116.307974. - DOI - PubMed
    1. Captur G, Manisty C, Moon JC. Cardiac MRI evaluation of myocardial disease. Heart. 2016;102(18):1429–35. doi: 10.1136/heartjnl-2015-309077. - DOI - PubMed

Publication types

LinkOut - more resources