- Open Access
- Total Downloads : 101
- Authors : S. Pushparani, Dr. A. Chandra Sekar, Dr. V. Vallinayagam, Dr. Jani Anbarasi
- Paper ID : IJERTV5IS100275
- Volume & Issue : Volume 05, Issue 10 (October 2016)
- DOI : http://dx.doi.org/10.17577/IJERTV5IS100275
- Published (First Online): 24-10-2016
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Automated Classification of Tuberculosis by PSO based Machine Learning using Chest Radiographs
S. Pushparani.,
Assistant professor
Dept of Computer Science and Engineering, Meenakshi college of Engineering, Chennai.
Dr. V. Vallinayagam. ,
Professor
Dept of Mathematics,
St Josephs college of Engineering, Chennai.
Dr. A. Chandra Sekar,
Professor
Dept of Computer Science and Engineering, St Josephs college of Engineering, Chennai.
Dr. Jani Anbarasi,
Assistant professor
Dept of Computer Science and Engineering Agni college of Engineering, Chennai.
Abstract – Classification of tuberculosis based on chest X- Rays is the most feasible and faster when compared with other alternate slow and unreliable methods like Sputum smear microscopy. This paper presents an automated method for identifying TB in chest radiographs. Initially the chest X- ray images are segmented by nature inspired multilevel PSO based segmentation method. From the segmented images textural feature vectors are calculated using gray-level co- occurrence matrix. This feature vector is used for classifying the chest X-rays into normal and abnormal using neural network classifier. Performance of this system is measured on the data set collected from various diagnostic centers in Chennai, India. 75% of the data set are used for training while25 % datas in the dataset is used for testing the classifier. The accuracy achieved is greater than 90% for each level of segmentation. The accuracy is compared with other existing systems
Index Terms : Segmentation, multilevel PSO, Tuberculosis, Chest X-ray, feature vector, co-occurence matrix
-
INTRODUCTION
Classification is a supervised data mining task by which numerical datas can be classified according to their occurrence in the databases to build a model for prediction purpose. Several diseases like tuberculosis, pneumonia, lung cancer are affecting lungs immediately and their diagnosis through lung x-rays are faster and cheaper. Tuberculosis is the second leading infectious disease that causes a major threat in many regions of the world. 1.2 million people are affected throughout the world [1]. Diagnosing TB is always a major challenge because the identification using sputum smear microscopy is an ancient technique which was developed before 100 years. Several skin tests are also performed to determine whether an individual has contracted TB and is not reliable most of the time. An automated approach is proposed by Stephen Jaeger for identifying TB in chest X-rays (CXRs) [2-4] where X rays are chosen due to the low cost yet providing high yield. TB screening analysis is performed using
datasets selected from Montgomery County (MC) dataset. In this paper discrimination of the normal and abnormal CXRs using Neural network based PSO segmentation process is proposed for the dataset collected from various diagnostic centers in India.
Digital chest radiography and digital image processing techniques, assists a lot in screening and diagnosing TB to a greater extent. Ginnekan et al. A survey states that there is no system to predict chest radiographs accurately [5-7]. Automated nodule detection is one of the best automation schemes for CXR and CT images. Computer aided diagnosis (CAD) systems have been evaluated by many researchers to identify the capability of commercially available systems to detect lung nodules [8-10]. CAD system successfully assists in diagnosing lung cancer nodules [11] however nodules refers only one of the many manifestations of TB in radiographs. Due to the complexity in developing a fully automated CAD system for X ray analysis, researchers have concentrated on finding a solution for few specific sub problems [12]. Segmentation of lungs is a major task required from the CAD system to evaluate CXR's. It is also needed to segment Ribs, heart and clavicles [13]. Dawoud
-
proposed an iterative based segmentation which combined intensity information with the shape priors trained over the publicly available JSRT database.
Ginneken et al [15] proposed a feature extraction which divided the lungs into various overlapping regions and extracted the features from each region. Abnormal signs are detected through the moments of response of a multiscale filter band. The left and the right lung field were used as different features whereas training was performed by voting and weighed integration process. Most of the papers on CAD did not specifically work for any particular diseases. Whereas only a few worked in identifying TB [15-18]. Hogeweg et al combined texture based abnormality detection with a clavicle detection stage in order to suppress false positive responses [16]. Similarly Hogeweg used a similar combination of pixel classifiers
and an active shape model for the clavicle segmentation. Freedman et al [20] showed that the performance can be increased by automatic suppression of ribs and clavicles in CXR's. Availability of the clavicle in upper lung zone strongly indicates that TB has developed to a highly infectious state. Bayesian approach was developed to identify these regions automatically [17]. Xu et al used model based template matching technique based on Hessian matrix [19] to identify the cavities in the upper lungs. Arzhaeva et al used dissimilarity-based classification to find the abnormalities in the CXR's[22]. Similarly Pangilinan et al [23] proposed a stepwise binary classification algorithm to reduce the false positives in TB
population plays an important role to obtain a good solution with the time limit. Stopping criteria can be predefined as number of iterations based on the problem. PSO updates neighbor and global information which affects the velocity and consequent position of particles{24].
Multilevel thresholding segments images into several distinct regions. So this thresholding technique of PSO should be extended to the required no of segments . If there are m thresholds 1< tp<tp< tp………< thm<256 divides the original image into m+1 levels C0 for [1, . . . , k1], C1 for [k1 +1, . . . , k2], . . . , and Cm for [km +1, . . . , L]. Then the fitness function can be calculated by the equation
detection.
2 (
)2 (
)2 …… (
)2
-
-
METHOD
b 0 0 t
1 1 t
m m T
This section describes the methods how chest images are classified by implementing different processing steps using machine learning algorithms. The automated classification system segments the image into various clusters or segments using multilevel PSO segmentation. From the segmented image various textural features are computed. These features are fed into the pre trained binary neural network classifier. By using gradient based back propagation thresholds the classifier classifies Normal and abnormal lungs
-
Multi Level PSO Based Segmentation
Segmentation is classified as texture based, histogram thresholding based, clustering based and region based merging methods. PSO algorithm was proposed by Eberhart and Kennedy in 1995 which takes the advantage of the swarm intelligence concept in machine learning. The collective behavior of unsophisticated agents interacts locally with their environment which collects and creates a coherent global functional pattern.
t
t
t
t
The fitness function used to evaluate the particle success in every step. To model a swarm every n particle is assumed to have n moves in a multidimensional space according to position (xn ) and velocity (vn ) which are
t
t
highly influenced on local best (xn ) , neighborhood best
t t
t t
(nn ) and global best (g n ) information where
vn wvn r (gn xn ) r (xn xn ) r (nn xn )
Where 2 is defined as the between class variance of the
b
b
thresholding levels. By this the image can be segmented into various levels
-
Feature Computation
Texture plays an important role to identify the characteristics of objects. Various textural features for chest images with different levels of segmentation is computed For each image 22 features are extracted for each levels of segmentation and totally 88 features[25-27]
.Textural features were calculated based on gray level coocurence matrix of the segmented chest image.
Consider an image of size Nx and Ny (columns and rows) where the grey level appearing at each pixel can be quantized to Ng levels as
Let Lx = {1,2,…….. Nx} be columns,
Ly={1,2,…….. Ny} be rows Gx={1,2,……..Ny-1} set of Ng quantized grey levels
Lx × Ly is the image pixels ordered by their row column designation. Image I can be represented as a function that
assigns some gray level into each pixel as a pair of coordinates in Lx × Ly; I :
where Lx × Ly G
The texture content information is specified by the matrix of relative frequencies Pij with two neighboring pixels which are separated by d that occurs on the image, one with gray level i and other with gray level j
Let P(i,j) be the (i,j )th entry in the normalized GLCM. The mean and standard deviations for the rows and
t1
t 1 1 t t
-
2 t t
-
3 t t
xn xn vn
columns of the matrix are given as
t1 t
t 1
Mean row (µx)= i p(i, j)
w
w
The coefficient is the weight assigned to the inertial
i j
influence and
1 , 2, 3
are the learning factors which is
Mean column (µy) = j p(i, j)
set to 1.5. Depending upon the application i j
1 , 2, 3 values can be set for best results.
r1 , r2 , r3 are
SD row (x) = (i x
)2 p(i, j)
random vectors which generally assign a random number between 0 and 1. During the beginning the particle velocities are set to zero and their position is randomly set within the boundaries of the search space. The search space
i j
SD column (y) = ( j y
i j
)2 p(i, j)
depends upon the intensity levels where worst possible values are assigned to local neighborhood and global best and the other parameters are adjusted accordingly to the population size and stopping parameters. The Size of the
and the features calculated for each levels of segmented image are
1. Autocorrelation: = (ij)p(i, j)
-
Inverse difference normalized (INN) =
G
G
i j
G
G
cij
2
2
G1 G
2.Contrast = n2 {
p(i, j)}, i j n
i, j11 i j
/ G 2
n0
i1
j 1
-
Inverse difference moment
G1 G1 {i j} p(i, j) {x y }
G1 G1 1
-
Correlation=
= 1 (i j)2
p(i, j)
i1 j 1 x y
-
Cluster Prominence
i1
j 1
G1 G1 {i j} p(i, j) { x y }
-
-
Classification
=
Here the classification of normal and abnormal chest X-
i1 j 1 x y
G G
rays are classified by neural network based classifier
which uses conjugate gradient back propagation algorithm.
-
Cluster Shade = {i, j x
i0 j 0
-
y
}3 p(i, j)
Neural networks are general nonlinear classifiers. Neural network is a set of nodes and a set of links. The nodes
6.Dissimilarity = i j
i j
-
Energy: = p(i, j)2
i j
p(i, j)
correspond to neurons and the links represent the connections and the data flow between neurons. Connections are quantified by weights, which are dynamically adjusted during training. During training, a set of training instances is given. Each training instance is
G G typically described by a feature vector (called an input
-
Entropy= p(i, j) log( p(i, j))
1
1
i1 j1
i j
i j
-
Homogeneity 1 (i j)2 p(i, j)
vector). It should be associated with a desired output, which is encoded as an another vector, called the desired output vector. The back-propagation training method uses the following technique [28]: given an input pattern to the network, its output is compared with the desired output,
-
Maximum probability = MAX
ij
p(i, j)
and a distance or error between them is calculated. Next, all relevant weights are adjusted in such a way that next time
G G the same instance is processed, the real output is closer to
-
Variance = {i }2 p(i, j)
i0 j 0
2G2
-
Sum average = ip x y (i)
i0
-
Sum variance
the desired one, which means an error decrease. This process continues until a
minimum error is reached or until a given number of training epochs is completed. To evaluate whether the system can perform at an acceptable level, in terms of accuracy and efficiency, we used the 10-fold cross
2 Ng
2G2
validation technique [29].
(i px y (i) log px y (i)) px y (i)
The Scaled Conjugate Gradient (SCG) algorithm
i2
i0
2G2
[30] denotes the quadratic approximation to the error E in aneighborhood of a point w by:
-
Sum entropy px y (i) log px y (i)
i0
qw
( y) E(w) E(w)T y 1 yT E(w) y
2
-
Difference variance = Variance of Px y
G1
-
Difference entropy px y (i) log px y (i)
i0
-
Information measure of correlation1
In order to determine the minimum to Eqw(y)the critical points for Eqw(y) must be found. The critical points are the solution to the linear system defined by Moller
Eqw ( y) E(w) y E(w) 0
G G
p(i, j) log( p(i, j)) p(i, j) log{ px (i) py ( j)}
SCG belongs to the class of Conjugate Gradient Methods,
= i1 j1
i j
max{ HX , HY}
which show superlinear convergence on most problems. By
HX and HY are entropies of px and py
-
Information measure of correlation2 =
G G
using a step size scaling mechanism SCG avoids a time consuming line-search per learning iteration, which makes the algorithm faster than other second order algorithms.
(1 exp[2.0( p (i) p ( j)log{ p (i) p ( j)}
p(i, j) log( p(i, j))])1 / D2 . System Implementation
x y x y
i j i 1 j 1
Cij
This TB detection technique is programmed in MATLAB and a computer having an Intel core 2duo, TS 800
-
Inverse difference (INV) =
1 i j
processor and 3 GB of memory. The proposed scheme is tested on the TB data sets collected from various diagnostic centers in Chennai, India.
-
-
EXPERIMENTAL RESULTS
The Chest X-ray (CXR's) datas were collected from various diagnostic centers in Chennai India., This part of the paper presents the results of multilevel PSO based segmentation method on normal and abnormal chest X rays, the features computed from each level of segmentation and the accuracy of neural network classifier,
. Fig 1 illustrates the normal chest X-rays along with a histogram of the image. Similarly fig 2 shows the abnormal CXRs and its histogram.
A. Segmentation
PSO method is the parameterized method, so the initialization parameters should b choosen for fast convergence. The values are given in Table 1. PSO based optimization method is stochastic random population based, each of them runs 20 times and the fitness values are brought in Table 2. All fitness values are calculated for 2, 3, 4, 5 thresholds(higher between class variances). Fitness values vary with the number of thresholds.
Table 1. Initial parameters for PSO
Parameter |
Values |
Num of Iterations |
8 |
Population |
200 |
1 |
1.5 |
2 |
1.5 |
W |
1.2 |
Vmax |
2 |
Vmin |
-2 |
Xmax |
255 |
Xmin |
0 |
3500
Table 2. Fitness values of different levels
Test image |
Thresholds |
PSO |
Normal CXR |
2 |
1309.90 |
3 |
1568.90 |
|
4 |
1705.90 |
|
5 |
1768.60 |
|
Abnormal CXR |
2 |
2171.70 |
3 |
2552.80 |
|
4 |
2699.50 |
|
5 |
2783.60 |
To visually compare the segmented results of PSO, the segmented images with various threshold levels are given in Fig. 3. As can be seen from the figure, images with higher level of segmentation have more detail than the other images..
Fig 1 illustrates the normal chest X-rays along with a histogram of the image. Similarly fig 2 shows the abnormal CXRs and its histogram.
3000
2500
2000
1500
1000
500
0
0 50 100 150 200 250
Figur 1.(a) Normal CXRs (b). Histogram of normal Chest X-ray
Figure 2.(a) abnormal Xray (b). histogram of abnormal Chest X-ray
(a)
(a)
(a)
(a)
-
Classification
(b)
(b)
(c)
(c)
(d)
(d)
(b)
(b)
(c)
(c)
(d)
(d)
Figure.3 (a, b, c, d) segmented Normal images with 2, 3, 4, 5 thresholds
Figure.4 (a, b, c, d) segmented Abnormal images with 2, 3, 4, 5 thresholds
TN
From the segmented images 22 textural features are extracted using Gray Level Co occurrence matrix of the each level of segmented CXR's. These textural features are
Specificity =
TN FP
TP TN
extracted for 100 normal CXR's and 150 Abnormal CXR's. Based on the extracted features from CXR's the images were classified as Normal and abnormal images by the
accuracy =
Fscore =
P N
2TP
neural network Classifier. 75% of the datas are used for training the classifier and 25 % of the datas are used for testing the classifier Classification performance is determined using confusion matrix and ROC curve
The values tabulated are calculated as per the following equations from the corresponding confusion matrix to determine the performance of the classifier
p
p
TP = predicted (normaldata)
i1
q
q
TN = [1 predicted (abnormaldata)]
i1
q
q
FP = predicted (abnormaldata)
i1
p
p
FN = [1 predicted (normaldata)]
i1
TP
2TP FP FN
Matthews correlation coefficient =
TP TN FP FN
(TP FP)(TP FN )(TN FP)(TN FN )
ROC curve summarizes the performance of a classifier over all possible thresholds. It is generated by plotting the True Positive Rate (y-axis) against the False Positive Rate (x-axis). The ROC curve shows different possible operating points depending on the confidence threshold for the neural network classifier. The area under the ROC curve (AUC) in Fig. is 95% with an overall classification accuracy of 93%. According to the ROC curve in Fig.5 Sensitivity of about 98% and false positive rate is slightly higher than 40% means specificity is a bit lower than 60%
The best validation performance is 0.061934 at epoch 37 of the neural network classifier with 22 inputs and 20 hidden neurons (Fig. 6)
Sensitivity =
TP FN
Fig 5. ROC CURVE
Fig 6. Validation performance
-
Comparison With Other Systems
The AUC value of this system is higher than the AUC values of the systems in [31] and [33]. Our AUC value is also slightly higher than the AUC value reported by Hogeweg et al., who use a combination of texture and shape abnormality detectors [32].
-
CONCLUSION
This paper proposed an automatic system that diagnoses the manifestation of TB. This scheme uses the features of PSO segmentation to effectively segment the lungs of the CXRs. The set of GLCM features are computed and are input to the neural network classifier which then classifies the given input image into normal and abnormal images. The results shows that an improved performance is achieved when compared to the existing. AUC and ACC values obtained are around 94% and 95% respectively. Also this work can to be extended using genetic algorithm to find the superior features that drive the
solution. Also Comparison has to be performed with the human performance for the diagnosis system in future.
REFERENCES
-
World Health Org., Global tuberculosis report 2012.
-
S. Candemir, S. Jaeger, K. Palaniappan, S. Antani, and G. Thoma, Graph-cut based automatic lung boundary detection in chest radiographs, in Proc. IEEE Healthcare Technol. Conf.: Translat. Eng. Health Med., 2012, pp. 3134.
-
S. Candemir, K. Palaniappan, and Y. Akgul, Multi-class regularization parameter learning for graph cut image segmentation, in Proc.Int. Symp. Biomed. Imag., 2013, pp. 14731476.
-
S. Jaeger, A. Karargyris, S. Antani, and G. Thoma, Detecting tuberculosis in radiographs using combined lung masks, in Proc. Int. Conf. IEEE Eng. Med. Biol. Soc., 2012, pp. 49784981.
-
B. van Ginneken, L. Hogeweg, andM. Prokop, Computer-aided diagnosis in chest radiography: Beyond nodules, Eur. J. Radiol., vol. 72, no. 2, pp. 226230, 2009.
-
G. Lodwick, Computer-aided diagnosis in radiology: A research plan, Invest. Radiol., vol. 1, no. 1, p. 72, 1966.
-
G. Lodwick, T. Keats, and J. Dorst, The coding of Roentgen images for computer analysis as applied to lung cancer, Radiology, vol. 81, no. 2, p. 185, 1963.
-
S. Sakai, H. Soeda, N. Takahashi, T. Okafuji, T. Yoshitake, H. Yabuuchi, I. Yoshino, K. Yamamoto, H. Honda, and K. Doi, Computeraided nodule detection on digital chest radiography: Validation test on consecutive T1 cases of resectable lung cancer, J. Digit. Imag., vol. 19, no. 4, pp. 376382, 2006.
-
J. Shiraishi, H. Abe, F. Li, R. Engelmann, H. MacMahon, and K. Doi, Computer-aided diagnosis for the detection and classification of lung cancers on chest radiographs: ROC analysis of radiologists performance, Acad. Radiol., vol. 13, no. 8, pp. 9951003, 2006.
-
S. Kakeda, J. Moriya, H. Sato, T. Aoki, H. Watanabe, H. Nakata,
N. Oda, S. Katsuragawa, K. Yamamoto, and K. Doi, Improved detection of lung nodules on chest radiographs using a commercial computer- aided diagnosis system, Am. J. Roentgenol., vol. 182, no. 2, pp.505510, 2004.
-
K. Doi, Current status and future potential of computer-aided diagnosis inmedical imaging,Br. J. Radiol., vol. 78, no. 1, pp. 3 19, 2005.
-
B. Van Ginneken, B. ter Haar Romeny, and M. Viergever, Computeraided diagnosis in chest radiography: A survey, IEEE Trans. Med. Imag., vol. 20, no. 12, pp. 12281241 Dec. 2001.
-
B. Van Ginneken, M. Stegmann, and M. Loog, Segmentation of anatomical structures in chest radiographs using supervised methods: A comparative study on a public database, Med. Image Anal., vol. 10, no. 1, pp. 1940, 2006.
-
A. Dawoud, Fusing shape information in lung segmentation in chest radiographs, Image Anal. Recognit., pp. 7078, 2010.
-
B. van Ginneken, S. Katsuragawa, B. ter Haar Romeny, K. Doi, andM. Viergever, Automatic detection of abnormalities in chest radiographs using local texture analysis, IEEE Trans. Med. Imag., vol. 21, no. 2, pp. 139149, Feb. 2002.
-
L. Hogeweg, C. Mol, P. de Jong, R. Dawson, H. Ayles, and B. van Ginneken, Fusion of local and global detection systems to detect tuberculosis in chest radiographs, in Proc. MICCAI, 2010, pp. 650657.
-
R. Shen, I. Cheng, and A. Basu, A hybrid knowledge-guided detection technique for screening of infectious pulmonary tuberculosis from chest radiographs, IEEE Trans. Biomed. Eng., vol. 57, no. 11, pp. 26462656, Nov. 2010.
-
T. Xu, I. Cheng, andM.Mandal, Automated cavity detection of infectious pulmonary tuberculosis in chest radiographs, in Proc. Int. IEEE Eng. Med. Biol. Soc., 2011, pp. 51785181.
-
L. Hogeweg, C. I. Sánchez, P. A. de Jong, P. Maduskar, and B. van Ginneken, Clavicle segmentation in chest radiographs, Med. Image Anal., vol. 16, no. 8, pp. 14901502, 2012.
-
M. Freedman, S. Lo, J. Seibel, and C. Bromley, Lung nodules: Improved detection with software that suppresses the rib and clavicle on chest radiographs, Radiology, vol. 260, no. 1, pp. 265273, 2011.
-
Kulkarni, R. V., & Venayagamoorthy, G. K. (2010). Bio-inspired algorithms for autonomous deployment and localization of sensor. IEEE Transactions on Systems, 40(6), 663675
-
Y. Arzhaeva, D. Tax, and B. Van Ginneken, Dissimilarity-based classification in the absence of local ground truth: Application to the diagnostic interpretation of chest radiographs, Pattern Recognit., vol. 42, no. 9, pp. 17681776, 2009.
-
C. Pangilinan, A. Divekar, G. Coetzee, D. Clark, B. Fourie, F. Lure, and S.Kennedy, Application of stepwise binary decision classification for reduction of false positives in tuberculosis detection from smeared slides, presented at the Int. Conf. Imag. Signal Process. Healthcare Technol., Washington, DC, 2011.
-
Pedram Ghamisi, Micael S. Couceiro, Jón Atli Benediktsson & Nuno M.F.Ferreira. An Efficient Method for Segmentation of Images Based on Fractional Calculus and Natural Selection, Expert Systems with Applications, Elsevier, 2012.
-
R. M. Haralick, K. Shanmugam, and I. Dinstein, Textural Features ofImage Classification, IEEE Transactions on Systems,
Man and Cybernetics, vol. SMC-3, no. 6, Nov. 1973
-
L. Soh and C. Tsatsoulis, Texture Analysis of SAR Sea Ice Imagery Using Gray Level Co-Occurrence Matrices, IEEE Transactions on Geoscience and Remote Sensing, vol. 37, no. 2, March 1999.
-
D A. Clausi, An analysis of co-occurrence texture statistics as a function of grey level quantization, Can. J. Remote Sensing, vol. 28, no. 1, pp. 45-62, 2002
-
LiMin Fu, Neural Networks in Computer Intelligence, Ed- McGraw-Hill. 1994.
-
Haykin, Simon S. Neural Networks: A Comprehensive Foundation. New York: Macmillan College Publishing Company, Inc., 1994.
-
Moller, A Scaled Conjugate Gradient Algorithm for Fast Supervised Learning, Neural Networks, 6 (4), 1993, pp.525-533.
-
B. van Ginneken, S. Katsuragawa, B. ter Haar Romeny, K. Doi, andM.Viergever, Automatic detection of abnormalities in chest radiographs using local texture analysis, IEEE Trans. Med. Imag., vol. 21, no. 2, pp. 139149, Feb. 2002.
-
L. Hogeweg, C. Mol, P. de Jong, R. Dawson, H. Ayles, and B. van Ginneken, Fusion of local and global detection systems to detect tuberculosis in chest radiographs, in Proc. MICCAI, 2010, pp.650657
-
Y. Arzhaeva, D. Tax, and B. Van Ginneken, Dissimilarity-based classification in the absence of local ground truth: Application to the diagnostic interpretation of chest radiographs, Pattern Recognit., vol. 42, no. 9, pp. 17681776, 2009