You are on page 1of 5

IJIRST –International Journal for Innovative Research in Science & Technology| Volume 1 | Issue 12 | May 2015

ISSN (online): 2349-6010

Brain Tumour Image Segmentation using


MATLAB
D. Dhilip Kumar S. Vandhana
UG Student UG Student
Department of Electronics and Communication Engineering Department of Electronics and Communication Engineering
Saveetha School Of Engineering Saveetha School Of Engineering

K. Sakthi Priya S. Jeneeth Subashini


UG Student Assistant Professor
Department of Electronics and Communication Engineering Department of Electronics and Communication Engineering
Saveetha School Of Engineering Saveetha School Of Engineering

Abstract
Brain tumour (tumour- British English, tumor-American English) is a group of cell that grows abnormally in the cell, nerves and
other parts of the brain. Methods such as X-Ray, CT-Scan, MRI is available to detect the brain tumour. Many researches have
found that people die due to inaccurate detection of the affected brain tumour part. It is necessary to find the accurate part of the
affected area of the brain tumor. Bio-medical image processing is the most challenging and upcoming field in the present world.
By using MATLAB, the tumour present in the MRI brain image is segmented and the type of tumour is specified using SVM
classifier (Support Vector Machine).
Keywords: Brain Tumour, MRI Image, Threshold Segmentation, SVM Classifier, MATLAB
_______________________________________________________________________________________________________

I. INTRODUCTION
Brain tumour is the collection or growth of abnormal cells in the brain. Brain tumour is classified into two main types namely
cancerous and non cancerous. The cancerous brain tumour is called as Malignant. It is the cancerous type of tumour which
occurs in the brain due to the abnormal growth of cells. It is risk compared to the non cancerous brain tumour. The other type is
the non cancerous brain tumor which is called as Benign. It is the normal brain tumour present in the brain. It is less risk
compared to the malignant tumour since it is the initial stage of tumour. The symptoms of the brain tumour are mostly common
for both malignant and benign. The common symptoms are headache, vomiting, blurred vision, difficulty in walking, etc.

II. DIAGNOSIS OF BRAIN TUMOUR


Diagnosis of brain tumour is usually done medically. There are several methods by which brain tumours can be diagnosed. Some
of them are CT scan of the head, MRI of the head, Angiography, Brain Scan, and Biopsy. CT scan is the computerised
tomography. It is the combination of series of X-ray taken from different angle. MRI is the magnetic resonance imaging which
uses the strong magnetic field and radio waves to produce the detailed image of the head. Angiography is the technique which is
used to see the inner part of the blood vessel, vein and the heart chambers to diagnose the flow of the blood. Brain scan is used to
see the two dimensional and three dimensional images of the brain structures. Biopsy is the method of taking the sample tissue
from the body to examine the type of disease. From the above mentioned diagnosis methods, we use MRI of the brain for the
image segmentation using MATLAB and to specify the type of the tumour.

III. INTRODUCTION TO MATLAB


MATLAB is called as the matrix laboratory. It is widely used in image processing and signal processing. It is the fourth
generation language. Many of the mathematical expression on an array are made or in-build in matlab. The basic of matlab is
matrix. It is represented in terms of rows and columns. It has more advantages compared to other methods such as it can able to
perform cross products, dot products, determinants etc. We use matlab for this project since it is very efficient for image
processing. It is more accurate and easy to implement.

All rights reserved by www.ijirst.org 447


Brain Tumour Image Segmentation using MATLAB
(IJIRST/ Volume 1 / Issue 12 / 075)

IV. METHODOLOGY
To segment tumour regions from MRI image, here an efficient algorithm called threshold segmentation algorithm is used. This
algorithm is mainly used for segmentation process. It is performed by dividing the whole process into three stages such as Pre-
processing stage, Segmentation stage and Output stage. Each stage performs a specific function.

Fig. 1: Block Diagram of the Segmentation Process

Pre-processing stage consists of three steps. The first one is giving MRI input image, second step is to convert it into the gray
scale image and third step is to enhance it using high pass filter. In the segmentation stage we use threshold segmentation
algorithm for segmentation of the tumour from the brain. The third stage is the output stage where the tumour regions are
segmented and shown in output image . In this stage, we also use SVM classifier to identify the type of tumour present in the
brain.

A. Pre-Processing Stage:
In the pre-processing stage we have three steps namely
1) MRI Input Image
2) Gray Scale image
3) High pass filter
1) MRI Input Image:
In this step, MRI of the brain is given as the input. It has the RGB (Red Green Blue) mixing present in it. It is the basic colour
used in computers, television, graphics etc.
2) Gray Scale Image:
It is the second step of the pre-processing stage. Since MRI input image contains some RGB mixing in it, we cannot get a clear
expected output. Hence the input image is converted to gray scale image which is the black and white image. This image ranges
from 0 to 255. The range 0 defines the black colour and the range 255 defines the white colour. As the name indicates image may
also contain the shades of grey.
3) High Pass Filter:
It is the third step of the pre-processing stage. The converted gray scale image consist of some noise in the image .The output
will not be clear with the noise present in the gray scale image. Hence we use High pass filter to remove such noise and also to
sharpen and brighten the image. This will give the clear output.

B. Segmentation Stage:
The second stage in the segmentation process is the segmentation stage where we use threshold segmentation method.
1) Threshold Segmentation:
It is the simplest method in the segmentation process. In this method the pixels are divided according to the intensity value and
are separated. This method is based on the threshold value where the gray scale image is converted to the binary image. In the
threshold segmentation, there are several methods where we use Local methods which adapt the threshold value on each pixel to
the local image characteristics for segmentation.

C. Output Stage:
It is the final stage and the most important stage because segmented image is shown as output image and the type of tumour is
specified. It consists of two steps. They are
 SVM Classifier
 Output Image
1) SVM Classifier:
SVM classifier is Support Vector Machine. It was first proposed by Vapnik. It is very easy method compared to other methods. It
is used to classify the type of the tumour present in the segmented image whether it is malignant ,benign or normal.We have
many methods to perform this image segmentation process like fuzzy k ,fuzzy c means ,neural networks ,etc. But SVM classifier
is the most efficient method to perform this because in this we can compare the input image parameters with the already trained
SVM parameters to specify the type of brain tumour.
2) Output Image:
It is final step in output stage. It gives the final output from given MRI input.The tumour present in the brain is segmented and it
is shown in the white colour segmented image. It also specifies the type of the tumour using SVM classifier.

All rights reserved by www.ijirst.org 448


Brain Tumour Image Segmentation using MATLAB
(IJIRST/ Volume 1 / Issue 12 / 075)

V. RESULT ANALYSIS

A. STEP 1: MRI Input Image:

Fig. 2: MRI Input Image


MRI brain image is given as input image. Since it contains RGB mixing in it, we cannot get a clear output image.

B. Step 2: Gray Scale Image:

Fig. 3: Gray Scale Image


To remove RGB mixing from the input image, we convert it into grayscale image which is black and white image.

C. Step 3: High Pass Filter:

Fig. 4: High Pass Filter


Gray scale converted image consists of noise. To remove the noise and to enhance the image high pass filter is used.

All rights reserved by www.ijirst.org 449


Brain Tumour Image Segmentation using MATLAB
(IJIRST/ Volume 1 / Issue 12 / 075)

D. Step 4: Threshold Segmented Image:

Fig. 5: Threshold Segmented Image


Threshold segmentation method is used to segment the tumour regions from the input image.

E. Step 5: Output Image:

Fig. 6: Output Images


Output image shows only the tumour regions present in the MRI brain image.

F. Step 6: Identifying the Type of Tumour:

Fig. 7: Identifying the Type of Tumour


Using SVM classifier, the type of tumour is specified whether it is malignant, benign or normal.

VI. CONCLUSION
Thus the tumour regions from the MRI brain image are segmented using threshold segmentation method and the type of brain
tumour is specified using SVM classifier.

All rights reserved by www.ijirst.org 450


Brain Tumour Image Segmentation using MATLAB
(IJIRST/ Volume 1 / Issue 12 / 075)

REFERENCES
[1] An Efficient Brain Tumor Detection Algorithm Using Watershed & Thresholding Based Segmentation, Anam Mustaqeem , I.J. Image, Graphics and
Signal Processing, 2012, 10, 34-39 Published Online September 2012 in MECS (http://www.mecs-press.org/) DOI: 10.5815/ijigsp.2012.10.05
[2] Brain Tumor MRI image segmentation and detection in image processing, Rohini Paul Joseph, eISSN: 2319-1163 | pISSN: 2321-7308
[3] Brain tumour extraction from MRI images using MATLAB,Rajesh.C, International Journal of Electronics, Communication & Soft Computing Science and
Engineering,ISSN: 2277-9477, Volume 2, Issue 1
[4] Brain tumour detection and segmentation using histogram thresholding,Manoj K Kowar, International Journal of Engineering and Advanced Technology
(IJEAT) ISSN: 2249 – 8958, Volume-1, Issue-4, April 2012
[5] Detection and quantification of brain tumour from MRI of brain and it’s symmetric analysis,Sudipta Roy, Volume 2 No. 6, June 2012 ISSN 2223-4985
International Journal of Information and Communication Technology Research.
[6] Automatic tumour segmentation using knowledge based technique,Matthew C.Clark, ieee transactions on medical imaging, vol. 17, no. 2, april 1998.
[7] An algorithm for detecting brain tumours in MRI images,Ehab F.Badran, 978-1-4244-7042-6/10/$26.00 ©2010 IEEE.
[8] Data classification using support vector machine,Durgesh K, Journal of Theoretical and Applied Information Technology© 2005 - 2009 JATIT.

All rights reserved by www.ijirst.org 451

You might also like