SlideShare a Scribd company logo
1 of 28
AUTOMATIC DETECTION OF
TUBERCULOSIS USING CXR
AIM
To automatically detect tuberculosis from a chest radiograph using MATLAB
INTRODUCTION
• Tuberculosis is an infectious diseases caused by the bacillus Mycobacterium
tuberculosis, which typically affects the lungs
• TB is the 2nd leading cause of death from an infectious disease worldwide
• Accurate diagnosis is the key to controlling the disease
• We present an automated approach to detect tuberculosis using conventional
posteroanterior chest radiographs
• Typical manifestations of TB in chest X-rays are infiltrations, cavitations,
effusions or miliary patterns
• Focus is on segmentation techniques, extraction of features and classification as
normal or abnormal on the basis of classifier i.e. trained on number of features
LITERATURE SURVEY
Poornimadevi.CS, Helen Sulochana.C
• In the existing method, cavity detection, ribs and diaphragm elimination is
difficult to examine TB in chest radiographs.
• To overcome the difficulties lung region is extracted by using registration based
segmentation method.
• Segmentation of lung region is performed after the registration process to handle
complex segmentation problems.
• In this paper, they describe how to discriminate between the normal and abnormal
CXRs using image processing techniques.
• Contrast enhancement and noise removal can be performed by using the
preprocessing techniques.
Laurens Hogeweg, Rodney Dawson, Grant Theron
• Computer aided detection system was developed which combines the results of
textural, shape and focal analysis.
• The lung and the clavicle segmented to limit the analysis by the subsystems to the
lung fields and provide them spatial context.
• Virtual collimation procedure is used which yields images with standardised lung
images, improving robustness of subsequent analysis.
• Abnormality detection system based on the textural, focal and shape.
• All subsystems are introduced in one for easy detection.
Anju Mathew, Athira V.R
• This paper proposes an efficient diagnosis of tuberculosis with the aid of chest
radiographs.
• At first they use content based image retrieval technique through we can identify
the lung CXR images by partial radon transform.
• They compute a lung model based on deformable non registration algorithm
• Extract the lung region from the chest radiographs using SIFT flow algorithm
followed by graph cut lung segmentation method.
• Then extract various features and by using SVM classifier the x-rays are classified
as TB affected or not.
• It also provides information whether the patient is highly TB affected or TB
starting level or not TB.
Stefan Jaeger, Alexandros Karargyris, Sema Candemir, Les Folio, Jenifer
Siegelaman, Fiona Callaghan
• This system first segments the lung region using a graph cut optimisation method
• This method combines intensity information with personalised lung atlas models
derived from a training set
• For the segmented lung field, the system then computes a set of shape, edge and
texture features as input to a pre-trained binary classifier
• Finally, using decision rules and thresholds, the classifier outputs whether the
input CXR is TB positive or not
Stefan Jaeger, Alexandros Karargyris, Sameer Antani, George Thoma
• Automated approach for TB detection on conventional posteroanterior chest
radiographs
• Segmentation mask for lung is achieved by a combination of lung shape model,
segmentation mask, and a simple intensity model
• JSRT data for training the lung model
• Binary alignment of the lung shaped model to map the model into an input x-ray
BLOCK DIAGRAM
LUNG
SEGMENTATION
FEATURE
EXTRACTION
OUTPUT
CHEST X-RAY
FLOWCHART
Preprocessing
Image
segmentation
Feature
extraction
Classification
Decision
output
SOFTWARE PACKAGE
• MATLAB is a high performance language for technical computing
• It allows matrix manipulations, plotting of functions and data, implementation of
algorithms, creation of user interfaces and interfacing with programs written in
other languages, including C, C++, C#, JAVA, Fortran and Python
• It integrates computation, visualization and programming in an easy-to-use
environment where problems and solutions are expressed in familiar mathematical
notations
PROGRAM
clc
close all;
clear;
[file,path]=uigetfile({'C:UsersuserDesktop3.png'},'Choose an image');
s=[path,file];
picture=rgb2gray(imread(s));
figure;
imshow(picture)
roi=round(getrect());
mpicture=picture;
mpicture(roi(2):(roi(2)+roi(4)),roi(1):(roi(1)+roi(3)))=0;
figure;
imshow(mpicture)
ims=imsubtract(picture,mpicture);
figure;
imshow(ims)
imb=im2bw(ims,.4);
figure;
imshow(imb)
se = strel('square', 5);
B_open = imopen(imb, se);
B_close = imclose(imb, se);
figure;
subplot(211)
imshow(B_open)
subplot(212)
imshow(B_close)
mask = zeros(size(picture));
mask(roi(2):(roi(2)+roi(4)),roi(1):(roi(1)+roi(3))) =0;
bw = activecontour(ims,mask,'edge');
figure;
imshow(bw)
imcc=imsubtract(B_close,imb);figure;
imshow(imcc)
bw1 = bwlabel(B_close, 8);
stats = regionprops(bw1, 'BoundingBox', 'Centroid');
hold on
for object = 1:length(stats)
bb = stats(object).BoundingBox;
bc = stats(object).Centroid;
rectangle('Position',bb,'EdgeColor','r','LineWidth',2)
plot(bc(1),bc(2), '-m+')
a = text(bc(1)+15,bc(2), strcat('X: ', num2str(round(bc(1))), ' Y: ', num2str(round(bc(2)))));
set(a, 'FontName', 'Arial', 'FontWeight', 'bold', 'FontSize', 12, 'Color', 'yellow');
end
hold off
bw2 = bwlabel(imcc);
stats = regionprops(bw2,'BoundingBox', 'centroid');
bb = stats(object).BoundingBox;
bc = stats(object).Centroid;
rectangle('Position',bb,'EdgeColor','r','LineWidth',2)
plot(bc(1),bc(2), '-m+')
a = text(bc(1)+15,bc(2), strcat('X: ', num2str(round(bc(1))), ' Y: ', num2str(round(bc(2)))));
set(a, 'FontName', 'Arial', 'FontWeight', 'bold', 'FontSize', 12, 'Color', 'yellow');
end
hold off
IMPLEMENTATION
• A grayscale image is a digital image, in which the value of each pixel is an
individual sample.
• Grayscale images are the result of measuring the intensity of light at each pixel in
a single band of the light spectrum.
• Region of interest is a portion of an image that we want to filter or perform some
other operation.
• Here the ROI is defined by using the rectangular box.
• The portion of image from the region of interest is subtracted from the gray scale
image.
• To convert the image into binary image thresholding is done for the subtracted
image.
• Closing is used to fill gaps in an image. imclose() performs morphological closing
on the gray scale or binary image.
• The morphological close operation is a dilation followed by an erosion using the
same structuring element for both the operations.
• imopen() performs morphological opening on the gray scale on the binary image.
Morphological open operation.
• regionprops() returns measurements for the set of properties specified by
properties for each 8-connected component (object) in the binary image.
• Centroid indicates the center of mass of the region.
• Bounding box is the smallest rectangle containing the region.
RESULT AND DISCUSSION
• TB has diverse manifestations and to analyse CXRs automatically, algorithms that
focus on different manifestations need to be combined
• For a given input chest X-ray, we first segment the lung field and then extract a set
of features for shapes, curvatures and textures from the segmented lung field
• Using the extracted features we classify whether the input CXR is normal or not
FUTURE SCOPE
• A system that can assist radiologist and public health providers in the screening
and decision process
ADVANTAGES AND DISADVANTAGES
Advantages
• Devoid of inter-reader variability
• Standardised way of reporting
• Objective and reproducible results
• Fast and effective
Disadvantages
• Poor specificity
CONCLUSION
• We are developing an automated system that screens chest X-rays for
manifestations of TB .
• When the input is given as the chest x-ray image it thereby detect the presence of
cavity.
• It indicates the presence or absence of tuberculosis
WORK SCHEDULE
Project start 18 July 2017
Topic selection 27 July 2017
Literature survey 2 August 2017
Zeroth review 18 August 2017
Data collection 27 September 2017
First review 4 October 2017
Implementation 1 December 2017
Report preparation 2 January 2018
Final review 4 April 2018
REFERENCES
[1] Anju Mathews, Athira V.R., “Detection of Tuberculosis Using Chest X-Rays”,
International Journal of Advanced Research in Electronics and Communication
Engineering, Volume 4, Issue 6, June 2015.
[2] Hrudya Das ,Ajay Nath ,"An Efficient Detection of Tuberculosis from Chest X-
rays", International Journal of Advance Research in Computer Science and
Management Studies, Volume 3, Issue 5,May 2015.
[3] Poornimadevi C.S., Helen Sulochana C., “Automatic Detection of Pulmonary
Tuberculosis using Image Processing Techniques”, IEEE WiSPNET 2016
Conference.
[4] S. Jaeger, A. Karargyris, S. Candemir, J. Siegelman, L. Folio, S. Antani and G.
Thoma, “Automatic tuberculosis screening using chest radiographs,’’
Quantitative Imaging in Medicine and Surgery, vol. 3, 2013.
[5] A. Karargyris, S. Antani, and G. Thoma, “Segmenting anatomy in chest x-rays for
tuberculosis screening,” in 33rd Int. Conf. of the IEEE Engineering in Medicine
and Biology Society (EMBS), 2011.
[6] World Health Organization. Global tuberculosis control: WHO report 2010. World
Health Organization, 2010.
Automatic detection of tb

More Related Content

What's hot

An overview of automatic brain tumor detection frommagnetic resonance images
An overview of automatic brain tumor detection frommagnetic resonance imagesAn overview of automatic brain tumor detection frommagnetic resonance images
An overview of automatic brain tumor detection frommagnetic resonance images
Mangesh Lingampalle
 
Segmentation techniques for extraction and description of tumour region from ...
Segmentation techniques for extraction and description of tumour region from ...Segmentation techniques for extraction and description of tumour region from ...
Segmentation techniques for extraction and description of tumour region from ...
Swarada Kanap
 
Artificial neural network based cancer cell classification
Artificial neural network based cancer cell classificationArtificial neural network based cancer cell classification
Artificial neural network based cancer cell classification
Alexander Decker
 

What's hot (20)

Brain tumor detection
Brain tumor detectionBrain tumor detection
Brain tumor detection
 
Prediction of lung cancer using image
Prediction of lung cancer using imagePrediction of lung cancer using image
Prediction of lung cancer using image
 
Lung Cancer Detection on CT Images by using Image Processing
Lung Cancer Detection on CT Images by using Image ProcessingLung Cancer Detection on CT Images by using Image Processing
Lung Cancer Detection on CT Images by using Image Processing
 
Medical imaging systems &its applications
Medical imaging systems &its applicationsMedical imaging systems &its applications
Medical imaging systems &its applications
 
Non negative matrix factorization ofr tuor classification
Non negative matrix factorization ofr tuor classificationNon negative matrix factorization ofr tuor classification
Non negative matrix factorization ofr tuor classification
 
Lung Cancer Detection using Image Processing Techniques
Lung Cancer Detection using Image Processing TechniquesLung Cancer Detection using Image Processing Techniques
Lung Cancer Detection using Image Processing Techniques
 
Cancerous lung nodule detection in computed tomography images
Cancerous lung nodule detection in computed tomography imagesCancerous lung nodule detection in computed tomography images
Cancerous lung nodule detection in computed tomography images
 
brain tumor detection by thresholding approach
brain tumor detection by thresholding approachbrain tumor detection by thresholding approach
brain tumor detection by thresholding approach
 
Fusion of ulrasound modality
Fusion of ulrasound modalityFusion of ulrasound modality
Fusion of ulrasound modality
 
An overview of automatic brain tumor detection frommagnetic resonance images
An overview of automatic brain tumor detection frommagnetic resonance imagesAn overview of automatic brain tumor detection frommagnetic resonance images
An overview of automatic brain tumor detection frommagnetic resonance images
 
Az03303230327
Az03303230327Az03303230327
Az03303230327
 
Stereology Theory and Experimental Design
Stereology Theory and Experimental DesignStereology Theory and Experimental Design
Stereology Theory and Experimental Design
 
IRJET - A Review on Segmentation of Chest Radiographs
IRJET - A Review on Segmentation of Chest RadiographsIRJET - A Review on Segmentation of Chest Radiographs
IRJET - A Review on Segmentation of Chest Radiographs
 
Segmentation techniques for extraction and description of tumour region from ...
Segmentation techniques for extraction and description of tumour region from ...Segmentation techniques for extraction and description of tumour region from ...
Segmentation techniques for extraction and description of tumour region from ...
 
Brain Tumor Detection Using Artificial Neural Network Fuzzy Inference System ...
Brain Tumor Detection Using Artificial Neural Network Fuzzy Inference System ...Brain Tumor Detection Using Artificial Neural Network Fuzzy Inference System ...
Brain Tumor Detection Using Artificial Neural Network Fuzzy Inference System ...
 
34 107-1-pb
34 107-1-pb34 107-1-pb
34 107-1-pb
 
Breast boundary detection in mammogram using entropy
Breast boundary detection in mammogram using entropyBreast boundary detection in mammogram using entropy
Breast boundary detection in mammogram using entropy
 
Neural Network Based Brain Tumor Detection using MR Images
Neural Network Based Brain Tumor Detection using MR ImagesNeural Network Based Brain Tumor Detection using MR Images
Neural Network Based Brain Tumor Detection using MR Images
 
Artificial neural network based cancer cell classification
Artificial neural network based cancer cell classificationArtificial neural network based cancer cell classification
Artificial neural network based cancer cell classification
 
rpad seminar
rpad seminarrpad seminar
rpad seminar
 

Similar to Automatic detection of tb

Cervical Spine Range of Motion Measurement Utilizing Image Analysis - VISAPP2022
Cervical Spine Range of Motion Measurement Utilizing Image Analysis - VISAPP2022Cervical Spine Range of Motion Measurement Utilizing Image Analysis - VISAPP2022
Cervical Spine Range of Motion Measurement Utilizing Image Analysis - VISAPP2022
sugiuralab
 
Survey on lung nodule classifications
Survey on lung nodule classificationsSurvey on lung nodule classifications
Survey on lung nodule classifications
eSAT Journals
 
Design and development of pulmonary tuberculosis diagnosing system using image
Design and development of pulmonary tuberculosis diagnosing system using imageDesign and development of pulmonary tuberculosis diagnosing system using image
Design and development of pulmonary tuberculosis diagnosing system using image
IAEME Publication
 
Optimal fuzzy rule based pulmonary nodule detection
Optimal fuzzy rule based pulmonary nodule detectionOptimal fuzzy rule based pulmonary nodule detection
Optimal fuzzy rule based pulmonary nodule detection
Wookjin Choi
 

Similar to Automatic detection of tb (20)

Lung nodule diagnosis from CT images based on ensemble learning
Lung nodule diagnosis from CT images based on ensemble learningLung nodule diagnosis from CT images based on ensemble learning
Lung nodule diagnosis from CT images based on ensemble learning
 
Cervical Spine Range of Motion Measurement Utilizing Image Analysis - VISAPP2022
Cervical Spine Range of Motion Measurement Utilizing Image Analysis - VISAPP2022Cervical Spine Range of Motion Measurement Utilizing Image Analysis - VISAPP2022
Cervical Spine Range of Motion Measurement Utilizing Image Analysis - VISAPP2022
 
Survey on lung nodule classifications
Survey on lung nodule classificationsSurvey on lung nodule classifications
Survey on lung nodule classifications
 
Design and development of pulmonary tuberculosis diagnosing system using image
Design and development of pulmonary tuberculosis diagnosing system using imageDesign and development of pulmonary tuberculosis diagnosing system using image
Design and development of pulmonary tuberculosis diagnosing system using image
 
sec dc.pptx
sec dc.pptxsec dc.pptx
sec dc.pptx
 
Early Detection of Lung Cancer Using Neural Network Techniques
Early Detection of Lung Cancer Using Neural Network TechniquesEarly Detection of Lung Cancer Using Neural Network Techniques
Early Detection of Lung Cancer Using Neural Network Techniques
 
Neural networks
Neural networks Neural networks
Neural networks
 
reliablepaper.pdf
reliablepaper.pdfreliablepaper.pdf
reliablepaper.pdf
 
sheeba.pptx
sheeba.pptxsheeba.pptx
sheeba.pptx
 
G43043540
G43043540G43043540
G43043540
 
Computer aided detection of pulmonary nodules using genetic programming
Computer aided detection of pulmonary nodules using genetic programmingComputer aided detection of pulmonary nodules using genetic programming
Computer aided detection of pulmonary nodules using genetic programming
 
importance of ct-simulator in radiotherapy
importance of ct-simulator in radiotherapyimportance of ct-simulator in radiotherapy
importance of ct-simulator in radiotherapy
 
importance of ct-simulator in radiotherapy
importance of ct-simulator in radiotherapyimportance of ct-simulator in radiotherapy
importance of ct-simulator in radiotherapy
 
Statistical Feature-based Neural Network Approach for the Detection of Lung C...
Statistical Feature-based Neural Network Approach for the Detection of Lung C...Statistical Feature-based Neural Network Approach for the Detection of Lung C...
Statistical Feature-based Neural Network Approach for the Detection of Lung C...
 
An Image Segmentation and Classification for Brain Tumor Detection using Pill...
An Image Segmentation and Classification for Brain Tumor Detection using Pill...An Image Segmentation and Classification for Brain Tumor Detection using Pill...
An Image Segmentation and Classification for Brain Tumor Detection using Pill...
 
IRJET - Lung Cancer Detection using GLCM and Convolutional Neural Network
IRJET -  	  Lung Cancer Detection using GLCM and Convolutional Neural NetworkIRJET -  	  Lung Cancer Detection using GLCM and Convolutional Neural Network
IRJET - Lung Cancer Detection using GLCM and Convolutional Neural Network
 
Optimal fuzzy rule based pulmonary nodule detection
Optimal fuzzy rule based pulmonary nodule detectionOptimal fuzzy rule based pulmonary nodule detection
Optimal fuzzy rule based pulmonary nodule detection
 
Detection of Diverse Tumefactions in Medial Images by Various Cumulation Methods
Detection of Diverse Tumefactions in Medial Images by Various Cumulation MethodsDetection of Diverse Tumefactions in Medial Images by Various Cumulation Methods
Detection of Diverse Tumefactions in Medial Images by Various Cumulation Methods
 
Automatic System for Detection and Classification of Brain Tumors
Automatic System for Detection and Classification of Brain TumorsAutomatic System for Detection and Classification of Brain Tumors
Automatic System for Detection and Classification of Brain Tumors
 
Medical image analysis
Medical image analysisMedical image analysis
Medical image analysis
 

Recently uploaded

Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
MaherOthman7
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
BalamuruganV28
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
benjamincojr
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
rahulmanepalli02
 

Recently uploaded (20)

Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligence
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
Adsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) pptAdsorption (mass transfer operations 2) ppt
Adsorption (mass transfer operations 2) ppt
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference Modal
 
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUUNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 

Automatic detection of tb

  • 2. AIM To automatically detect tuberculosis from a chest radiograph using MATLAB
  • 3. INTRODUCTION • Tuberculosis is an infectious diseases caused by the bacillus Mycobacterium tuberculosis, which typically affects the lungs • TB is the 2nd leading cause of death from an infectious disease worldwide • Accurate diagnosis is the key to controlling the disease • We present an automated approach to detect tuberculosis using conventional posteroanterior chest radiographs • Typical manifestations of TB in chest X-rays are infiltrations, cavitations, effusions or miliary patterns • Focus is on segmentation techniques, extraction of features and classification as normal or abnormal on the basis of classifier i.e. trained on number of features
  • 4. LITERATURE SURVEY Poornimadevi.CS, Helen Sulochana.C • In the existing method, cavity detection, ribs and diaphragm elimination is difficult to examine TB in chest radiographs. • To overcome the difficulties lung region is extracted by using registration based segmentation method. • Segmentation of lung region is performed after the registration process to handle complex segmentation problems. • In this paper, they describe how to discriminate between the normal and abnormal CXRs using image processing techniques. • Contrast enhancement and noise removal can be performed by using the preprocessing techniques.
  • 5. Laurens Hogeweg, Rodney Dawson, Grant Theron • Computer aided detection system was developed which combines the results of textural, shape and focal analysis. • The lung and the clavicle segmented to limit the analysis by the subsystems to the lung fields and provide them spatial context. • Virtual collimation procedure is used which yields images with standardised lung images, improving robustness of subsequent analysis. • Abnormality detection system based on the textural, focal and shape. • All subsystems are introduced in one for easy detection.
  • 6. Anju Mathew, Athira V.R • This paper proposes an efficient diagnosis of tuberculosis with the aid of chest radiographs. • At first they use content based image retrieval technique through we can identify the lung CXR images by partial radon transform. • They compute a lung model based on deformable non registration algorithm • Extract the lung region from the chest radiographs using SIFT flow algorithm followed by graph cut lung segmentation method. • Then extract various features and by using SVM classifier the x-rays are classified as TB affected or not. • It also provides information whether the patient is highly TB affected or TB starting level or not TB.
  • 7. Stefan Jaeger, Alexandros Karargyris, Sema Candemir, Les Folio, Jenifer Siegelaman, Fiona Callaghan • This system first segments the lung region using a graph cut optimisation method • This method combines intensity information with personalised lung atlas models derived from a training set • For the segmented lung field, the system then computes a set of shape, edge and texture features as input to a pre-trained binary classifier • Finally, using decision rules and thresholds, the classifier outputs whether the input CXR is TB positive or not
  • 8. Stefan Jaeger, Alexandros Karargyris, Sameer Antani, George Thoma • Automated approach for TB detection on conventional posteroanterior chest radiographs • Segmentation mask for lung is achieved by a combination of lung shape model, segmentation mask, and a simple intensity model • JSRT data for training the lung model • Binary alignment of the lung shaped model to map the model into an input x-ray
  • 11. SOFTWARE PACKAGE • MATLAB is a high performance language for technical computing • It allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces and interfacing with programs written in other languages, including C, C++, C#, JAVA, Fortran and Python • It integrates computation, visualization and programming in an easy-to-use environment where problems and solutions are expressed in familiar mathematical notations
  • 12. PROGRAM clc close all; clear; [file,path]=uigetfile({'C:UsersuserDesktop3.png'},'Choose an image'); s=[path,file]; picture=rgb2gray(imread(s)); figure; imshow(picture) roi=round(getrect()); mpicture=picture; mpicture(roi(2):(roi(2)+roi(4)),roi(1):(roi(1)+roi(3)))=0; figure;
  • 13. imshow(mpicture) ims=imsubtract(picture,mpicture); figure; imshow(ims) imb=im2bw(ims,.4); figure; imshow(imb) se = strel('square', 5); B_open = imopen(imb, se); B_close = imclose(imb, se); figure; subplot(211) imshow(B_open) subplot(212) imshow(B_close)
  • 14. mask = zeros(size(picture)); mask(roi(2):(roi(2)+roi(4)),roi(1):(roi(1)+roi(3))) =0; bw = activecontour(ims,mask,'edge'); figure; imshow(bw) imcc=imsubtract(B_close,imb);figure; imshow(imcc) bw1 = bwlabel(B_close, 8); stats = regionprops(bw1, 'BoundingBox', 'Centroid'); hold on for object = 1:length(stats) bb = stats(object).BoundingBox; bc = stats(object).Centroid;
  • 15. rectangle('Position',bb,'EdgeColor','r','LineWidth',2) plot(bc(1),bc(2), '-m+') a = text(bc(1)+15,bc(2), strcat('X: ', num2str(round(bc(1))), ' Y: ', num2str(round(bc(2))))); set(a, 'FontName', 'Arial', 'FontWeight', 'bold', 'FontSize', 12, 'Color', 'yellow'); end hold off bw2 = bwlabel(imcc); stats = regionprops(bw2,'BoundingBox', 'centroid'); bb = stats(object).BoundingBox; bc = stats(object).Centroid; rectangle('Position',bb,'EdgeColor','r','LineWidth',2) plot(bc(1),bc(2), '-m+') a = text(bc(1)+15,bc(2), strcat('X: ', num2str(round(bc(1))), ' Y: ', num2str(round(bc(2))))); set(a, 'FontName', 'Arial', 'FontWeight', 'bold', 'FontSize', 12, 'Color', 'yellow'); end hold off
  • 16. IMPLEMENTATION • A grayscale image is a digital image, in which the value of each pixel is an individual sample. • Grayscale images are the result of measuring the intensity of light at each pixel in a single band of the light spectrum.
  • 17. • Region of interest is a portion of an image that we want to filter or perform some other operation. • Here the ROI is defined by using the rectangular box.
  • 18. • The portion of image from the region of interest is subtracted from the gray scale image. • To convert the image into binary image thresholding is done for the subtracted image.
  • 19. • Closing is used to fill gaps in an image. imclose() performs morphological closing on the gray scale or binary image. • The morphological close operation is a dilation followed by an erosion using the same structuring element for both the operations. • imopen() performs morphological opening on the gray scale on the binary image. Morphological open operation.
  • 20. • regionprops() returns measurements for the set of properties specified by properties for each 8-connected component (object) in the binary image. • Centroid indicates the center of mass of the region. • Bounding box is the smallest rectangle containing the region.
  • 21. RESULT AND DISCUSSION • TB has diverse manifestations and to analyse CXRs automatically, algorithms that focus on different manifestations need to be combined • For a given input chest X-ray, we first segment the lung field and then extract a set of features for shapes, curvatures and textures from the segmented lung field • Using the extracted features we classify whether the input CXR is normal or not
  • 22. FUTURE SCOPE • A system that can assist radiologist and public health providers in the screening and decision process
  • 23. ADVANTAGES AND DISADVANTAGES Advantages • Devoid of inter-reader variability • Standardised way of reporting • Objective and reproducible results • Fast and effective Disadvantages • Poor specificity
  • 24. CONCLUSION • We are developing an automated system that screens chest X-rays for manifestations of TB . • When the input is given as the chest x-ray image it thereby detect the presence of cavity. • It indicates the presence or absence of tuberculosis
  • 25. WORK SCHEDULE Project start 18 July 2017 Topic selection 27 July 2017 Literature survey 2 August 2017 Zeroth review 18 August 2017 Data collection 27 September 2017 First review 4 October 2017 Implementation 1 December 2017 Report preparation 2 January 2018 Final review 4 April 2018
  • 26. REFERENCES [1] Anju Mathews, Athira V.R., “Detection of Tuberculosis Using Chest X-Rays”, International Journal of Advanced Research in Electronics and Communication Engineering, Volume 4, Issue 6, June 2015. [2] Hrudya Das ,Ajay Nath ,"An Efficient Detection of Tuberculosis from Chest X- rays", International Journal of Advance Research in Computer Science and Management Studies, Volume 3, Issue 5,May 2015. [3] Poornimadevi C.S., Helen Sulochana C., “Automatic Detection of Pulmonary Tuberculosis using Image Processing Techniques”, IEEE WiSPNET 2016 Conference.
  • 27. [4] S. Jaeger, A. Karargyris, S. Candemir, J. Siegelman, L. Folio, S. Antani and G. Thoma, “Automatic tuberculosis screening using chest radiographs,’’ Quantitative Imaging in Medicine and Surgery, vol. 3, 2013. [5] A. Karargyris, S. Antani, and G. Thoma, “Segmenting anatomy in chest x-rays for tuberculosis screening,” in 33rd Int. Conf. of the IEEE Engineering in Medicine and Biology Society (EMBS), 2011. [6] World Health Organization. Global tuberculosis control: WHO report 2010. World Health Organization, 2010.