Differential Diagnosis of Pulmonary Diseases using Convolutional Neural Network with LSTM Architecture | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Differential Diagnosis of Pulmonary Diseases using Convolutional Neural Network with LSTM Architecture B. H. Shekar, Shazia Mannan This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-4737344/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Pulmonary disorders, including conditions such as Pneumonia, Tuberculosis, and COVID-19, affect millions worldwide, presenting a major global health challenge. Accurate and timely detection of these diseases is crucial for effective treatment and patient care. This research paper introduces a novel CNN-LSTM model for effectively differentiating between and categorizing multiple lung disorders. Leveraging a dataset comprising 4529 chest X-rays (CXRs) collected from Shenzhen, Montgomery, Belarus, and COVID-19 Radiography datasets, the study aims to enhance disease diagnosis accuracy. Contrast-limited Adaptive Histogram Equalization and median filtering techniques have been applied to enhance image quality and reduce noise. Although LSTM networks are typically used for sequential data, this study employed them to capture spatial dependencies within 2D medical images. This approach allowed the model to learn complex representations and retain context from different image regions, enhancing feature extraction and overall performance. LSTM worked by exploiting the neighborhood relationships between pixels in CXRs by treating image patches as sequences. This approach enabled the model to better understand and utilize spatial information, thereby improving accuracy. Furthermore, baseline CNN and CNN-Bi LSTM models were also executed for a comparative study. Among the implemented models, CNN-LSTM emerged as the most effective, achieving an accuracy of 96.26% and precision, recall, F1 score of 96.44%, 96.62%, and 96.49%, respectively. It was followed by CNN-BiLSTM and CNN models with accuracy rates of 95.58% and 94.24%. pulmonary Disease Classification CNN CNN-LSTM CNN-Bi LSTM. Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-4737344","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":330682452,"identity":"d2b9bf97-7fc2-4187-92e0-fce6fe71c40d","order_by":0,"name":"B. H. Shekar","email":"","orcid":"","institution":"Mangalore University","correspondingAuthor":false,"prefix":"","firstName":"B.","middleName":"H.","lastName":"Shekar","suffix":""},{"id":330682453,"identity":"10ceec81-a77a-450a-a3ac-4cbf7c276cdd","order_by":1,"name":"Shazia Mannan","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA1UlEQVRIiWNgGAWjYBADOTb2BiBlYEG8FmM+ngMgLRLEa0mcJ5EAoonQIj/t8LPHBTV3jNkkn1/d8KNAgoG/vTsBrxaD22nmxjOOPZNjk84pu9kDdJjEmbMb8GuRTjCT5mE7bAzUknaDB6jFQCIXvxb52enfpHn+HU5skzyTdvMPMVoYbueYSfO2AbVIsB+7TZQtBrdzyqR5+4AO48lhuy1jIMFD0C9Ah22T5vl2WE6+/fizm2/+2Mjxt/cScBgC8BiASWKVgwD7A1JUj4JRMApGwQgCADszQqXCT5esAAAAAElFTkSuQmCC","orcid":"","institution":"Mangalore University","correspondingAuthor":true,"prefix":"","firstName":"Shazia","middleName":"","lastName":"Mannan","suffix":""}],"badges":[],"createdAt":"2024-07-14 06:56:04","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-4737344/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-4737344/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":62313174,"identity":"0a8fa95c-cad9-42da-aa70-f38e32075fa2","added_by":"auto","created_at":"2024-08-12 21:47:31","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":513235,"visible":true,"origin":"","legend":"","description":"","filename":"LD2024.pdf","url":"https://assets-eu.researchsquare.com/files/rs-4737344/v1_covered_1d9bd5bd-89db-47ae-b15e-6bb5f5495b91.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Differential Diagnosis of Pulmonary Diseases using Convolutional Neural Network with LSTM Architecture","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"pulmonary Disease Classification, CNN, CNN-LSTM, CNN-Bi LSTM.","lastPublishedDoi":"10.21203/rs.3.rs-4737344/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-4737344/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"Pulmonary disorders, including conditions such as Pneumonia, Tuberculosis, and COVID-19, affect millions worldwide, presenting a major global health challenge. Accurate and timely detection of these diseases is crucial for effective treatment and patient care. This research paper introduces a novel CNN-LSTM model for effectively differentiating between and categorizing multiple lung disorders. Leveraging a dataset comprising 4529 chest X-rays (CXRs) collected from Shenzhen, Montgomery, Belarus, and COVID-19 Radiography datasets, the study aims to enhance disease diagnosis accuracy. Contrast-limited Adaptive Histogram Equalization and median filtering techniques have been applied to enhance image quality and reduce noise. Although LSTM networks are typically used for sequential data, this study employed them to capture spatial dependencies within 2D medical images. This approach allowed the model to learn complex representations and retain context from different image regions, enhancing feature extraction and overall performance. LSTM worked by exploiting the neighborhood relationships between pixels in CXRs by treating image patches as sequences. This approach enabled the model to better understand and utilize spatial information, thereby improving accuracy. Furthermore, baseline CNN and CNN-Bi LSTM models were also executed for a comparative study. Among the implemented models, CNN-LSTM emerged as the most effective, achieving an accuracy of 96.26% and precision, recall, F1 score of 96.44%, 96.62%, and 96.49%, respectively. It was followed by CNN-BiLSTM and CNN models with accuracy rates of 95.58% and 94.24%.","manuscriptTitle":"Differential Diagnosis of Pulmonary Diseases using Convolutional Neural Network with LSTM Architecture","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2024-08-08 05:24:22","doi":"10.21203/rs.3.rs-4737344/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"21ceaa49-01d1-4d26-b228-f5d28c874c1e","owner":[],"postedDate":"August 8th, 2024","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2024-08-12T21:39:24+00:00","versionOfRecord":[],"versionCreatedAt":"2024-08-08 05:24:22","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-4737344","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-4737344","identity":"rs-4737344","version":["v1"]},"buildId":"qtupq5eGEP_6zYnWcrvyt","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.