Please click on one of the flags to reset Reading-Direction if you consider the current setting invalid

Medical Images Classification by using Artificial Intelligence Techniques

Views  871
Rating  0

 اسراء عبد الله حسين علي الدليمي
19/12/2016 14:45:52
تصفح هذه الورقة الالكترونية بتقنية Media To Flash Paper
ِِMedical Images Classification by using Artificial Intelligence Techniques

Abstract: as known, the brain tumor is the most common fatality in the current scenario of health care society. hence, a robust and more accurate detection system provides an efficient and fast way for diagnosis of the brain tumor is highly essential for treatment planning which can minimize the fatal results. accurate results can be obtained only through computer aided automated systems to avoid the human error in manual interpretation of medical image content and to obtain high performance and efficiency. in this work, we proposed an artificial technique for automatic classification of the magnetic resonance imaging (mri) brain images as normal or abnormal. the proposed method consists of many stages, namely, image acquisition, image segmentation, features extraction, and classification. modified k-means clustering algorithm that named weighted k-means used in segmentation stage to convert images into set of regions, the output of this stage will be input to features extraction stage. in features extraction stage multi extracted textural features using gray level co-occurrence matrix (glcm) matrices in four directions, these features are used in classification stage. k-nearest neighbor classifier is used in decision making. in the experiment we test many mri images and the results show that provides better output and the classification accuracy of our method is 86%. 
keywords: brain tumor, a.i techniques mri weighted k-means, glcm, k-nearest.
I. Introduction
The brain tumor is one of the major causes for the increase in mortality among children and adults. a tumor is any mass that results from abnormal growths of cells in the brain. it may affect any person at almost any age. brain tumor effects may not be the same for each person. tumors can directly destroy healthy brain cells[2]. they can also indirectly damage healthy cells by crowding other parts of the brain and causing inflammation, brain swelling, and pressure within the skull [1].brain tumors are either malignant or benign. a malignant tumor, also called brain cancer, grows rapidly and often invades or crowds healthy areas of the brain. benign brain tumors do not contain cancer cells and are usually slow growing [4]. there are many procedures and diagnostic imaging techniques can be performed for the early detection of any abnormal changes in tissues and organs such as computed tomography (ct) scan, magnetic resonance imaging (mri), x-ray, and ultrasound [8]. mri is a primary medical imaging modality that is commonly used to visualize the structure and the function of human body. it provides rich information for excellent soft tissue contrast which is especially useful in neurological studies [10].
However, the important process is classifying mri into normal and abnormal classes based on pattern recognition concept which can be defined as a quantitative description of an object, while pattern class can be defined as a set of patterns that share some properties in common. for this goal researchers have proposed a lot of approaches which fall into two categories containing supervised classification techniques such as neural network and support vector machine and others [3]. the other category has unsupervised classification techniques such as self-organization map and fuzzy c-means [5,9].therefore the necessity of efficient and automated way for mri analysis is continuously increasing.this work is to present an automated intelligent classification system that assists diagnosis of normal and abnormal mri brain, to avoid the human error in manual interpretation of medical image content. 
ii. The proposed system methodology 
as mentioned, the mri is often the medical imaging method of choice when soft tissue delineation is necessary. this is especially true for any attempt to classify brain tissues. the use of computer technology in medical decision support is now widespread and pervasive across a wide range of medical area, such as cancer research, and brain tumors. fully automatic normal and diseased human brain classification from mri is of great importance for research and clinical studies. 
a. texture features used 
there are many texture feature that can be used .in this work we used the following[6,7]: 
max probability (f1):this statistic determines the most predominant pixel pair in an image.
f1= max (cnorm(i,j)) (1)

entropy (f2) :the entropy indicator measures complexity of an image. the highest value of entropy is found when the values of cnorm(i,j) are allocated quite uniformly throughout the matrix. this happens when the image has no pairs of grey-level, with particular preference over others. entropy is strongly but inversely correlated to energy.
f2 = - (2)
contrast(f3): this statistic measures the difference between the highest and the lowest values of a contiguous set of pixels. it measures the amount of local variations present in the image.
f3 = (3)
inverse difference moment (idm)(f4): this statistic measures the smoothness of an image.
f4= (4)
angular second moment (asm)(f5):this feature is a measure of local homogeneity in the image. its value is high when the image has very good homogeneity. in a non homogenous image, there are many gray level transitions, the asm assumes lower values.
f5= (5)
mean (f6):
f6 = (6)
dissimilarity (f7) :
f7 = (7)
homogeneity (f8):it is a measure of image homogeneity.
f8= (8)
b. the system stages
in the proposed classification system, the input to the system is a digital image of the brain with format bmp. every image will pass through segmentation stage by using weighted k-means method. the output of previous stage will be input to features extraction stage, in this stage set of features extraction from images by using glcm method. finally, in classification stage k-nn classifier is used for decision making, which is one of the most commonly, used methods for pattern recognition.the block diagram of the proposed system of brain mri classification is shown in figure1.
figure1. the block diagram of the proposed system.
1. image acquisition stage
collect a set of the brain mri images, and then the images will be converted into bmp format.
2. segmentation stage
the objective of the segmentation process is to partition an image into regions. in this work, concentrate on hard clustering or partition clustering. particularly, weighted k-means algorithm is a variation of the classic k-means algorithm. in weighted k-means clustering algorithm, must specify the number of cluster that want (parameter k). the next step is to generate the center of each cluster (group) and this is done by randomly selected, and then will be used euclidean distance to calculate the distance between each pixel of the image and the center of each cluster. pixel goes to the cluster that gives minim distance. the center of each cluster is updatingd by dividing the summation of the pixels in the cluster on the number of pixels in the cluster. the weighted k-means clustering algorithm continues partition the image until the center of each cluster does not change. the algorithm for weighted k-means clustering algorithm is as follows:
figure2. weighted k-means clustering algorithm.
3. feature extraction stage
features extraction is the process of analyzing and quantifying the texture within image. it analyzes images to extract the most prominent features that are representative of the various classes of objects. features are used as inputs to classifier that assign them to the class that they represent. the features extracted in this work are based on gray-level co-occurrence matrix (glcm). glcm matrix is a second order statistical measure gives a number of textural characteristics which implement the features of a mri brain images.
medical images classification by using artificial intelligence techniques practically, the glcm matrices that identify the probability of pairs connection of gray levels are implemented with distance d=1 and in four directions 0,45,90,135, each matrix with one of given directions is in size 256×256, whereas there exist 256 gray levels in the mri brain image data. the algorithm for computing glcm matrix with d=1 and in angle 0 (e.g.) is as follow:
figure3. computing glcm matrix in direction 0.
figure4. normalizing glcm matrix.
the same procedures are computed with other directions neighbors (i.e. ? = 45,90 and 135. then each glcm matrix is normalized using the following equation:
cnorm (i,j) = (9)
from the normalized glcm matrix the texture features are extracted, they are eight features: max probability, contrast, entropy, asm, idm, dissimilarity, mean, and correlation. the algorithm for extraction those texture descriptors from a mri image are as follows:
figure5. texture features extraction from glcm matrices.
4. classification stage
this stage is used to classify the set of images in test stage. the classification method used in this work is k-nearest (k-nn) method. k-nn classifier is a supervised method which examines the k-nearest samples from the training set and classifies the test sample by using a voting scheme. the algorithm of k-nn (in figure (6) below) is used for classification mri brain images. where the distance between features vectors of test image and features vector of training images is calculated, then k value will be selected, and according to this, chosen k of the nearest samples to a test vector, and making voting to determine to which mri brain a test class image belongs.
figure6. k-nn classifier.
iii. results and discussion
as mentioned, segmentation stage is a primary stage. system as a whole depend on it, because of the importance of this stage which is used weighted k-means clustering mentioned previously necessary to determine the number of clusters. the value of k that is represented no of clusters will be chosen among the following three values: k= 2, k = 3, and k=4.the values of the k are not standard, anyone can try another values for k and choose the best from them. in this work, quality measure is used to measure the error rate for algorithms. the best value for k is chosen depending on the results provided by using quality measure. table (1) shows weighted k-means algorithm applied on original image when k=2, k=3, k= 4. the results show that, best value for k is k=4. therefore in this work=4 is chosen.
table1. weighted k-means applied on image when k=2,3,4
the system is performed on mri brain database with 100 images are used for training and 45 images for testing. all these images are converted to bmp format. the first step in this work is to applying weighted k-means on images of training and testing. the parameter used in weighted k -means is (no of cluster (k) = 4). this value is not standard, anyone can try other values. the output of previously stage will be input to features extraction stage, in this stage 32 extracted textural features using glcm matrices in four directions 0,45, 90, and 135 respectively with distance equal 1(d=1). after features extracted from train images, next step is features extracted for test images that contain 45 images. each image will extracted 32 features by using glcm matrices in four directions 0, 45, 90, and 135 respectively with distance (d=1). in classification stage every image of training and testing is converted to a vector of 32 values (this vector represents the features that have been extracted, which was explained above). as mentioned earlier the classification method used in this work is k-nn. this method relies on computing the distance between each image of the test images with all of the training images, and then sorts the training images with ascending according to the distance. after that a value for the k is choose to make a decision, if the value of the k is equal to 1 then will be choose " class " the first image from train images ranked and put it as a class for image test, and so for the rest of the test images. the k values are not fixed may be (1, 3 , 5, 7, 9,...), the k value used here for making decision is 4.
in this work, a " 0" is used to indicate for images that have class normal and "1" to indicate for images that have class abnormal, finally ,to evaluate the test stage performance, accuracy is defined as :
accuracy = * 100
= 86% in our system
medical images classification by using artificial intelligence techniques

iv. conclusions from our work, the following conclusions are deduced:
? the proposed system is developed for classifying the brain tumor from brain mri images. this system performs that in multiple stages. first stage is image acquisition. the second is image segmentation using weighted k-means algorithm .the texture feature extraction is the third stage that is used the second order texture features extraction. these extracted features are used for classification stage. in classification stage proposed system used k-nearest classifier for classifying brain images as benign and malignant.
? the use of glcm method to extract features from images proved more efficient when used compared to use histogram.
? using k-nearest neighbor algorithm in classification stage gave good results in spite of its simplicity, but there is no scheme to determine appropriate value of k. it works depending on experiment concept for k value selecting. in spite of this, it achieves good accuracy for classification.
? the selected value of k in k-nearest neighbor algorithm affects the system accuracy. in this work, the best results of the classification were obtained when k=4.
? all experiments show that the proposed system gives exceptionally good results as compared to the recently proposed techniques. we achieved accuracy of classification more than then 86%.

v. references 
[1] ahmed k. et al, " a hybrid approach for classification of brain mri using genetic algorithm and support vector machine, leonardo journal of sciences, issue 17, dec. 2010.
[2] ahmed kharrat et al," automated classification of magnetic resonance brain images using wavelet genetic algorithm and support vector machine", proc. 9th ieee int. conf. on cognitive informatics (icci’10), 2010. 
[3] ali ridho et al," a new approach for image segmentation using pillar-kmeans algorithm" , international journal of information and communication engineering, 2010. 
[4] bow s. et al, “pattern recognition and image processing", marcel dekker, new york, usa, 2002.
 [5] chun-ming et al," mri brain image classification by artificial neural network trained via abp ", international journal of research and reviews in soft and intelligent computing (ijrrsic) vol 2, no. 1, 2012. 
[6]gonzalez r. c.,, " digital image processing ", prentice hall, usa, second edition , 2002. 
[7] jayashri j., et al, " feature extraction and texture classification in mri ", int. con. , vol. 2, dec., 2010. 
[8] noor e. a., et al, " comparative study of adaptive network-based fuzzy inference system, k-nearest neighbors and fuzzy c-means for brain abnormalities segmentation", int. j. of computers, issue 4, vol. 5, 2011. 
[9] sahar j., et al, " a robust brain mri classification with glcm features", int. j. of computer applications, vol. 37, no. 12, jan. 2012. 
[10]shafaf i., et al, " mri brain abnormalities segmentation using k-nearest neighbors (k-nn)", int. j. on computer science and engineering, vol. 3, no. 2 , feb. 2011. author’s profile:

  • وصف الــ Tags لهذا الموضوع
  • Brain Tumor, A.I Techniques; MRI; Weighted K-Means, GLCM, K-Nearest