SlideShare a Scribd company logo
DETECTING PNEUMONIA IN
CHESTX-RAYSUSING DEEP
LEARNINGTECHNIQUE
Project Guide:
Dr.T. Jemima Jebaseeli
Done by:
Punithavathy S P
PRK19CS1011
ď‚– India accounts for 20 percent of the death worldwide caused by
pneumonia
ď‚– Pneumonia affects the lungs and causes about 18% of all deaths in
children under five years old.
ď‚– Chest X-rays are the most common and easiest way to detect
pneumonia.
ď‚– X-ray images are often unclear and can be confused with other
diseases that have similar features.
Problem
Statement
ď‚– To reduce the human eye error in diagnosing the disease.
ď‚– To develop a deep learning framework to automatically diagnose
pneumonia using chest X-ray images.
ď‚– To classify the result as normal cases or pneumonia cases.
Objective
ď‚– Machine Learning library ,sklearn used with many subordinate
models such as model classifiers, and metrics etc.
ď‚– Deep Learning library: Keras, Pytorch etc..
ď‚– Google Colab used for implementation.
ď‚– Data set available on open source platforms
ď‚– Programming Language: Python
TECHNIQUES/
TECHNOLOGIES
USED
ď‚– The dataset is taken from kaggle.
ď‚– The dataset is organized into 2 folders (train, test) and contains
subfolders for each image category (Pneumonia/Normal).
Dataset
Methodology:
IMAGEACQUISITION
IMAGE PREPROCESSING
SEGMENTATION
FEATURE EXTRACTION
NORMAL CASES PNEUMONIA CASES
CNN
CLASSIFICATION
Preprocessing
Preprocessing
ď‚– Preprocessing is the removal of systematic noise from the data
ď‚– Image generator object which performs random rotations,
shifts, flips, crops, and sheers on the image dataset.
Enhancement
• Image enhancement is the process of adjusting digital images so
that the results are more suitable for display or further image
analysis.
• Enhancement remove noise, sharpen, or brighten an image,
making it easier to identify key features.
Preprocessing
NOISE REMOVAL:
• Digital images are prone to various types of noise.
Noise is the result of errors in the image acquisition process that
result in pixel values that do not reflect the true intensities of the real
scene
There are several ways that noise can be introduced into an image,
depending on how the image is created. Electronic transmission of
image data can introduce noise.
SEGMENTATION:
• Image segmentation is the process of dividing an image
into multiple parts.
• Simplify and easier to analyze.
• This is typically used to identify objects or other
relevant information in digital images.
segmentation:
ď‚– CNN has two parts Feature extraction and classification
ď‚– A Convolutional Neural Network (CNN) is a deep learning
algorithm that can recognize and classify features in images for
computer vision.
ď‚– A convolution tool that splits the various features of the image for
analysis
ď‚– Feature extraction - several convolution layers followed by max-
pooling and an activation function.
ď‚– The classifier -fully connected layers.
Overview of -
CNN
CNNArchitecture
ď‚– Convolutional layer works by placing a filter over an array of image
pixels.
ď‚– Convolved feature map
Convolution
layer
ď‚– Redues the sample size
ď‚– Makes the process much faster
ď‚– Pooled feature map
Two types
ď‚– Max pooling
ď‚– Average pooling
Pooling Layer
CONVOLUTIO
NAL NEURAL
NETWORK
Layers:
ď‚– Convolution Layer
ď‚– ReLu Layer
ď‚– Pooling Layer
ď‚– Fully Connected Layer
Traning and
testing
Accuracy ď‚– Accuracy , precision and recall on testing set:
VGG-16
VGG-16
ď‚– VGG stands for Visual Geometry Group
ď‚– TheVGG architecture consists of blocks, where each block is
composed of 2D Convolution and Max Pooling layers.
ď‚– There are total of 13 convolutional layers and 3 fully connected
layers inVGG16 architecture.
ď‚– VGG-16 is a convolutional neural network that is 16 layers deep.
ď‚– The network has an image input size of 224-by-224.
Architecture
VGG-16 layers
Testing and
traning
Accuracy
Mobile NetV2
Mobile net
ď‚– MobileNetV2 is a convolutional neural network architecture that
seeks to perform well on mobile devices.
ď‚– It is based on an inverted residual structure where the residual
connections are between the bottleneck layers
ď‚– The architecture of MobileNetV2 contains the initial fully
convolution layer with 32 filters, followed by 19 residual
bottleneck layers.
ď‚– ...
Architecture
Mobile net
layers
Testing and
traning
Accuracy
Output
Comparision
ď‚–CNN Model
Accuracy = 90.6%
ď‚–VGG-16
Accuracy = 94.3%
ď‚–Mobile net model
Accuracy = 85.00%
INFERENCE
 •CNN model for Pneumonia disease detection –implemented.
 •Mobile Net model Pneumonia Pneumonia Disease detection –
implemented.
 VGG-16 model for Pneumonia disease detection –implemented
 Classification of all models –tested.
ď‚– VGG-16 outperformed Mobile Net model, CNN Model for
pneumonia disease detection in Chest X-rays.
CONCLUSION
 •Pneumonia identified using Deep learning models.
 •Pneumonia Disease was classified using Deep learning models.
 •CNN model ,VGG-16 and Mobile net was used and compared for
accuracy and performance.
 •VGG-16 model proved to produce accuracy than CNN Model and
Mobile net for detecting Pneumonia disease in Chest X-rays.
ď‚– [1] U. Avni, H. Greenspan, E. Konen, M. Sharon, J. Goldberger, X-ray
categorization and retrieval on the organ and pathology level, using patch-
based visual words, IEEE Trans. Med. Imaging 30 (3) (2011) 733–746
.
ď‚– [2] P. Pattrapisetwong, W. Chiracharit, Automatic lung segmentation in
chest radiographs using shadow filter and multilevel thresholding, in: 2016
International Computer Science and Engineering Conference (ICSEC),
IEEE, 2016, pp. 1–6.
ď‚– [3] S. Katsuragawa, K. Doi, Computer-aided diagnosis in chest
radiography, Comput. Med. Imaging Graph. 31 (4–5) (2007) 212–223.
ď‚– [4] Q. Li, R.M. Nishikawa, Computer-aided Detection and Diagnosis in
Medical Imaging, Taylor & Francis, 2015.
References:
ď‚– [5] C. Qin, D. Yao, Y. Shi, Z. Song, Computer-aided detection in chest radiography based on artificial
intelligence: a survey, Biomed. Eng. Online 17 (1) (2018)
ď‚– [6] A.A. El-Solh, C.-B. Hsiao, S. Goodnough, J. Serghani, B.J. Grant, Predicting active pulmonary
tuberculosis using an artificial neural network, Chest 116 (4)(1999) 968–973.
ď‚– [7] O. Er, N. Yumusak, F. Temurtas, Chest diseases diagnosis using artificial neural networks, Expert Syst.
Appl. 37 (12) (2010) 7648–7655.
ď‚– [8] O. Er, C. Sertkaya, F. Temurtas, A.C. Tanrikulu, A comparative study on chronic obstructive pulmonary
and pneumonia diseases diagnosis using neural networks and artificial immune system, J. Med. Syst. 33 (6)
(2009) 485–492.
ď‚– [9] S. Khobragade, A. Tiwari, C. Patil, V. Narke, Automatic detection of major lung diseases using chest
radiographs and classification by feed-forward artificial neural network, in: 2016 IEEE 1st International
Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES), IEEE, 2016,
ď‚– [10] G.G.R. Schramek, D. Stoevesandt, A. Reising, J.T. Kielstein, M. Hiss, H. Kielstein,
Imaging in anatomy: a comparison of imaging techniques in embalmed human cadavers, BMC
Med. Educ. 13 (1) (2013) 143.
References:
Thank you…!

More Related Content

Similar to x-RAYS PROJECT (20)

PDF
Electrical and Electronics Engineering: An International Journal (ELELIJ)
elelijjournal653
 
PDF
Development of Computational Tool for Lung Cancer Prediction Using Data Mining
Editor IJCATR
 
PDF
Convolutional Neural Network Based Method for Accurate Brain Tumor Detection ...
IRJET Journal
 
PDF
researchpaper_2023_Lungs_Cancer.pdfdfgdgfhdf
AvijitChaudhuri3
 
DOCX
Chapter 1.docx
Raghavendra Shetty
 
PPTX
Technical Seminar presentation topic for 8th sem
IstarthaPD
 
PPTX
Brain Tumor Detection Using Deep Learning ppt new made.pptx
vikyt2211
 
PDF
Covid-19 Detection using Chest X-Ray Images
IRJET Journal
 
PPTX
Rapid COVID-19 Diagnosis Using Deep Learning of the Computerized Tomography ...
Dr. Amir Mosavi, PhD., P.Eng.
 
PDF
A Survey of Convolutional Neural Network Architectures for Deep Learning via ...
ijtsrd
 
PDF
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
IRJET Journal
 
PDF
Pneumonia Detection Using Deep Learning and Transfer Learning
IRJET Journal
 
PDF
APPLICATION OF CNN MODEL ON MEDICAL IMAGE
IRJET Journal
 
PDF
Deep Learning based Multi-class Brain Tumor Classification
IRJET Journal
 
PDF
TRANSFER LEARNING WITH CONVOLUTIONAL NEURAL NETWORKS FOR IRIS RECOGNITION
gerogepatton
 
PDF
Transfer Learning with Convolutional Neural Networks for IRIS Recognition
gerogepatton
 
PDF
TRANSFER LEARNING WITH CONVOLUTIONAL NEURAL NETWORKS FOR IRIS RECOGNITION
ijaia
 
PPTX
Unknown power power point unknown power point
xmendquick
 
PPT
Lung cancer Detection with AIML in Healthcare sector.PPT
Jayashanka Anushan
 
Electrical and Electronics Engineering: An International Journal (ELELIJ)
elelijjournal653
 
Development of Computational Tool for Lung Cancer Prediction Using Data Mining
Editor IJCATR
 
Convolutional Neural Network Based Method for Accurate Brain Tumor Detection ...
IRJET Journal
 
researchpaper_2023_Lungs_Cancer.pdfdfgdgfhdf
AvijitChaudhuri3
 
Chapter 1.docx
Raghavendra Shetty
 
Technical Seminar presentation topic for 8th sem
IstarthaPD
 
Brain Tumor Detection Using Deep Learning ppt new made.pptx
vikyt2211
 
Covid-19 Detection using Chest X-Ray Images
IRJET Journal
 
Rapid COVID-19 Diagnosis Using Deep Learning of the Computerized Tomography ...
Dr. Amir Mosavi, PhD., P.Eng.
 
A Survey of Convolutional Neural Network Architectures for Deep Learning via ...
ijtsrd
 
PADDY CROP DISEASE DETECTION USING SVM AND CNN ALGORITHM
IRJET Journal
 
Pneumonia Detection Using Deep Learning and Transfer Learning
IRJET Journal
 
APPLICATION OF CNN MODEL ON MEDICAL IMAGE
IRJET Journal
 
Deep Learning based Multi-class Brain Tumor Classification
IRJET Journal
 
TRANSFER LEARNING WITH CONVOLUTIONAL NEURAL NETWORKS FOR IRIS RECOGNITION
gerogepatton
 
Transfer Learning with Convolutional Neural Networks for IRIS Recognition
gerogepatton
 
TRANSFER LEARNING WITH CONVOLUTIONAL NEURAL NETWORKS FOR IRIS RECOGNITION
ijaia
 
Unknown power power point unknown power point
xmendquick
 
Lung cancer Detection with AIML in Healthcare sector.PPT
Jayashanka Anushan
 

Recently uploaded (20)

PPTX
Presentation (1) (1).pptx k8hhfftuiiigff
karthikjagath2005
 
PDF
Blitz Campinas - Dia 24 de maio - Piettro.pdf
fabigreek
 
PDF
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
DOCX
Q1_LE_Mathematics 8_Lesson 4_Week 4.docx
ROWELLJAYMALAPIT
 
PPTX
Solution+Architecture+Review+-+Sample.pptx
manuvratsingh1
 
PDF
apidays Munich 2025 - Integrate Your APIs into the New AI Marketplace, Senthi...
apidays
 
PDF
Basotho Satisfaction with Electricity(Statspack)
KatlehoMefane
 
PDF
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
PPTX
short term internship project on Data visualization
JMJCollegeComputerde
 
PDF
Blue Futuristic Cyber Security Presentation.pdf
tanvikhunt1003
 
PPTX
Insurance-Analytics-Branch-Dashboard (1).pptx
trivenisapate02
 
PPTX
short term project on AI Driven Data Analytics
JMJCollegeComputerde
 
PPTX
HSE WEEKLY REPORT for dummies and lazzzzy.pptx
ahmedibrahim691723
 
PPTX
Introduction to computer chapter one 2017.pptx
mensunmarley
 
PPTX
Probability systematic sampling methods.pptx
PrakashRajput19
 
PDF
An Uncut Conversation With Grok | PDF Document
Mike Hydes
 
PDF
Classifcation using Machine Learning and deep learning
bhaveshagrawal35
 
PPTX
lecture 13 mind test academy it skills.pptx
ggesjmrasoolpark
 
PPTX
UPS Case Study - Group 5 with example and implementation .pptx
yasserabdelwahab6
 
PDF
apidays Munich 2025 - The Double Life of the API Product Manager, Emmanuel Pa...
apidays
 
Presentation (1) (1).pptx k8hhfftuiiigff
karthikjagath2005
 
Blitz Campinas - Dia 24 de maio - Piettro.pdf
fabigreek
 
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
Q1_LE_Mathematics 8_Lesson 4_Week 4.docx
ROWELLJAYMALAPIT
 
Solution+Architecture+Review+-+Sample.pptx
manuvratsingh1
 
apidays Munich 2025 - Integrate Your APIs into the New AI Marketplace, Senthi...
apidays
 
Basotho Satisfaction with Electricity(Statspack)
KatlehoMefane
 
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
short term internship project on Data visualization
JMJCollegeComputerde
 
Blue Futuristic Cyber Security Presentation.pdf
tanvikhunt1003
 
Insurance-Analytics-Branch-Dashboard (1).pptx
trivenisapate02
 
short term project on AI Driven Data Analytics
JMJCollegeComputerde
 
HSE WEEKLY REPORT for dummies and lazzzzy.pptx
ahmedibrahim691723
 
Introduction to computer chapter one 2017.pptx
mensunmarley
 
Probability systematic sampling methods.pptx
PrakashRajput19
 
An Uncut Conversation With Grok | PDF Document
Mike Hydes
 
Classifcation using Machine Learning and deep learning
bhaveshagrawal35
 
lecture 13 mind test academy it skills.pptx
ggesjmrasoolpark
 
UPS Case Study - Group 5 with example and implementation .pptx
yasserabdelwahab6
 
apidays Munich 2025 - The Double Life of the API Product Manager, Emmanuel Pa...
apidays
 
Ad

x-RAYS PROJECT

  • 1. DETECTING PNEUMONIA IN CHESTX-RAYSUSING DEEP LEARNINGTECHNIQUE Project Guide: Dr.T. Jemima Jebaseeli Done by: Punithavathy S P PRK19CS1011
  • 2. ď‚– India accounts for 20 percent of the death worldwide caused by pneumonia ď‚– Pneumonia affects the lungs and causes about 18% of all deaths in children under five years old. ď‚– Chest X-rays are the most common and easiest way to detect pneumonia. ď‚– X-ray images are often unclear and can be confused with other diseases that have similar features. Problem Statement
  • 3. ď‚– To reduce the human eye error in diagnosing the disease. ď‚– To develop a deep learning framework to automatically diagnose pneumonia using chest X-ray images. ď‚– To classify the result as normal cases or pneumonia cases. Objective
  • 4. ď‚– Machine Learning library ,sklearn used with many subordinate models such as model classifiers, and metrics etc. ď‚– Deep Learning library: Keras, Pytorch etc.. ď‚– Google Colab used for implementation. ď‚– Data set available on open source platforms ď‚– Programming Language: Python TECHNIQUES/ TECHNOLOGIES USED
  • 5. ď‚– The dataset is taken from kaggle. ď‚– The dataset is organized into 2 folders (train, test) and contains subfolders for each image category (Pneumonia/Normal). Dataset
  • 7. Preprocessing Preprocessing ď‚– Preprocessing is the removal of systematic noise from the data ď‚– Image generator object which performs random rotations, shifts, flips, crops, and sheers on the image dataset. Enhancement • Image enhancement is the process of adjusting digital images so that the results are more suitable for display or further image analysis. • Enhancement remove noise, sharpen, or brighten an image, making it easier to identify key features.
  • 8. Preprocessing NOISE REMOVAL: • Digital images are prone to various types of noise. Noise is the result of errors in the image acquisition process that result in pixel values that do not reflect the true intensities of the real scene There are several ways that noise can be introduced into an image, depending on how the image is created. Electronic transmission of image data can introduce noise.
  • 9. SEGMENTATION: • Image segmentation is the process of dividing an image into multiple parts. • Simplify and easier to analyze. • This is typically used to identify objects or other relevant information in digital images. segmentation:
  • 10. ď‚– CNN has two parts Feature extraction and classification ď‚– A Convolutional Neural Network (CNN) is a deep learning algorithm that can recognize and classify features in images for computer vision. ď‚– A convolution tool that splits the various features of the image for analysis ď‚– Feature extraction - several convolution layers followed by max- pooling and an activation function. ď‚– The classifier -fully connected layers. Overview of - CNN
  • 12. ď‚– Convolutional layer works by placing a filter over an array of image pixels. ď‚– Convolved feature map Convolution layer
  • 13. ď‚– Redues the sample size ď‚– Makes the process much faster ď‚– Pooled feature map Two types ď‚– Max pooling ď‚– Average pooling Pooling Layer
  • 14. CONVOLUTIO NAL NEURAL NETWORK Layers: ď‚– Convolution Layer ď‚– ReLu Layer ď‚– Pooling Layer ď‚– Fully Connected Layer
  • 16. Accuracy ď‚– Accuracy , precision and recall on testing set:
  • 18. VGG-16 ď‚– VGG stands for Visual Geometry Group ď‚– TheVGG architecture consists of blocks, where each block is composed of 2D Convolution and Max Pooling layers. ď‚– There are total of 13 convolutional layers and 3 fully connected layers inVGG16 architecture. ď‚– VGG-16 is a convolutional neural network that is 16 layers deep. ď‚– The network has an image input size of 224-by-224.
  • 24. Mobile net ď‚– MobileNetV2 is a convolutional neural network architecture that seeks to perform well on mobile devices. ď‚– It is based on an inverted residual structure where the residual connections are between the bottleneck layers ď‚– The architecture of MobileNetV2 contains the initial fully convolution layer with 32 filters, followed by 19 residual bottleneck layers. ď‚– ...
  • 29. Output Comparision ď‚–CNN Model Accuracy = 90.6% ď‚–VGG-16 Accuracy = 94.3% ď‚–Mobile net model Accuracy = 85.00%
  • 30. INFERENCE ď‚– •CNN model for Pneumonia disease detection –implemented. ď‚– •Mobile Net model Pneumonia Pneumonia Disease detection – implemented. ď‚– VGG-16 model for Pneumonia disease detection –implemented ď‚– Classification of all models –tested. ď‚– VGG-16 outperformed Mobile Net model, CNN Model for pneumonia disease detection in Chest X-rays.
  • 31. CONCLUSION ď‚– •Pneumonia identified using Deep learning models. ď‚– •Pneumonia Disease was classified using Deep learning models. ď‚– •CNN model ,VGG-16 and Mobile net was used and compared for accuracy and performance. ď‚– •VGG-16 model proved to produce accuracy than CNN Model and Mobile net for detecting Pneumonia disease in Chest X-rays.
  • 32. ď‚– [1] U. Avni, H. Greenspan, E. Konen, M. Sharon, J. Goldberger, X-ray categorization and retrieval on the organ and pathology level, using patch- based visual words, IEEE Trans. Med. Imaging 30 (3) (2011) 733–746 . ď‚– [2] P. Pattrapisetwong, W. Chiracharit, Automatic lung segmentation in chest radiographs using shadow filter and multilevel thresholding, in: 2016 International Computer Science and Engineering Conference (ICSEC), IEEE, 2016, pp. 1–6. ď‚– [3] S. Katsuragawa, K. Doi, Computer-aided diagnosis in chest radiography, Comput. Med. Imaging Graph. 31 (4–5) (2007) 212–223. ď‚– [4] Q. Li, R.M. Nishikawa, Computer-aided Detection and Diagnosis in Medical Imaging, Taylor & Francis, 2015. References:
  • 33. ď‚– [5] C. Qin, D. Yao, Y. Shi, Z. Song, Computer-aided detection in chest radiography based on artificial intelligence: a survey, Biomed. Eng. Online 17 (1) (2018) ď‚– [6] A.A. El-Solh, C.-B. Hsiao, S. Goodnough, J. Serghani, B.J. Grant, Predicting active pulmonary tuberculosis using an artificial neural network, Chest 116 (4)(1999) 968–973. ď‚– [7] O. Er, N. Yumusak, F. Temurtas, Chest diseases diagnosis using artificial neural networks, Expert Syst. Appl. 37 (12) (2010) 7648–7655. ď‚– [8] O. Er, C. Sertkaya, F. Temurtas, A.C. Tanrikulu, A comparative study on chronic obstructive pulmonary and pneumonia diseases diagnosis using neural networks and artificial immune system, J. Med. Syst. 33 (6) (2009) 485–492. ď‚– [9] S. Khobragade, A. Tiwari, C. Patil, V. Narke, Automatic detection of major lung diseases using chest radiographs and classification by feed-forward artificial neural network, in: 2016 IEEE 1st International Conference on Power Electronics, Intelligent Control and Energy Systems (ICPEICES), IEEE, 2016, ď‚– [10] G.G.R. Schramek, D. Stoevesandt, A. Reising, J.T. Kielstein, M. Hiss, H. Kielstein, Imaging in anatomy: a comparison of imaging techniques in embalmed human cadavers, BMC Med. Educ. 13 (1) (2013) 143. References: