Skip to main content

ORIGINAL RESEARCH article

Front. Cardiovasc. Med., 08 April 2024
Sec. Pediatric Cardiology
This article is part of the Research Topic Neonatal Cardiology and Cardiac Surgery in Congenital Heart Disease. View all 8 articles

CHD-CXR: a de-identified publicly available dataset of chest x-ray for congenital heart disease

\r\nLi ZhixinLi ZhixinLuo GangLuo GangJi ZhixianJi ZhixianWang SibaoWang SibaoPan Silin
\r\nPan Silin*
  • Heart Center, Women and Children's Hospital, Qingdao University, Qingdao, China

Congenital heart disease is a prevalent birth defect, accounting for approximately one-third of major birth defects. The challenge lies in early detection, especially in underdeveloped medical regions where a shortage of specialized physicians often leads to oversight. While standardized chest x-rays can assist in diagnosis and treatment, their effectiveness is limited by subtle cardiac manifestations. However, the emergence of deep learning in computer vision has paved the way for detecting subtle changes in chest x-rays, such as lung vessel density, enabling the detection of congenital heart disease in children. This highlights the need for further investigation. The lack of expert-annotated, high-quality medical image datasets hinders the progress of medical image artificial intelligence. In response, we have released a dataset containing 828 DICOM chest x-ray files from children with diagnosed congenital heart disease, alongside corresponding cardiac ultrasound reports. This dataset emphasizes complex structural characteristics, facilitating the transition from machine learning to machine teaching in deep learning. To ascertain the dataset's applicability, we trained a preliminary model and achieved an area under the receiver operating characteristic curve (ROC 0.85). We provide detailed introductions and publicly available datasets at: https://www.kaggle.com/competitions/congenital-heart-disease.

Graphical Abstract
www.frontiersin.org

Graphical Abstract.

Introduction

Congenital heart disease accounts for one-third of major birth defects and is the most common heart disease (1, 2). The incidence rate of congenital heart disease in newborns is approximately 0.4%–1.2% (3). Cardiac ultrasound is the main measure for early detection, but it requires specialized cardiac ultrasound doctors (4, 5). In underdeveloped medical areas, congenital heart disease is easily missed. The guidelines point out that standardized chest x-rays can also be used to assist in the diagnosis and treatment of congenital heart disease (5). However, due to the not-so-obvious cardiac manifestations, they have not received sufficient attention. Nevertheless, for cardiac doctors in underdeveloped medical areas, standardized chest x-rays can be used to assist in indicating the occurrence of congenital heart disease. With the support of deep learning in computer vision, it is currently possible to identify large areas of pneumonia and other abnormalities (6). With the advancement of computers, machine learning will transform into machine teaching, artificial intelligence to teach humans more experiences. Computer vision is gradually developing towards fine-grained image analysis (7), allowing for the identification of subtle changes that humans may not notice, such as lung vessel density in chest x-rays of children with congenital heart disease. This information reminds patients that they should promptly seek professional cardiac ultrasound examination in developed medical areas.

The advancement of deep learning is dependent on the availability of high-quality image datasets. Despite the rapid growth in GPU computing power for deep learning, the shortage of expert-annotated high-quality medical image datasets stands as the primary constraint in the progress of medical image AI. Presently, numerous publicly accessible databases focusing on chest x-rays have been released in the field (812). Nevertheless, these databases primarily concentrate on macroscopic lesions and pulmonary diseases that are observable to the naked eye, and they have not completely exceeded the diagnostic abilities of clinical physicians. They still operate within the realm of machine learning. The ongoing trajectory in the evolution of medical image AI revolves around utilizing the outstanding observational capacity of machine learning to excel beyond the diagnostic proficiency of clinical practitioners, transitioning from machine learning to machine teaching.

To address this, we have developed and released an expert-annotated high-quality dataset for training fine-grained models in the field of congenital heart disease. The dataset includes 828 DICOM chest x-ray files from children, divided into four categories: atrial septal defect(ASD), ventricular septal defect(VSD), patent ductus arteriosus(PDA), and normal control group. Compared to other published chest x-ray datasets, our dataset focuses more on the identification and classification of fine-grained structural features, promoting the transition of deep learning from machine learning human experience to human learning machine experience.

Method

The establishment of the dataset is divided into four basic steps. (1) Data collection (2) Data de-identification and labeling annotation (3) Data filtering (4) Technical validation.

Data collection

Population distribution design and matching were conducted prior to data collection to ensure matching of gender and age distributions among different groups, preventing potential confounding factors. Data collection was carried out at Qingdao Women and Children Hospital from 2021 to 2022. Each chest x-ray corresponding to a specific cardiac condition is accompanied by a cardiac ultrasound report from the respective child, ruling out other cardiac or pulmonary conditions. The cardiac ultrasound reports were evaluated by three professional cardiac ultrasound doctors. Cardiologists summarized information on children with congenital heart disease who received inpatient treatment and regularly conducted follow-up examinations, including chest x-rays and cardiac ultrasounds. The data for children in the healthy control group came from healthy children who had health checks in our hospital. Matching gender and age were performed on children in each group to prevent biases between groups.

The ethical review of this study has obtained approval from the hospital's ethics committee. The time discrepancy between the cardiac ultrasound report and the chest x-ray does not exceed 3 days. The initial storage format of chest x-ray images is DICOM, and the cardiac ultrasound reports were reviewed by three specialized cardiac ultrasound physicians to confirm the diagnosis of congenital heart disease. To facilitate subsequent model training, scale the image to 500 × 500 pixels.

Data de-identification and label annotation

The acquired chest x-ray DICOM files include sensitive patient information such as age, name, and examination time. To safeguard patient privacy, we developed a de-identification program to convert the DICOM files into a more suitable and commonly used file format (JPG) for deep learning purposes. The cardiac ultrasound reports encompass various sensitive parameters. Three cardiac ultrasound specialists annotated the reports following the diagnostic standards for congenital heart disease outlined by the Chinese Medical Association. These reports were classified into the normal control group, atrial septal defect group, ventricular septal defect group, and patent ductus arteriosus group. Any ultrasound reports that did not achieve consensus among the three cardiac ultrasound specialists were excluded from the dataset.

Data filtering

Specialized cardiologists conducted data filtering to eliminate confounding factors that could impact the images. These factors encompass additional cardiac complications like Tetralogy of Fallot, pneumonia, tuberculosis, chest wall deformities, pectus carinatum, and pectus excavatum.

Technical verification

To verify the usability of the dataset in deep learning, we used Pytorch (13) to build a lightweight model for training and preliminary validation on the NVIDIA 4090 graphics card platform. In order to improve the model's ability to recognize local details and extract features, we chose ResNet18 as the base model. The ResNet model can avoid gradient explosion caused by increased depth (14). In order to accelerate model training speed and avoid waste of computational resources, we introduced the idea of transfer learning (15) and pre-trained it using the classic image dataset ImageNet (16). Then we trained on our congenital heart disease dataset, for each evaluation metric, both the overall model performance and the compartment-wise model performance were plotted. In order to reduce overfitting, we introduced randomized tiling, color inversion, and mirroring for data augmentation. In order to determine the credibility and stability of the model and enhance clinicians' confidence in the model, we used CAM(Class Activation Mapping) to analyze the model's attention focus. The CAM is presented using a heatmap and original image overlay, which helps to understand and analyze the working principles and decision-making process of neural networks (17). The initial learning rate of the model was set to 0.0001, the random seed was set to 1,024, and the epoch was set to 30.

To promote the development of fine-grained computer vision deep learning models, we hosted a congenital heart disease competition on Kaggle (https://www.kaggle.com/competitions/congenital-heart-disease) (18). Every researcher can use the latest models to train and validate on our dataset. It is also essential to provide an interpretable document to help enhance clinical doctors’ pathophysiological understanding.

Result

Dataset summary

The dataset includes 828 DICOM chest x-ray files from children, divided into four categories: atrial septal defect (194), ventricular septal defect (210), patent ductus arteriosus (216), and normal control group (208). The distribution of children's gender and age within each group is presented in Table 1.

Table 1
www.frontiersin.org

Table 1. Population distribution.

Model performance evaluation

We conducted preliminary training of the model using the congenital heart disease chest x-ray dataset we constructed. The accuracy of classifying different types of congenital heart diseases reached around 0.8, which demonstrates that our constructed dataset has strong category differences and good representativeness. The prediction results are shown in Table 2. The confusion matrix Predictive accuracy is derived from a confusion matrix (Figure 1). The final ROC curve area under the training model was 0.85, proving that deep learning technology can extract features from fine-grained chest radiographs for classification. The ROC curve of model was shown in Figure 2.

Table 2
www.frontiersin.org

Table 2. Model performance.

Figure 1
www.frontiersin.org

Figure 1. Confusion matrix.

Figure 2
www.frontiersin.org

Figure 2. ROC curve.

Model interpretability assessment

We found that the main focus was around the heart, and each group showed different attention characteristics, indicating that the model can detect subtle differences that human eyes cannot notice (Figure 3). The distribution of model attention is in line with clinicians' understanding of the pathophysiology of the disease.

Figure 3
www.frontiersin.org

Figure 3. Class activation mapping. (A) Normal group, (B) ASD group, (C) VSD group, (D) PDA group.

Conclusion

This study constructed the first publicly available deep learning dataset for chest x-ray standardization in congenital heart diseases by collecting chest x-ray images and corresponding clinical information of children with congenital heart diseases. Furthermore, preliminary validation was performed using deep learning algorithms, achieving an accuracy of 0.8 and an ROC of above 0.85. This confirms the availability and representativeness of the dataset.

This dataset serves as a valuable resource for the research community in the field of congenital heart diseases. It not only allows researchers to study the differences in chest x-ray manifestations of various congenital heart diseases but also aids in facilitating early screening of congenital heart disease in underprivileged medical areas. This prompts affected children to seek comprehensive and specialized ultrasound examinations in developed regions.

Discussion

Our dataset's creation is geared towards enabling the advancement and validation of more precise deep learning algorithms for early detection of congenital heart disease in underserved medical regions. Presently, this dataset stands as the most extensive standardized collection of chest x-rays for congenital heart disease. To assess the dataset's utility, the initial model developed has achieved an ROC area of 0.85, surpassing the diagnostic accuracy of physicians relying solely on chest x-rays. This model can directly aid in the early screening of congenital heart disease in underserved medical areas, facilitating prompt referral and treatment in adequately equipped healthcare facilities.

In this study, we utilized computer vision and machine learning methods, using annotated data, to investigate the classification of chest x-ray examination results in congenital heart diseases. This research aims to enable early screening for congenital heart diseases in children. The potential application areas include analysis, classification, segmentation, and retrieval of images with specific findings or attributes in the field of computer science. Annotated data can also be utilized for medical education and training purposes.

This study advocates for increased researcher participation to propel progress in the field. To foster collaboration and momentum, we have initiated an open Kaggle competition aimed at motivating researchers to further enhance this clinically valuable endeavor. The findings underscore the substantial information within chest x-rays that awaits exploration through more sophisticated deep learning methodologies. Ultimately, this research aims to narrow the gap from machine-learning supported clinicians to machine-educated clinicians.

Data availability statement

The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding author. The DICOM de-identification code was developed using Python 3.11.0 (https://www.python.org/) and Pydicom 1.2.0 (https://pydicom.github.io/). The ResNet18 model was developed using Pytorch (https://pytorch.org/). Applicants are required to accept the terms of data usage and cannot share access to the dataset with others. For publications based on mining this dataset, authors must cite this paper and disclose their code and model. To download and use our dataset, applicants can visit the website (https://www.kaggle.com/competitions/congenital-heart-disease).

Ethics statement

The studies involving humans were approved by Qingdao Women and Children's Hospital Clinical Trial Ethics Committee. The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation in this study was provided by the participants’ legal guardians/next of kin. Written informed consent was obtained from the individual(s), and minor(s)' legal guardian/next of kin, for the publication of any potentially identifiable images or data included in this article.

Author contributions

LZ: Conceptualization, Data curation, Formal Analysis, Software, Validation, Visualization, Writing – original draft, Writing – review & editing. LG: Writing – original draft, Writing – review & editing. JZ: Data curation, Writing – original draft. WS: Data curation, Writing – original draft. PS: Data curation, Funding acquisition, Writing – original draft, Writing – review & editing.

Funding

The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

1. Fedchenko M, Mandalenakis Z, Giang KW, Rosengren A, Eriksson P, Dellborg M. Long-term outcomes after myocardial infarction in middle-aged and older patients with congenital heart disease-a nationwide study. Eur Heart J. (2021) 42(26):2577–86. doi: 10.1093/eurheartj/ehaa874

PubMed Abstract | Crossref Full Text | Google Scholar

2. Silversides CK, Grewal J, Mason J, Sermer M, Kiess M, Rychel V, et al. Pregnancy outcomes in women with heart disease: the CARPREG II study. J Am Coll Cardiol. (2018) 71(21):2419–30. doi: 10.1016/j.jacc.2018.02.076

PubMed Abstract | Crossref Full Text | Google Scholar

3. Bouma BJ, Mulder BJ. Changing landscape of congenital heart disease. Circ Res. (2017) 120(6):908–22. doi: 10.1161/CIRCRESAHA.116.309302

PubMed Abstract | Crossref Full Text | Google Scholar

4. Lui GK, Saidi A, Bhatt AB, Burchill LJ, Deen JF, Earing MG, et al. Diagnosis and management of noncardiac complications in adults with congenital heart disease: a scientific statement from the American heart association. Circulation. (2017) 136(20):e348–92. doi: 10.1161/CIR.0000000000000535

PubMed Abstract | Crossref Full Text | Google Scholar

5. Assenza GE, Krieger EV, Baumgartner H, Cupido B, Dimopoulos K, Louis C, et al. AHA/ACC vs ESC guidelines for management of adults with congenital heart disease: JACC guideline comparison. J Am Coll Cardiol. (2021) 78(19):1904–18. doi: 10.1016/j.jacc.2021.09.010

PubMed Abstract | Crossref Full Text | Google Scholar

6. Han T, Nebelung S, Pedersoli F, Zimmermann M, Schulze-Hagen M, Ho M, et al. Advancing diagnostic performance and clinical usability of neural networks via adversarial training and dual batch normalization. Nat Commun. (2021) 12(1):4315. doi: 10.1038/s41467-021-24464-3

PubMed Abstract | Crossref Full Text | Google Scholar

7. Hu X, Wang R, Du J, Hu Y, Jiao L, Xu T. Class-attention-based lesion proposal convolutional neural network for strawberry diseases identification. Front Plant Sci. (2023) 14:1091600. doi: 10.3389/fpls.2023.1091600

PubMed Abstract | Crossref Full Text | Google Scholar

8. Nguyen HQ, Lam K, Le LT, Pham HH, Tran DQ, Nguyen DB, et al. VinDr-CXR: an open dataset of chest x-rays with radiologist's Annotations. Sci Data. (2022) 9(1):429. doi: 10.1038/s41597-022-01498-w

PubMed Abstract | Crossref Full Text | Google Scholar

9. Nguyen HC, Le TT, Pham HH, Nguyen HQ. VinDr-RibCXR: A benchmark dataset for automatic segmentation and labeling of individual ribs on chest x-rays. (2021).

10. Pham HH, Nguyen NH, Tran TT, Nguyen TN, Nguyen HQ. PediCXR: an open, large-scale chest radiograph dataset for interpretation of common thoracic diseases in children. Sci Data. (2023) 10(1):240. doi: 10.1038/s41597-023-02102-5

PubMed Abstract | Crossref Full Text | Google Scholar

11. Pham HH, Tran TT, Nguyen HQ. VinDr-PCXR: An open, large-scale pediatric chest x-ray dataset for interpretation of common thoracic diseases.

12. González G, Bustos A, Salinas JM, de la Iglesia-Vaya M, Galant J, Cano-Espinosa C, et al. Umls-chestnet: A deep convolutional neural network for radiological findings, differential diagnoses and localizations of covid-19 in chest x-rays. (2020).

13. Imambi S, Prakash KB, Kanagachidambaresan GR. GJPwTSfECA: PyTorch. (2021):87–104.

14. Targ S, Almeida D, Lyman K. Japa: Resnet in resnet: Generalizing residual architectures. (2016).

15. Weiss K, Khoshgoftaar TM, Wang DJ. A survey of transfer learning. J Big Data. (2016) 3(1):1–40. doi: 10.1186/s40537-016-0043-6

Crossref Full Text | Google Scholar

16. Deng J, Dong W, Socher R, Li L-J, Li K, Fei-Fei L. Imagenet: a large-scale hierarchical image database. 2009 IEEE Conference on Computer Vision and Pattern Recognition.Ieee (2009). p. 248–55

17. Jung H, Oh Y. Towards better explanations of class activation mapping. Proceedings of the IEEE/CVF International Conference on Computer Vision: 2021 (2021). p. 1336–44

18. Bojer CS, Meldgaard JP. Kaggle forecasting competitions: an overlooked learning opportunity. Int J Forecast. (2021) 37(2):587–603. doi: 10.1016/j.ijforecast.2020.07.007

Crossref Full Text | Google Scholar

Keywords: publicly dataset, congenital heart disease, artificial intelligence, computer vision, cardiovascular health

Citation: Zhixin L, Gang L, Zhixian J, Sibao W and Silin P (2024) CHD-CXR: a de-identified publicly available dataset of chest x-ray for congenital heart disease. Front. Cardiovasc. Med. 11:1351965. doi: 10.3389/fcvm.2024.1351965

Received: 7 December 2023; Accepted: 27 March 2024;
Published: 8 April 2024.

Edited by:

Salvatore Agati, Bambino Gesù Children's Hospital (IRCCS), Italy

Reviewed by:

Vladislav Vukomanović, University of Belgrade, Serbia
Francesco Bertelli, University Hospital of Padua, Italy

© 2024 Zhixin, Gang, Zhixian, Sibao and Silin. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Pan Silin c2lsaW5wYW5AMTI2LmNvbQ==

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.