SlideShare a Scribd company logo
M. Masroor Ahmed & Dzulkifli Bin Mohammad
International Journal of Image Processing, Volume (2) : Issue(1) 27
Segmentation of Brain MR Images for Tumor
Extraction by Combining Kmeans Clustering and
Perona-Malik Anisotropic Diffusion Model
M. Masroor Ahmed masroorahmed@gmail.com
Faculty of Computer Science & Information System
University Teknologi Malaysia
Johor Bahru, 81310, Malaysia
Dzulkifli Bin Mohamad dzulkifli@utm.my
Faculty of Computer Science & Information System
University Teknologi Malaysia
Johor Bahru, 81310, Malaysia
Abstract
Segmentation of images holds an important position in the area of image
processing. It becomes more important while typically dealing with medical
images where pre-surgery and post surgery decisions are required for the
purpose of initiating and speeding up the recovery process [5] Computer aided
detection of abnormal growth of tissues is primarily motivated by the necessity of
achieving maximum possible accuracy. Manual segmentation of these abnormal
tissues cannot be compared with modern day’s high speed computing machines
which enable us to visually observe the volume and location of unwanted tissues.
A well known segmentation problem within MRI is the task of labeling voxels
according to their tissue type which include White Matter (WM), Grey Matter
(GM) , Cerebrospinal Fluid (CSF) and sometimes pathological tissues like tumor
etc. This paper describes an efficient method for automatic brain tumor
segmentation for the extraction of tumor tissues from MR images. It combines
Perona and Malik anisotropic diffusion model for image enhancement and
Kmeans clustering technique for grouping tissues belonging to a specific group.
The proposed method uses T1, T2 and PD weighted gray level intensity images.
The proposed technique produced appreciative results
Keywords: White Matter (WM), Gray Matter (GM), Cerebrospinal Fluid (CSF)
1. INTRODUCTION
The developments in the application of information technology have completely changed the
world. The obvious reason for the introduction of computer systems is: reliability, accuracy,
simplicity and ease of use. Besides, the customization and optimization features of a computer
system stand among the major driving forces in adopting and subsequently strengthening the
computer aided systems. In medical imaging, an image is captured, digitized and processed for
doing segmentation and for extracting important information. Manual segmentation is an alternate
method for segmenting an image. This method is not only tedious and time consuming, but also
M. Masroor Ahmed & Dzulkifli Bin Mohammad
International Journal of Image Processing, Volume (2) : Issue(1) 28
produces inaccurate results. Segmentation by experts is variable [16]. Therefore, there is a strong
need to have some efficient computer based system that accurately defines the boundaries of
brain tissues along with minimizing the chances of user interaction with the system [3].
Additionally, manual segmentation process require at least three hours to complete [1] According
to [2] the traditional methods for measuring tumor volumes are not reliable and are error
sensitive.
2. PREVIOUS WORK
Various segmentation methods have been cited in the literature for improving the segmentation
processes and for introducing maximum possible reliability, for example:
2.1 Segmentation by Thresholding
Thresholding method is frequently used for image segmentation. This is simple and effective
segmentation method for images with different intensities. [6] The technique basically attempts for
finding a threshold value, which enables the classification of pixels into different categories. A
major weakness of this segmentation mode is that: it generates only two classes. Therefore, this
method fails to deal with multichannel images. Beside, it also ignores the spatial characteristics
due to which an image becomes noise sensitive and undergoes intensity in-homogeneity
problem, which are expected to be found in MRI. Both these features create the possibility for
corrupting the histogram of the image. For overcoming these problems various versions of
thresholding technique have been introduced that segments medical images by using the
information based on local intensities and connectivity [7]. Though this is a simple technique, still
there are some factors that can complicate the thresholding operation, for example, non-
stationary and correlated noise, ambient illumination, busyness of gray levels within the object
and its background, inadequate contrast, and object size not commensurate with the scene. [8].
[9] introduced a new image thresholding method based on the divergence function. In this
method, the objective function is constructed using the divergence function between the classes,
the object and the background . The required threshold is found where this divergence function
shows a global minimum.
2.2 Region Growing Method
According to [10] Due to high reliability and accurate measurement of the dimensions and
location of tumor, MRI is frequently used for observing brain pathologies. Previously, region
growing and shape based methods were heavily relied upon for observing the brain pathologies.
[11] Proposed a Bayes-based region growing algorithm that estimates parameters by studying
characteristics in local regions and constructs the Bayes factor as a classifying criterion. The
technique is not fully automatic, i.e. it requires user interaction for the selection of a seed and
secondly the method fails in producing acceptable results in a natural image. It only works in
homogeneous areas. Since this technique is noise sensitive, therefore, the extracted regions
might have holes or even some discontinuities [7] Shape based method provides an alternative
approach for the segmentation of brain tumor. But the degree of freedom for application of this
method is limited too. The algorithm demands an initial contour plan for extracting the region of
interest. Therefore, like region growing approach, this method is also semi automatic. Both of
these methods are error sensitive because, an improper or false description of initial plan and
wrong selection of the seed image will lead to disastrous results. Statistical methods and fuzzy
logic approaches seems to be reliable and are the best candidates for the replacement of the
above mentioned techniques.
2.3 Supervised and Un-Supervised Segmentation Methods.
Supervised and un-supervised methods for image processing are frequently applied [3] [14]. [12]
Presents a technically detailed review of these techniques. [13] Attempted to segment the volume
as a whole using KNN and both hard and fuzzy c-means clustering. Results showed, however,
that there appears to be enough data non-uniformity between slices to prevent satisfactory
M. Masroor Ahmed & Dzulkifli Bin Mohammad
International Journal of Image Processing, Volume (2) : Issue(1) 29
segmentation. Supervised classification enables us to have sufficient known pixels to generate
representative parameters for each class of interest. In an un-supervised classification pre hand
knowledge of classes is not required. It usually employees some clustering algorithm for
classifying an image data. According to [14] KNN, ML and Parzen window classifiers are
supervised classification algorithm. Whereas, un-supervised classification algorithm includes: K-
Means, minimum distance, maximum distance and hierarchical clustering etc.
3 METHODOLOGY
A brain Image consists of four regions i.e. gray matter (GM), white matter (WM), cerebrospinal
fluid (CSF) and background. These regions can be considered as four different classes.
Therefore, an input image needs to be divided into these four classes. In order to avoid the
chances of misclassification, the outer eleptical shaped object should be removed. By removing
this object we will get rid of non brain tissues and will be left with only soft tissues. In this
experiment we have used T1, T2 and PD weighted brain MRIs. These images posses same size
and same pixel intensity values. The pixels from the image under consideration is supposed to be
grouped in any one of the aforementioned class. Finally, by applying certain post processing
operations, the tumerous region can be extracted. Figure 1 shows the methodology of this work.
The process uses Kmeans algorithm for solving clustering problem this algorithm aims at
minimizing an objective function, in this case a squared error function. Mathematically, this
objective function can be represented as:
J = ( ) 2
1 1
k x
j
i j
j i
x c
= =
−∑∑P P
where
( ) 2j
i jx c−P P is a chosen distance measure between a data point xi
(j)
and the cluster
centre cj, is an indicator of the distance of the n data points from their respective cluster centres.
Image is read from database. The image contains the skull tissues. These tissues are non brain
elements. Therefore, they should be removed in the preprocessing step. The presence os these
tissues might lead to misclassification.
Figure 2 shows an image of the brain with skull seen as an outer eliptical ring. In figure 3 this
elitical ring is removed and we are left with only soft tissues. This is done by employing the
following morphological function, i.e. erosion and dilation. Mathematically, these functions can be
expressed as:
AӨ B = { w : Bw ⊆ A}
A⊕ B = x
x B
A
∈
U
M. Masroor Ahmed & Dzulkifli Bin Mohammad
International Journal of Image Processing, Volume (2) : Issue(1) 30
FIGURE 1: Methodology.
FIGURE 2: Image with Outer Ring (Skull) FIGURE 3: Removing Skull Tissues
To test the algorithm, white guassian noise is added to the input image. This image is then
processed for enhancement. Perona and Malik [17] model is used for this purpose. This model
uses partial differential equation for image denoising and enhancement. The model smooths the
image without loosing important details with the help of following mathematical reation [15].
Read Image Database
Image Enhancement
Skull Stripping
Classification
Preprocessing
Extracting WM, GM,
CSF and Tumor
Morphological
Operations
Accumulation of
Tumor Volume
Post processing
M. Masroor Ahmed & Dzulkifli Bin Mohammad
International Journal of Image Processing, Volume (2) : Issue(1) 31
.[ ( , , ) ] ( ( , , ) )It f x y t I div f x y y I=∇ ∇ = ∇
I(x, y, t) is the intensity value of a pixel at sampling position (x, y) and scale t and f(x, y, t) is the
diffusivity acting on the system. The diffusivity function in Peronan and Malik mode is given by the
folwing mathematical relation
2
2 2
1
( , , ) ( )
1 /
f x y t f
k
= ∇ =
+ ∇
P P
P P
FIGURE 4: Noisy Image FIGURE 5: Enhanced Image
4 RESULTS AND CONSLUSION
It has been observed that when Perona and Malik model is combined with Kmeans algorithm, it
produces reliable results. Due to un-supervised nature of the approach, the proposed system is
efficient and is less error sensitve.
a b c d e
f g h i j
FIGURE 6 (a) Original Image (b) Skull Removed (c) Segmented mage (d) Extracting WM (e) WM after Intensity Correction (f)
Extracting GM (g) GM after Intensity Correction (h) Removing Tumor (i) Tumor Volume (j) Erosion
It can be deduced from the results that un-supervised segmentation methods are better than the
supervised segmentation methods. Becuase for using supervised segmentation method a lot of
pre-processing is needed. More importantly, the supervised segmentation method requires
considerable amount of training and testing data which comparitively complicates the process.
Whereas, this study can be applied to the minimal amont of data with reliable results. However, it
may be noted that, the use of K-Means clustering method is fairly simple when compared with
M. Masroor Ahmed & Dzulkifli Bin Mohammad
International Journal of Image Processing, Volume (2) : Issue(1) 32
frequently used fuzzy clustering methods. Efficiency and providing simple output are fundamental
features of K-Means clustering method [18].To check the accuracy of the proposed method,
mean and standard deviations of clean image, noisy image containing white guassian noise and
enhanced image is drawn in Figure 7.
a b c
d e f
Figure 7: (a) Deleting normal tissues from enhanced MRI slice (b)
Segmentation of enhanced MRI slice (c) Extraction of tumor (d) Noisy
image showing only normal tissues (e) Segmentation of noisy image (f)
Deleting normal tissues and retaining tumor cells.
a b
c d
Figure 8: (a) Mean and Standard Deviations of Clean, Noisy and Enhanced Image (b) Mean and Standard
Deviations of Noisy and Enhanced Image (c) Mean and Standard Deviations of clean and Enhanced Image
(d) Mean and Standard Deviations of clean and Noisy Image
Figure 7 shows some results from an image enhanced by Perona-Malik anisotropic
diffusion model and results from an image corrupted with with guassian noise. There is a
significant difference in both the results. Tumor extracted from a noisy image marks
various portions of the MR slice which even contain the normal tissues. The results
obtained from enhanced image and the clean image are almost similar. The accuracy of
M. Masroor Ahmed & Dzulkifli Bin Mohammad
International Journal of Image Processing, Volume (2) : Issue(1) 33
the proposed method can be deduced from Figure 8 in which mean and standard
deviations of MR image in various combinations is shown. Due to very less amount of
noise, mean and standard deviations plotted in Figure 8 (d) shows almost the same range.
5. ACKNOWLWDGEMENTS
We would like to extend our thanks to “ Whole Brain Atlas“ for MR images.
6. REFERENCES
[1] M. Mancas, B. Gosselin, B. Macq, 2005, "Segmentation Using a Region Growing
Thresholding", Proc. of the Electronic Imaging Conference of the International Society for
Optical Imaging (SPIE/EI 2005), San Jose (California, USA).
[2] Dong-yong Dai; Condon, B.; Hadley, D.; Rampling, R.; Teasdale, G.; "Intracranial
deformation caused by brain tumors: assessment of 3-D surface by magnetic resonance
imaging"IEEE Transactions on Medical Imaging Volume 12, Issue 4, Dec. 1993
Page(s):693 – 702
[3] Matthew C. Clark “Segmenting MRI Volumes of the Brain With Knowledge- Based
Clustering” MS Thesis, Department of Computer Science and Engineering, University of
South Florida, 1994
[5] http://noodle.med.yale.edu
[6] http://documents.wolfram.com/
[7] Dzung L. Pham, Chenyang Xu, Jerry L. Prince;"A Survey of Current Methods in Medical
Medical Image Segmentation" Technical Report JHU / ECE 99-01, Department of
Electrical and Computer Engineering. The Johns Hopkins University, Baltimore MD
21218, 1998.
[8] M. Sezgin, B. Sankur " Survey over image thresholding techniques and quantitative
performance evaluation" J. Electron. Imaging 13 (1) (2004) 146-165.
[9] Chowdhury, M.H.; Little, W.D,;"Image thresholding techniques" IEEE Pacific Rim
Conference on Communications, Computers, and Signal Processing, 1995. Proceedings.
17-19 May 1995 Page(s):585 – 589
[10] Zhou, J.; Chan, K.L.; Chong, V.F.H.; Krishnan, S.M “Extraction of Brain Tumor from MR
Images Using One-Class Support Vector Machine” 27th Annual International Conference
of the Engineering in Medicine and Biology Society, 2005. IEEE-EMBS 2005,
Page(s):6411 – 6414
[11] Pan, Zhigeng; Lu, Jianfeng;;"A Bayes-Based Region-Growing Algorithm for Medical
Image Segmentation" Computing in Science & Engineering, Volume 9, Issue 4, July-Aug.
2007 Page(s):32 – 38
[12] J. C. Bezdek, L. O. Hall, L. P. Clarke "Review of MR image segmentation techniques
using pattern recognition. " Medical Physics vol. 20, no. 4, pp. 1033 (1993).
[13] Velthuizen RP, Clarke LP, Phuphanich S, Hall LO, Bensaid AM, Arrington JA, Greenberg
HM and Silbiger ML. "Unsupervised Tumor Volume Measurement Using Magnetic
Resonance Brain Images," Journal of Magnetic Resonance Imaging , Vol. 5, No. 5, pp.
594-605, 1995.
M. Masroor Ahmed & Dzulkifli Bin Mohammad
International Journal of Image Processing, Volume (2) : Issue(1) 34
[14] Guillermo N. Abras and Virginia L. Ballarin,; "A Weighted K-means Algorithm applied to
Brain Tissue Classification", JCS&T Vol. 5 No. 3, October 2005.
[15] Izquierdo, E.; Li-Qun Xu;Image segmentation using data-modulated nonlinear diffusion
Electronics Letters Volume 36, Issue 21, 12 Oct. 2000 Page(s):1767 – 1769
[16] S. Wareld, J. Dengler, J. Zaers, C. Guttmann, W. Gil, J. Ettinger, J. Hiller, and R. Kikinis.
“Automatic identication of grey matter structures from mri to improve the segmentation of
white matter lesions”. J. of Image Guided Surgery, 1(6):326{338, 1995.
[17] Perona, P.; Malik, J.; “Scale-space and edge detection using anisotropic diffusion”
Pattern Analysis and Machine Intelligence, IEEE Transactions on Volume 12, Issue 7,
July 1990 Page(s):629 – 639
[18] Dmitriy Fradkin, Ilya Muchnik (2004)"A Study of K-Means Clustering for Improving
Classification Accuracy of Multi-Class SVM". Technical Report. Rutgers University, New
Brunswick, New Jersey 08854, April, 2004.

More Related Content

PDF
Fully Automatic Method for 3D T1-Weighted Brain Magnetic Resonance Images Seg...
PDF
C1103041623
PDF
A survey early detection of
PDF
Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...
PDF
Performance Analysis of SVM Classifier for Classification of MRI Image
PDF
Survey on Brain MRI Segmentation Techniques
PDF
Fuzzy k c-means clustering algorithm for medical image
PDF
Automatic Diagnosis of Abnormal Tumor Region from Brain Computed Tomography I...
Fully Automatic Method for 3D T1-Weighted Brain Magnetic Resonance Images Seg...
C1103041623
A survey early detection of
Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...
Performance Analysis of SVM Classifier for Classification of MRI Image
Survey on Brain MRI Segmentation Techniques
Fuzzy k c-means clustering algorithm for medical image
Automatic Diagnosis of Abnormal Tumor Region from Brain Computed Tomography I...

What's hot (20)

PDF
MRIIMAGE SEGMENTATION USING LEVEL SET METHOD AND IMPLEMENT AN MEDICAL DIAGNOS...
PDF
Jr3616801683
PDF
IRJET - An Efficient Approach for Multi-Modal Brain Tumor Classification usin...
PDF
An Efficient Brain Tumor Detection Algorithm based on Segmentation for MRI Sy...
PDF
IRJET- An Efficient Brain Tumor Detection System using Automatic Segmenta...
PDF
IRJET- A Novel Segmentation Technique for MRI Brain Tumor Images
PDF
Literature survey for 3 d reconstruction of brain mri
PDF
Literature survey for 3 d reconstruction of brain mri images
PDF
Ai4201231234
PDF
Ea4301770773
PDF
MEDICAL IMAGE TEXTURE SEGMENTATION USINGRANGE FILTER
PDF
IRJET- Image Processing for Brain Tumor Segmentation and Classification
PDF
Medical Image segmentation using Image Mining concepts
PDF
Multimodal Medical Image Fusion Based On SVD
PDF
Literature Survey on Detection of Brain Tumor from MRI Images
PDF
Identifying brain tumour from mri image using modified fcm and support
PDF
Multistage Classification of Alzheimer’s Disease
PDF
HIGH RESOLUTION MRI BRAIN IMAGE SEGMENTATION TECHNIQUE USING HOLDER EXPONENT
PDF
Paper id 25201482
PDF
Automated brain tumor detection and segmentation from mri images using adapti...
MRIIMAGE SEGMENTATION USING LEVEL SET METHOD AND IMPLEMENT AN MEDICAL DIAGNOS...
Jr3616801683
IRJET - An Efficient Approach for Multi-Modal Brain Tumor Classification usin...
An Efficient Brain Tumor Detection Algorithm based on Segmentation for MRI Sy...
IRJET- An Efficient Brain Tumor Detection System using Automatic Segmenta...
IRJET- A Novel Segmentation Technique for MRI Brain Tumor Images
Literature survey for 3 d reconstruction of brain mri
Literature survey for 3 d reconstruction of brain mri images
Ai4201231234
Ea4301770773
MEDICAL IMAGE TEXTURE SEGMENTATION USINGRANGE FILTER
IRJET- Image Processing for Brain Tumor Segmentation and Classification
Medical Image segmentation using Image Mining concepts
Multimodal Medical Image Fusion Based On SVD
Literature Survey on Detection of Brain Tumor from MRI Images
Identifying brain tumour from mri image using modified fcm and support
Multistage Classification of Alzheimer’s Disease
HIGH RESOLUTION MRI BRAIN IMAGE SEGMENTATION TECHNIQUE USING HOLDER EXPONENT
Paper id 25201482
Automated brain tumor detection and segmentation from mri images using adapti...
Ad

Similar to Segmentation of Brain MR Images for Tumor Extraction by Combining Kmeans Clustering and Perona-Malik Anisotropic Diffusion Model (20)

PDF
Brain tumor segmentation using asymmetry based histogram thresholding and k m...
PDF
K011138084
PDF
IRJET- MRI Brain Image Segmentation using Machine Learning Techniques
PDF
49 299-305
DOC
An Investigation into Brain Tumor Segmentation Techniques
PDF
M010128086
PDF
MRI Image Segmentation Using Gradient Based Watershed Transform In Level Set ...
PDF
An Ameliorate Technique for Brain Lumps Detection Using Fuzzy C-Means Clustering
PPTX
Segmentation techniques for extraction and description of tumour region from ...
PDF
IRJET- Brain Tumor Detection using Digital Image Processing
PDF
IRJET-A Review on Brain Tumor Detection using BFCFCM Algorithm
PDF
IRJET- An Effective Brain Tumor Segmentation using K-means Clustering
PDF
L045047880
PDF
15. 21679.pdf
PDF
IRJET- Brain Tumor Detection using Image Processing, ML & NLP
PDF
IRJET - Brain Tumor Detection using Image Processing, ML & NLP
PDF
Brain tumor detection and segmentation using watershed segmentation and morph...
PDF
Brain tumor detection and segmentation using watershed segmentation and morph...
PDF
A Review on Brain Disorder Segmentation in MR Images
PDF
Comparitive study of brain tumor detection using morphological operators
Brain tumor segmentation using asymmetry based histogram thresholding and k m...
K011138084
IRJET- MRI Brain Image Segmentation using Machine Learning Techniques
49 299-305
An Investigation into Brain Tumor Segmentation Techniques
M010128086
MRI Image Segmentation Using Gradient Based Watershed Transform In Level Set ...
An Ameliorate Technique for Brain Lumps Detection Using Fuzzy C-Means Clustering
Segmentation techniques for extraction and description of tumour region from ...
IRJET- Brain Tumor Detection using Digital Image Processing
IRJET-A Review on Brain Tumor Detection using BFCFCM Algorithm
IRJET- An Effective Brain Tumor Segmentation using K-means Clustering
L045047880
15. 21679.pdf
IRJET- Brain Tumor Detection using Image Processing, ML & NLP
IRJET - Brain Tumor Detection using Image Processing, ML & NLP
Brain tumor detection and segmentation using watershed segmentation and morph...
Brain tumor detection and segmentation using watershed segmentation and morph...
A Review on Brain Disorder Segmentation in MR Images
Comparitive study of brain tumor detection using morphological operators
Ad

Recently uploaded (20)

PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Pre independence Education in Inndia.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Classroom Observation Tools for Teachers
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Microbial diseases, their pathogenesis and prophylaxis
human mycosis Human fungal infections are called human mycosis..pptx
Pre independence Education in Inndia.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Classroom Observation Tools for Teachers
VCE English Exam - Section C Student Revision Booklet
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPH.pptx obstetrics and gynecology in nursing
Supply Chain Operations Speaking Notes -ICLT Program
FourierSeries-QuestionsWithAnswers(Part-A).pdf
RMMM.pdf make it easy to upload and study
Insiders guide to clinical Medicine.pdf
Cell Structure & Organelles in detailed.
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student

Segmentation of Brain MR Images for Tumor Extraction by Combining Kmeans Clustering and Perona-Malik Anisotropic Diffusion Model

  • 1. M. Masroor Ahmed & Dzulkifli Bin Mohammad International Journal of Image Processing, Volume (2) : Issue(1) 27 Segmentation of Brain MR Images for Tumor Extraction by Combining Kmeans Clustering and Perona-Malik Anisotropic Diffusion Model M. Masroor Ahmed masroorahmed@gmail.com Faculty of Computer Science & Information System University Teknologi Malaysia Johor Bahru, 81310, Malaysia Dzulkifli Bin Mohamad dzulkifli@utm.my Faculty of Computer Science & Information System University Teknologi Malaysia Johor Bahru, 81310, Malaysia Abstract Segmentation of images holds an important position in the area of image processing. It becomes more important while typically dealing with medical images where pre-surgery and post surgery decisions are required for the purpose of initiating and speeding up the recovery process [5] Computer aided detection of abnormal growth of tissues is primarily motivated by the necessity of achieving maximum possible accuracy. Manual segmentation of these abnormal tissues cannot be compared with modern day’s high speed computing machines which enable us to visually observe the volume and location of unwanted tissues. A well known segmentation problem within MRI is the task of labeling voxels according to their tissue type which include White Matter (WM), Grey Matter (GM) , Cerebrospinal Fluid (CSF) and sometimes pathological tissues like tumor etc. This paper describes an efficient method for automatic brain tumor segmentation for the extraction of tumor tissues from MR images. It combines Perona and Malik anisotropic diffusion model for image enhancement and Kmeans clustering technique for grouping tissues belonging to a specific group. The proposed method uses T1, T2 and PD weighted gray level intensity images. The proposed technique produced appreciative results Keywords: White Matter (WM), Gray Matter (GM), Cerebrospinal Fluid (CSF) 1. INTRODUCTION The developments in the application of information technology have completely changed the world. The obvious reason for the introduction of computer systems is: reliability, accuracy, simplicity and ease of use. Besides, the customization and optimization features of a computer system stand among the major driving forces in adopting and subsequently strengthening the computer aided systems. In medical imaging, an image is captured, digitized and processed for doing segmentation and for extracting important information. Manual segmentation is an alternate method for segmenting an image. This method is not only tedious and time consuming, but also
  • 2. M. Masroor Ahmed & Dzulkifli Bin Mohammad International Journal of Image Processing, Volume (2) : Issue(1) 28 produces inaccurate results. Segmentation by experts is variable [16]. Therefore, there is a strong need to have some efficient computer based system that accurately defines the boundaries of brain tissues along with minimizing the chances of user interaction with the system [3]. Additionally, manual segmentation process require at least three hours to complete [1] According to [2] the traditional methods for measuring tumor volumes are not reliable and are error sensitive. 2. PREVIOUS WORK Various segmentation methods have been cited in the literature for improving the segmentation processes and for introducing maximum possible reliability, for example: 2.1 Segmentation by Thresholding Thresholding method is frequently used for image segmentation. This is simple and effective segmentation method for images with different intensities. [6] The technique basically attempts for finding a threshold value, which enables the classification of pixels into different categories. A major weakness of this segmentation mode is that: it generates only two classes. Therefore, this method fails to deal with multichannel images. Beside, it also ignores the spatial characteristics due to which an image becomes noise sensitive and undergoes intensity in-homogeneity problem, which are expected to be found in MRI. Both these features create the possibility for corrupting the histogram of the image. For overcoming these problems various versions of thresholding technique have been introduced that segments medical images by using the information based on local intensities and connectivity [7]. Though this is a simple technique, still there are some factors that can complicate the thresholding operation, for example, non- stationary and correlated noise, ambient illumination, busyness of gray levels within the object and its background, inadequate contrast, and object size not commensurate with the scene. [8]. [9] introduced a new image thresholding method based on the divergence function. In this method, the objective function is constructed using the divergence function between the classes, the object and the background . The required threshold is found where this divergence function shows a global minimum. 2.2 Region Growing Method According to [10] Due to high reliability and accurate measurement of the dimensions and location of tumor, MRI is frequently used for observing brain pathologies. Previously, region growing and shape based methods were heavily relied upon for observing the brain pathologies. [11] Proposed a Bayes-based region growing algorithm that estimates parameters by studying characteristics in local regions and constructs the Bayes factor as a classifying criterion. The technique is not fully automatic, i.e. it requires user interaction for the selection of a seed and secondly the method fails in producing acceptable results in a natural image. It only works in homogeneous areas. Since this technique is noise sensitive, therefore, the extracted regions might have holes or even some discontinuities [7] Shape based method provides an alternative approach for the segmentation of brain tumor. But the degree of freedom for application of this method is limited too. The algorithm demands an initial contour plan for extracting the region of interest. Therefore, like region growing approach, this method is also semi automatic. Both of these methods are error sensitive because, an improper or false description of initial plan and wrong selection of the seed image will lead to disastrous results. Statistical methods and fuzzy logic approaches seems to be reliable and are the best candidates for the replacement of the above mentioned techniques. 2.3 Supervised and Un-Supervised Segmentation Methods. Supervised and un-supervised methods for image processing are frequently applied [3] [14]. [12] Presents a technically detailed review of these techniques. [13] Attempted to segment the volume as a whole using KNN and both hard and fuzzy c-means clustering. Results showed, however, that there appears to be enough data non-uniformity between slices to prevent satisfactory
  • 3. M. Masroor Ahmed & Dzulkifli Bin Mohammad International Journal of Image Processing, Volume (2) : Issue(1) 29 segmentation. Supervised classification enables us to have sufficient known pixels to generate representative parameters for each class of interest. In an un-supervised classification pre hand knowledge of classes is not required. It usually employees some clustering algorithm for classifying an image data. According to [14] KNN, ML and Parzen window classifiers are supervised classification algorithm. Whereas, un-supervised classification algorithm includes: K- Means, minimum distance, maximum distance and hierarchical clustering etc. 3 METHODOLOGY A brain Image consists of four regions i.e. gray matter (GM), white matter (WM), cerebrospinal fluid (CSF) and background. These regions can be considered as four different classes. Therefore, an input image needs to be divided into these four classes. In order to avoid the chances of misclassification, the outer eleptical shaped object should be removed. By removing this object we will get rid of non brain tissues and will be left with only soft tissues. In this experiment we have used T1, T2 and PD weighted brain MRIs. These images posses same size and same pixel intensity values. The pixels from the image under consideration is supposed to be grouped in any one of the aforementioned class. Finally, by applying certain post processing operations, the tumerous region can be extracted. Figure 1 shows the methodology of this work. The process uses Kmeans algorithm for solving clustering problem this algorithm aims at minimizing an objective function, in this case a squared error function. Mathematically, this objective function can be represented as: J = ( ) 2 1 1 k x j i j j i x c = = −∑∑P P where ( ) 2j i jx c−P P is a chosen distance measure between a data point xi (j) and the cluster centre cj, is an indicator of the distance of the n data points from their respective cluster centres. Image is read from database. The image contains the skull tissues. These tissues are non brain elements. Therefore, they should be removed in the preprocessing step. The presence os these tissues might lead to misclassification. Figure 2 shows an image of the brain with skull seen as an outer eliptical ring. In figure 3 this elitical ring is removed and we are left with only soft tissues. This is done by employing the following morphological function, i.e. erosion and dilation. Mathematically, these functions can be expressed as: AӨ B = { w : Bw ⊆ A} A⊕ B = x x B A ∈ U
  • 4. M. Masroor Ahmed & Dzulkifli Bin Mohammad International Journal of Image Processing, Volume (2) : Issue(1) 30 FIGURE 1: Methodology. FIGURE 2: Image with Outer Ring (Skull) FIGURE 3: Removing Skull Tissues To test the algorithm, white guassian noise is added to the input image. This image is then processed for enhancement. Perona and Malik [17] model is used for this purpose. This model uses partial differential equation for image denoising and enhancement. The model smooths the image without loosing important details with the help of following mathematical reation [15]. Read Image Database Image Enhancement Skull Stripping Classification Preprocessing Extracting WM, GM, CSF and Tumor Morphological Operations Accumulation of Tumor Volume Post processing
  • 5. M. Masroor Ahmed & Dzulkifli Bin Mohammad International Journal of Image Processing, Volume (2) : Issue(1) 31 .[ ( , , ) ] ( ( , , ) )It f x y t I div f x y y I=∇ ∇ = ∇ I(x, y, t) is the intensity value of a pixel at sampling position (x, y) and scale t and f(x, y, t) is the diffusivity acting on the system. The diffusivity function in Peronan and Malik mode is given by the folwing mathematical relation 2 2 2 1 ( , , ) ( ) 1 / f x y t f k = ∇ = + ∇ P P P P FIGURE 4: Noisy Image FIGURE 5: Enhanced Image 4 RESULTS AND CONSLUSION It has been observed that when Perona and Malik model is combined with Kmeans algorithm, it produces reliable results. Due to un-supervised nature of the approach, the proposed system is efficient and is less error sensitve. a b c d e f g h i j FIGURE 6 (a) Original Image (b) Skull Removed (c) Segmented mage (d) Extracting WM (e) WM after Intensity Correction (f) Extracting GM (g) GM after Intensity Correction (h) Removing Tumor (i) Tumor Volume (j) Erosion It can be deduced from the results that un-supervised segmentation methods are better than the supervised segmentation methods. Becuase for using supervised segmentation method a lot of pre-processing is needed. More importantly, the supervised segmentation method requires considerable amount of training and testing data which comparitively complicates the process. Whereas, this study can be applied to the minimal amont of data with reliable results. However, it may be noted that, the use of K-Means clustering method is fairly simple when compared with
  • 6. M. Masroor Ahmed & Dzulkifli Bin Mohammad International Journal of Image Processing, Volume (2) : Issue(1) 32 frequently used fuzzy clustering methods. Efficiency and providing simple output are fundamental features of K-Means clustering method [18].To check the accuracy of the proposed method, mean and standard deviations of clean image, noisy image containing white guassian noise and enhanced image is drawn in Figure 7. a b c d e f Figure 7: (a) Deleting normal tissues from enhanced MRI slice (b) Segmentation of enhanced MRI slice (c) Extraction of tumor (d) Noisy image showing only normal tissues (e) Segmentation of noisy image (f) Deleting normal tissues and retaining tumor cells. a b c d Figure 8: (a) Mean and Standard Deviations of Clean, Noisy and Enhanced Image (b) Mean and Standard Deviations of Noisy and Enhanced Image (c) Mean and Standard Deviations of clean and Enhanced Image (d) Mean and Standard Deviations of clean and Noisy Image Figure 7 shows some results from an image enhanced by Perona-Malik anisotropic diffusion model and results from an image corrupted with with guassian noise. There is a significant difference in both the results. Tumor extracted from a noisy image marks various portions of the MR slice which even contain the normal tissues. The results obtained from enhanced image and the clean image are almost similar. The accuracy of
  • 7. M. Masroor Ahmed & Dzulkifli Bin Mohammad International Journal of Image Processing, Volume (2) : Issue(1) 33 the proposed method can be deduced from Figure 8 in which mean and standard deviations of MR image in various combinations is shown. Due to very less amount of noise, mean and standard deviations plotted in Figure 8 (d) shows almost the same range. 5. ACKNOWLWDGEMENTS We would like to extend our thanks to “ Whole Brain Atlas“ for MR images. 6. REFERENCES [1] M. Mancas, B. Gosselin, B. Macq, 2005, "Segmentation Using a Region Growing Thresholding", Proc. of the Electronic Imaging Conference of the International Society for Optical Imaging (SPIE/EI 2005), San Jose (California, USA). [2] Dong-yong Dai; Condon, B.; Hadley, D.; Rampling, R.; Teasdale, G.; "Intracranial deformation caused by brain tumors: assessment of 3-D surface by magnetic resonance imaging"IEEE Transactions on Medical Imaging Volume 12, Issue 4, Dec. 1993 Page(s):693 – 702 [3] Matthew C. Clark “Segmenting MRI Volumes of the Brain With Knowledge- Based Clustering” MS Thesis, Department of Computer Science and Engineering, University of South Florida, 1994 [5] http://noodle.med.yale.edu [6] http://documents.wolfram.com/ [7] Dzung L. Pham, Chenyang Xu, Jerry L. Prince;"A Survey of Current Methods in Medical Medical Image Segmentation" Technical Report JHU / ECE 99-01, Department of Electrical and Computer Engineering. The Johns Hopkins University, Baltimore MD 21218, 1998. [8] M. Sezgin, B. Sankur " Survey over image thresholding techniques and quantitative performance evaluation" J. Electron. Imaging 13 (1) (2004) 146-165. [9] Chowdhury, M.H.; Little, W.D,;"Image thresholding techniques" IEEE Pacific Rim Conference on Communications, Computers, and Signal Processing, 1995. Proceedings. 17-19 May 1995 Page(s):585 – 589 [10] Zhou, J.; Chan, K.L.; Chong, V.F.H.; Krishnan, S.M “Extraction of Brain Tumor from MR Images Using One-Class Support Vector Machine” 27th Annual International Conference of the Engineering in Medicine and Biology Society, 2005. IEEE-EMBS 2005, Page(s):6411 – 6414 [11] Pan, Zhigeng; Lu, Jianfeng;;"A Bayes-Based Region-Growing Algorithm for Medical Image Segmentation" Computing in Science & Engineering, Volume 9, Issue 4, July-Aug. 2007 Page(s):32 – 38 [12] J. C. Bezdek, L. O. Hall, L. P. Clarke "Review of MR image segmentation techniques using pattern recognition. " Medical Physics vol. 20, no. 4, pp. 1033 (1993). [13] Velthuizen RP, Clarke LP, Phuphanich S, Hall LO, Bensaid AM, Arrington JA, Greenberg HM and Silbiger ML. "Unsupervised Tumor Volume Measurement Using Magnetic Resonance Brain Images," Journal of Magnetic Resonance Imaging , Vol. 5, No. 5, pp. 594-605, 1995.
  • 8. M. Masroor Ahmed & Dzulkifli Bin Mohammad International Journal of Image Processing, Volume (2) : Issue(1) 34 [14] Guillermo N. Abras and Virginia L. Ballarin,; "A Weighted K-means Algorithm applied to Brain Tissue Classification", JCS&T Vol. 5 No. 3, October 2005. [15] Izquierdo, E.; Li-Qun Xu;Image segmentation using data-modulated nonlinear diffusion Electronics Letters Volume 36, Issue 21, 12 Oct. 2000 Page(s):1767 – 1769 [16] S. Wareld, J. Dengler, J. Zaers, C. Guttmann, W. Gil, J. Ettinger, J. Hiller, and R. Kikinis. “Automatic identication of grey matter structures from mri to improve the segmentation of white matter lesions”. J. of Image Guided Surgery, 1(6):326{338, 1995. [17] Perona, P.; Malik, J.; “Scale-space and edge detection using anisotropic diffusion” Pattern Analysis and Machine Intelligence, IEEE Transactions on Volume 12, Issue 7, July 1990 Page(s):629 – 639 [18] Dmitriy Fradkin, Ilya Muchnik (2004)"A Study of K-Means Clustering for Improving Classification Accuracy of Multi-Class SVM". Technical Report. Rutgers University, New Brunswick, New Jersey 08854, April, 2004.