SlideShare a Scribd company logo
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
DOI:10.5121/ijcses.2015.6604 47
DETECTING BRAIN TUMOUR FROM MRI IMAGE
USING MATLAB GUI PROGRAMME
Esmail Hassan1
and Abobakr Aboshgifa2
1
Higher Institute of Medical Professions – Tripoli Libya
2
High technical center for training and production. Tripoli Libya.
ABSTRACT
Engineers have been actively developing tools to detect tumors and to process medical images. Medical
image segmentation is a powerful tool that is often used to detect tumors. Many scientists and researchers
are working to develop and add more features to this tool. This project is about detecting Brain tumors
from MRI images using an interface of GUI in Matlab. Using the GUI, this program can use various
combinations of segmentation, filters, and other image processing algorithms to achieve the best results.
We start with filtering the image using Prewitt horizontal edge-emphasizing filter. The next step for
detecting tumor is "watershed pixels." The most important part of this project is that all the Matlab
programs work with GUI “Matlab guide”. This allows us to use various combinations of filters, and other
image processing techniques to arrive at the best result that can help us detect brain tumors in their early
stages.
KEYWORDS
Matlab program, GUI program, Tumors, Medical image.
1. INTRODUCTION
In these days, the interest in digital biomedical image processing methods takes a most important
position in two principal and important areas[1]. The most important one is an improvement of
pictorial information for human studies and processing of biomedical image data for storage. A
biomedical image sometimes is defined as a two-dimensional function, Ϝ (x,y), where x and y are
the value or gray level of a biomedical image at a specific point. Ϝ are all finite, discrete
quantities. We should know that to say an image is a digital image is when it is composed of a
finite number of elements, each of which has a particular location and value. For example figure
(1) shows the setting date for an MRI image with a gray level according to researchers at the
University at Buffalo School of Medicine and Biomedical Sciences. They have reported the MRI
results of patients who were diagnosed with multiple sclerosis in childhood. They take MRI
images during the year to diagnose and study the progress of brain disease [2].
Biomedical images are as different as the areas of the human body. For example, to study soft
tissue in the human body, we have to use the MRI scan for soft tissue images such as Brain liver
and other soft tissue in the human body. However, those interested in studying hard tissue such as
bone or cartilage should use X-ray for a hard tissue image rather than the MRI. The difference in
the biomedical image is not just in the area but also different in the manner of processing. In
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
48
other words, to process an MRI image it is necessary to use a different method than for
processing an X-ray image.
І − − − −→	І 	 	[І ]	
Figure 1 .showing one example of studying the brain during the year using MRI images.
2. SPECIFIC PROBLEM WITH MRI IMAGE SEGMENTATION
As all the development of biomedical image processing has gained attention from the scientists,
there are some problems with biomedical image processing that have appeared, particularly with
MRI imaging. The one general problem with the biomedical image segmentation (MRI image)
method for image segmentation is that it varies widely depending on the specific application
[2]. For example, the segmentation program that is used with MRI imaging has different
requirements from segmentation of CT scan imaging. Furthermore, each image, even if it is from
the same image application, such as MRI, has its own idiosyncrasies. These can be different from
other MRI images, which when read by the same segmentation program will give a different
result. In fact, there is no segmentation method that yields acceptable results for every medical
image that are more general and can be applied to a variety of data. However, segmentation
methods that are specialized to one imaging application can often achieve better results by taking
into account prior knowledge [3]. The image processing segmentation which applies to Magnetic
resonance images (MRI) are complicated due to the limitation of the imaging equipment.
There is a further problem with segmentation in the MIR image which exists in the homogeneous
aspects of pixels in imaging regions that make getting information about the image’s subject
Original MRI image take during the year
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
49
difficult because the MRI image is all about soft tissue such as brain tissue or liver tissue.
Homogeneous aspects of pixels in the MRI image make the segmentation program unsuccessful
with all the MRI image, so the result for one image might be different from another image. In
this case, we have to change the setting information for the segmentation program [12].
3. SOME IDEAS FOR MRI IMAGE PROCESSING
Detecting brain tumor and automatic brain tissue classification from magnetic resonance images
(MRI) is very important for research and clinical studies of the normal and diseased human brain
[14]. The most important method used to processes an MRI image is segmentation of image
which works by dividing the objects in the image and processing them separately. There are
three important segmentation methods used with MRI imaging:
1. Classification based
2.Region based
3.Contour based
The complexity and reality of anatomical information presented by MRI have made it a powerful
tool for medical diagnosis in recent years. However, usually, the researcher is looking for a better
result so he tries to build and create a more powerful tool that can give a clear idea of an MRI
image and also to aid in the study and diagnosis of disease. One of those powerful tools used
with MRI image processing is image segmentation [15]. Image segmentation can be used in
different ways and can provide different results. For example the way of using region growing
segmentation is different from watershed segmentation; even the result is different. However,
using segmentation programs sometimes is complicated because it takes the time to process the
image and it is difficult to use the same program with all images. The Manual segmentation
program has also some problems with MRI image making the segmentation impossible to
reproduce and/or deteriorating the result of the segmentation. Hence, there is a real need for
automated MRI segmentation tools which save time and provide better and more consistent
results [15].
4. COMBINE MRI IMAGE PROCESSING METHODS IN ONE PLACE
This study is about comparing MRI image processing methods with detecting the brain tumor
from MRI image. Start researching the idea to have the methods in one place showing their
results at the same time [19]. If the GUI program is easy to control, add segmentation and other
MRI image processing methods as function tool to the GUI “guide” as shown in figure (12).
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
50
Figure15. interface for GUI to control MRI image processing
As can be seen in the figure, there are six push buttons. Each button has a function as part of the
program and also there are six axes showing the resulting image starting with loading the original
image of the MRI [18]. With help from GUI, we can have a program that runs fast and provides
a better result with more methods.
5. DETECTING BRAIN TUMOR USING IMAGE SEGMENTATION WITH GUI
“MATLAB GUIDE”.
The first thing to know is what is the GUIDE program “GUI”? It is the Matlab interface File
used to hold and process information, a function for GUI FIG-files created or modified
using MATLAB. The GUI is a modern tool that can be found with 0.7 versions or a later
MATLAB version not automatically compatible with Version 6.5 and earlier versions[19].
GUIDE automatically generates two kinds of Matlab files; one is for Matlab interface figures and
another is for M-file, used to store the command function of the Matlab program [16]. Before, a
Matlab user had to write the Matlab logarithm in an M-file and if there were any changes they
had to go back to the M-file to make the change. But now, using GUI we can use the logarithm
as a function in the GUI file [12]. Writing the function that we need the GUI Matlab file to
do: first, we should organize the most important part. There are many ways to start
GUIDE. You can start GUIDE from the Command line by typing guide or start menu by
selecting MATLAB > GUIDE (GUI Builder). However you start GUIDE, it displays the
GUIDE Quick Start dialog box as shown in figure(13).
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
51
Figure16. Showing GUI blank function file
By using the GUI Layout Editor, you can populate a GUI by clicking and dragging
GUI components—such as axes, panels, buttons, text fields, sliders, and so on—into the layout
area. You can also create menus and context menus for the GUI [19]. From the Layout Editor,
you can change the size of GUI interface. How the GUI program working GUIDE automatically
generates an M-file that controls how the GUI operates. This M-file provides code to initialize
the GUI and contains a framework for the GUI click-backs, the routines that execute when a user
interacts with a GUI component. Using the M-file editor, you can add code to the click-backs to
perform the functions you want [18]. After we site the GUI interface function as in figure (14),
we have to write the click-back function that will be the tumor segmentation program.
Figure17. Showing the GUI interface for MRI segmentation program.
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
52
6. METHODS OF DETECTING BRAIN TUMOR FROM MRI.
Methods that we use to detect brain tumor from MRI images (figure 15) are watershed
segmentation and contour of the image [17]. Before we start the segmentation we have to filter
the MRI image noise. We use in this step the digital filter from Matlab (“Sobel edge masks”)
which will show the gradient is high at the borders of the MRI objects and low (mostly) inside the
image as shown in figure(16).
Figure 18. Original MRI images for brain tumor
Figure 19. Showing MRI image after using of “Sobel” edge mask
Next step is using the contour program to see the contour of the objects in the MRI image
As can be seen in figure (20)
Original image of MRI Brain tumore
Image courtesy of Corel
Gradient magnitude (gradmag)
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
53
Figure 20. Contour of the MRI image
After we have filtered the noise of the MRI image the next step is finding the gradient magnitude
in this step we will find the different in the pixels of the image as shown in figure (21)
Figure 21. Gradient magnitude of MRI image
Compute the Watershed Transform of the Segmentation Function as clear segmentation for the
MRI image. We use the watershed method starting with the transform of gradient Magnitude as
can be seen in figure(22) Now we have to make the different pixels as in different region in the
MRI image in this way we can detect the region of the tumor as it can be seen in figure (23).
contour of the MRI image
100 200 300 400
50
100
150
200
250
300
350
400
450
500
550
Watershed transform of gradient magnitude (Lrgb)
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
54
Figure 22. MRI image region’s using watershed segmentation
7. THE RESULTS BEFORE USING GUI PROGRAM
Figure 23. Original Mri Images for Brain Tumor
Markers and object boundaries superimposed on original image (I4)
Gradient magnitude (gradmag)
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
55
Figure 24. MRI image using Soble Makes
Figure 25. Watershed transform of gradient magnitude (Lrgb)
Figure 26. Opening for faltering
Original MRI Image for Brain
Image courtesy of Corel
Watershed transform of gradient magnitude (Lrgb)
Opening (Io)
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
56
Figure 27. Opening by reconstruction (lobr)
Figure 28. Using Matlab function of (loc)
Figure 29. using Matlab function of (lobrcbr)
Opening-by-reconstruction (Iobr)
Opening-closing (Ioc)
Opening-closing by reconstruction (Iobrcbr)
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
57
Figure 30. Using reconstruction (fgm)
Figure 31. using of superimposed on original MRI image
Figure 32. using thresholded
Regional maxima of opening-closing by reconstruction (fgm)
Regional maxima superimposed on original image (I2)
Thresholded opening-closing by reconstruction (bw)
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
58
Figure 33. Boundaries of MRI regions
8. THE FINAL RESULT USING THE GUI PROGRAM
Figure 34. Result after using of GUI with watershed segmentation and contour of MRI image
Markers and object boundaries superimposed on original image (I4)
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
59
9. TO GIVE CLEAR IDEA ABOUT PROGRAM WE USE DIFFERENT MRI
IMAGES
Figure 35. the result after using GUI with another MRI image with a clear Brain tumor
10. CONCLUSION
We see that using the GUI based program, we obtain far superior results than the traditional
techniques for tumor detection. Using the GUI based programs allows us to change the
parameters without rewriting the program and allows fast and efficient detection of tumors. The
results are clearly more accurate and faster.
REFERENCES
[1] Xia, Y., Bettinger, K., Shen, L.,Reiss, A.: Automatic segmentation of the caudate nucleus from
human brain MR images. IEEE Transactions on Medical Imaging 26(4) (2007) 509–517
[2] C.Chu and K. Takaya, “3-Dimensional rendering of MR images,” WESCANEX 93.
Communications, Computers and Power in the Modern Environment Conference Proceedings,
IEEE, pp. 165–170, 2003
[3] Clarke, L., Velthuizen, R., Camacho, M., Heine, J., Vaydianathan, M., Hall, L., Thatcher, R., Silbiger,
M.: MRI segmentation: Methods and applications. Magnetic Resonance Imaging 13 (2002)
[4] Cline, H., Lorensen, W., Kikinis, R. and Jolesz, F. (2001) Three- Dimensional Segmentation of MR
Images of the Head Using Probability and Connectivity. J. Comp. Assis. Tomogr., 14, 1037–1045
International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015
60
[5] J.Liang, McInerney, D. Terzopolos Interactive Medical Image Segmentation with United Snakes
Medical Image Computing and Computer-Assisted Intervention - MICCAI’99, 116, 1999.
[6] Pham, D.L., Xu, C., Prince, J.L.: Current methods in medical image segmentation. Annual Review of
Biomedical Engineering 2 (2000) 315{337.
[7] Dugas-Phocion, G., Ballester, M.A.G., Malandain, G., Lebrun, C., Ayache, N.: Improved em-based
tissue segmentation and partial volume e®ect quantification In multi-sequence brain MRI. In:
MICCAI. (2004)
[8] Kapur, T., Grimson, W.E., Wells, W.M., Kikinis, R.: Segmentation of brain tissue from magnetic
resonance images. Med Image Anal. 1 (1996)
[9] S.Haulon, C. Lions, E. McFadden, M. Koussa, V. Gavotte, P. Halna, and J. Beregi, “Prospective
evaluation of magnetic resonance imaging after endovascular treatment of infrarenal aortic
aneurysms,” European Journal of Vascular and Endovascular Surgery 22(1), pp. 62–69, 2001.
[10] Prastawa, M., Gilmore, J., Lin, W., Gerig, G.: Automatic segmentation of Neonatal brain MRI. In:
MICCAI. (2004)
[11] B.van Ginneken, M. de Bruijne, M. Loog, and M. Viergever, “Interactive shape models,” in Medical
Imaging: Image Processing, Proc of SPIE 5032, pp. 1206–1216, SPIE Press, 2003.
[12] Leemput, K.V., Maes, F., Vandermeulen, D., Suetens, P.: Automated model- Based tissue
classi¯ cation of MR images of the brain. IEEE trans. on medical imaging 18 (1999) 897
[13] Zhang, Y., Brady, M., Smith, S.: Segmentation of brain MR images through a hidden Markov random
field model and the expectation-maximization algorithm.IEEE trans. on medical imaging 20 (2001)
45
[14] Digital Image Processing, by Rafael C. Gonzalez, Richard Eugene Woods.
[15] Digital Image Processing, by Kenneth R. Castleman
[16] Digital Image Processing Using Matlab, by Rafael C.Gonzalez, Richard E. Woods, Steven L. Eddins
[17] Fundamentals of Digital Image Processing, by Anil K. Jain
[18] Digital Image Processing, by Bernd Jähne
[19] Digital Image Processing Algorithms and Applications, by Ioannis Pitas
[20] Graphics and GUIs with MATLAB: 2e. Patrick Marchand. CRC Press, Inc., 1999 (ISBN 0-8493-
9487-2).

More Related Content

PDF
Brain tumor detection and localization in magnetic resonance imaging
PDF
Brain tumor classification using artificial neural network on mri images
PPTX
Application of-image-segmentation-in-brain-tumor-detection
DOCX
Report (1)
PDF
Brain Tumor Segmentation and Extraction of MR Images Based on Improved Waters...
PDF
Brain tumor mri image segmentation and detection
PDF
Identifying brain tumour from mri image using modified fcm and support
PDF
Mri brain tumour detection by histogram and segmentation
Brain tumor detection and localization in magnetic resonance imaging
Brain tumor classification using artificial neural network on mri images
Application of-image-segmentation-in-brain-tumor-detection
Report (1)
Brain Tumor Segmentation and Extraction of MR Images Based on Improved Waters...
Brain tumor mri image segmentation and detection
Identifying brain tumour from mri image using modified fcm and support
Mri brain tumour detection by histogram and segmentation

What's hot (20)

PPTX
Brain tumor detection using convolutional neural network
PDF
Image Segmentation and Identification of Brain Tumor using FFT Techniques of ...
PDF
An overview of automatic brain tumor detection frommagnetic resonance images
PDF
A Survey on Segmentation Techniques Used For Brain Tumor Detection
PPT
brain tumor detection by thresholding approach
PDF
Brain Tumor Detection Using Artificial Neural Network Fuzzy Inference System ...
PPT
Brain tumor detection by scanning MRI images (using filtering techniques)
PDF
Brain tumor detection and segmentation using watershed segmentation and morph...
PDF
Brain tumor detection and segmentation using watershed segmentation and morph...
PDF
IRJET- Brain Tumor Detection using Image Processing and MATLAB Application
PDF
Brain tumour segmentation based on local independent projection based classif...
PDF
BRAIN TUMOR CLASSIFICATION IN 3D-MRI USING FEATURES FROM RADIOMICS AND 3D-CNN...
PDF
An Efficient Brain Tumor Detection Algorithm based on Segmentation for MRI Sy...
PPTX
Neural Network Based Brain Tumor Detection using MR Images
PDF
Brain Tumor Detection and Classification using Adaptive Boosting
PDF
Brain Tumor Segmentation in MRI Images
PDF
IRJET - Classification of Cancer Images using Deep Learning
PDF
A New Algorithm for Fully Automatic Brain Tumor Segmentation with 3-D Convolu...
PPTX
Brain Tumor Detection Using Image Processing
PDF
Brain Tumor Detection using CNN
Brain tumor detection using convolutional neural network
Image Segmentation and Identification of Brain Tumor using FFT Techniques of ...
An overview of automatic brain tumor detection frommagnetic resonance images
A Survey on Segmentation Techniques Used For Brain Tumor Detection
brain tumor detection by thresholding approach
Brain Tumor Detection Using Artificial Neural Network Fuzzy Inference System ...
Brain tumor detection by scanning MRI images (using filtering techniques)
Brain tumor detection and segmentation using watershed segmentation and morph...
Brain tumor detection and segmentation using watershed segmentation and morph...
IRJET- Brain Tumor Detection using Image Processing and MATLAB Application
Brain tumour segmentation based on local independent projection based classif...
BRAIN TUMOR CLASSIFICATION IN 3D-MRI USING FEATURES FROM RADIOMICS AND 3D-CNN...
An Efficient Brain Tumor Detection Algorithm based on Segmentation for MRI Sy...
Neural Network Based Brain Tumor Detection using MR Images
Brain Tumor Detection and Classification using Adaptive Boosting
Brain Tumor Segmentation in MRI Images
IRJET - Classification of Cancer Images using Deep Learning
A New Algorithm for Fully Automatic Brain Tumor Segmentation with 3-D Convolu...
Brain Tumor Detection Using Image Processing
Brain Tumor Detection using CNN
Ad

Viewers also liked (19)

PDF
Security challenges in mobile ad hoc
PDF
Sign language converter
PDF
A SURVEY OF VIRTUAL PROTOTYPING TECHNIQUES FOR SYSTEM DEVELOPMENT AND VALIDATION
PDF
S ECURITY I SSUES A ND C HALLENGES I N M OBILE C OMPUTING A ND M - C ...
PDF
A new study on biclustering tools,
PDF
Detection system design of subsea tree controller
PDF
SIMULATION AND COMPARISON ANALYSIS OF DUE DATE ASSIGNMENT METHODS USING SCHED...
PDF
A R ISK - A WARE B USINESS P ROCESS M ANAGEMENT R EFERENCE M ODEL AND IT...
PDF
EVALUATION OF MIMO SYSTEM CAPACITY OVER RAYLEIGH FADING CHANNEL
PDF
PARTIAL MATCHING FACE RECOGNITION METHOD FOR REHABILITATION NURSING ROBOTS BEDS
PDF
Firewall and vpn investigation on cloud computing performance
PDF
AUTOMATED DETECTION OF HARD EXUDATES IN FUNDUS IMAGES USING IMPROVED OTSU THR...
PDF
Dynamic K-Means Algorithm for Optimized Routing in Mobile Ad Hoc Networks
PDF
Process and product quality assurance
PDF
Research and Development of DSP-Based Face Recognition System for Robotic Reh...
PDF
F ACIAL E XPRESSION R ECOGNITION B ASED ON E DGE D ETECTION
PDF
A SURVEY ON VARIOUS APPROACHES TO FINGERPRINT MATCHING FOR PERSONAL VERIFICAT...
PDF
A SURVEY ON MULTIMEDIA FILE CARVING
PDF
STATE OF THE ART SURVEY ON DSPL SECURITY CHALLENGES
Security challenges in mobile ad hoc
Sign language converter
A SURVEY OF VIRTUAL PROTOTYPING TECHNIQUES FOR SYSTEM DEVELOPMENT AND VALIDATION
S ECURITY I SSUES A ND C HALLENGES I N M OBILE C OMPUTING A ND M - C ...
A new study on biclustering tools,
Detection system design of subsea tree controller
SIMULATION AND COMPARISON ANALYSIS OF DUE DATE ASSIGNMENT METHODS USING SCHED...
A R ISK - A WARE B USINESS P ROCESS M ANAGEMENT R EFERENCE M ODEL AND IT...
EVALUATION OF MIMO SYSTEM CAPACITY OVER RAYLEIGH FADING CHANNEL
PARTIAL MATCHING FACE RECOGNITION METHOD FOR REHABILITATION NURSING ROBOTS BEDS
Firewall and vpn investigation on cloud computing performance
AUTOMATED DETECTION OF HARD EXUDATES IN FUNDUS IMAGES USING IMPROVED OTSU THR...
Dynamic K-Means Algorithm for Optimized Routing in Mobile Ad Hoc Networks
Process and product quality assurance
Research and Development of DSP-Based Face Recognition System for Robotic Reh...
F ACIAL E XPRESSION R ECOGNITION B ASED ON E DGE D ETECTION
A SURVEY ON VARIOUS APPROACHES TO FINGERPRINT MATCHING FOR PERSONAL VERIFICAT...
A SURVEY ON MULTIMEDIA FILE CARVING
STATE OF THE ART SURVEY ON DSPL SECURITY CHALLENGES
Ad

Similar to DETECTING BRAIN TUMOUR FROM MRI IMAGE USING MATLAB GUI PROGRAMME (20)

PDF
INVESTIGATION THE EFFECT OF USING GRAY LEVEL AND RGB CHANNELS ON BRAIN TUMOR ...
PDF
Analysis Of Medical Image Processing And Its Application In Healthcare
PDF
Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...
PDF
IRJET - Machine Learning Applications on Cancer Prognosis and Prediction
PDF
A HYBRID APPROACH BASED SEGMENTATION TECHNIQUE FOR BRAIN TUMOR IN MRI IMAGES
PDF
A HYBRID APPROACH BASED SEGMENTATION TECHNIQUE FOR BRAIN TUMOR IN MRI IMAGES
PDF
MRI Image Segmentation by Using DWT for Detection of Brain Tumor
PDF
M010128086
PDF
Literature Survey on Detection of Brain Tumor from MRI Images
PDF
A survey on content based medical image retrieval for
PDF
Automatic Brain Tumour Detection Using Symmetry Information
PDF
L045047880
PDF
FUZZY SEGMENTATION OF MRI CEREBRAL TISSUE USING LEVEL SET ALGORITHM
PDF
A Tailored Anti-Forensic Approach for Bitmap Compression in Medical Images
DOCX
Image Segmentation Based Survey on the Lung Cancer MRI Images
PDF
Computer Aided System for Detection and Classification of Breast Cancer
PDF
3D Segmentation of Brain Tumor Imaging
PDF
IMAGE SEGMENTATION USING FCM ALGORITM | J4RV3I12021
PPTX
A noval methodology for tumor detection in mri images
INVESTIGATION THE EFFECT OF USING GRAY LEVEL AND RGB CHANNELS ON BRAIN TUMOR ...
Analysis Of Medical Image Processing And Its Application In Healthcare
Segmentation of Tumor Region in MRI Images of Brain using Mathematical Morpho...
IRJET - Machine Learning Applications on Cancer Prognosis and Prediction
A HYBRID APPROACH BASED SEGMENTATION TECHNIQUE FOR BRAIN TUMOR IN MRI IMAGES
A HYBRID APPROACH BASED SEGMENTATION TECHNIQUE FOR BRAIN TUMOR IN MRI IMAGES
MRI Image Segmentation by Using DWT for Detection of Brain Tumor
M010128086
Literature Survey on Detection of Brain Tumor from MRI Images
A survey on content based medical image retrieval for
Automatic Brain Tumour Detection Using Symmetry Information
L045047880
FUZZY SEGMENTATION OF MRI CEREBRAL TISSUE USING LEVEL SET ALGORITHM
A Tailored Anti-Forensic Approach for Bitmap Compression in Medical Images
Image Segmentation Based Survey on the Lung Cancer MRI Images
Computer Aided System for Detection and Classification of Breast Cancer
3D Segmentation of Brain Tumor Imaging
IMAGE SEGMENTATION USING FCM ALGORITM | J4RV3I12021
A noval methodology for tumor detection in mri images

Recently uploaded (20)

PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Construction Project Organization Group 2.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Sustainable Sites - Green Building Construction
PDF
Digital Logic Computer Design lecture notes
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Welding lecture in detail for understanding
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Lecture Notes Electrical Wiring System Components
bas. eng. economics group 4 presentation 1.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
CYBER-CRIMES AND SECURITY A guide to understanding
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Construction Project Organization Group 2.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Sustainable Sites - Green Building Construction
Digital Logic Computer Design lecture notes
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
UNIT-1 - COAL BASED THERMAL POWER PLANTS
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Welding lecture in detail for understanding

DETECTING BRAIN TUMOUR FROM MRI IMAGE USING MATLAB GUI PROGRAMME

  • 1. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 DOI:10.5121/ijcses.2015.6604 47 DETECTING BRAIN TUMOUR FROM MRI IMAGE USING MATLAB GUI PROGRAMME Esmail Hassan1 and Abobakr Aboshgifa2 1 Higher Institute of Medical Professions – Tripoli Libya 2 High technical center for training and production. Tripoli Libya. ABSTRACT Engineers have been actively developing tools to detect tumors and to process medical images. Medical image segmentation is a powerful tool that is often used to detect tumors. Many scientists and researchers are working to develop and add more features to this tool. This project is about detecting Brain tumors from MRI images using an interface of GUI in Matlab. Using the GUI, this program can use various combinations of segmentation, filters, and other image processing algorithms to achieve the best results. We start with filtering the image using Prewitt horizontal edge-emphasizing filter. The next step for detecting tumor is "watershed pixels." The most important part of this project is that all the Matlab programs work with GUI “Matlab guide”. This allows us to use various combinations of filters, and other image processing techniques to arrive at the best result that can help us detect brain tumors in their early stages. KEYWORDS Matlab program, GUI program, Tumors, Medical image. 1. INTRODUCTION In these days, the interest in digital biomedical image processing methods takes a most important position in two principal and important areas[1]. The most important one is an improvement of pictorial information for human studies and processing of biomedical image data for storage. A biomedical image sometimes is defined as a two-dimensional function, Ϝ (x,y), where x and y are the value or gray level of a biomedical image at a specific point. Ϝ are all finite, discrete quantities. We should know that to say an image is a digital image is when it is composed of a finite number of elements, each of which has a particular location and value. For example figure (1) shows the setting date for an MRI image with a gray level according to researchers at the University at Buffalo School of Medicine and Biomedical Sciences. They have reported the MRI results of patients who were diagnosed with multiple sclerosis in childhood. They take MRI images during the year to diagnose and study the progress of brain disease [2]. Biomedical images are as different as the areas of the human body. For example, to study soft tissue in the human body, we have to use the MRI scan for soft tissue images such as Brain liver and other soft tissue in the human body. However, those interested in studying hard tissue such as bone or cartilage should use X-ray for a hard tissue image rather than the MRI. The difference in the biomedical image is not just in the area but also different in the manner of processing. In
  • 2. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 48 other words, to process an MRI image it is necessary to use a different method than for processing an X-ray image. І − − − −→ І [І ] Figure 1 .showing one example of studying the brain during the year using MRI images. 2. SPECIFIC PROBLEM WITH MRI IMAGE SEGMENTATION As all the development of biomedical image processing has gained attention from the scientists, there are some problems with biomedical image processing that have appeared, particularly with MRI imaging. The one general problem with the biomedical image segmentation (MRI image) method for image segmentation is that it varies widely depending on the specific application [2]. For example, the segmentation program that is used with MRI imaging has different requirements from segmentation of CT scan imaging. Furthermore, each image, even if it is from the same image application, such as MRI, has its own idiosyncrasies. These can be different from other MRI images, which when read by the same segmentation program will give a different result. In fact, there is no segmentation method that yields acceptable results for every medical image that are more general and can be applied to a variety of data. However, segmentation methods that are specialized to one imaging application can often achieve better results by taking into account prior knowledge [3]. The image processing segmentation which applies to Magnetic resonance images (MRI) are complicated due to the limitation of the imaging equipment. There is a further problem with segmentation in the MIR image which exists in the homogeneous aspects of pixels in imaging regions that make getting information about the image’s subject Original MRI image take during the year
  • 3. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 49 difficult because the MRI image is all about soft tissue such as brain tissue or liver tissue. Homogeneous aspects of pixels in the MRI image make the segmentation program unsuccessful with all the MRI image, so the result for one image might be different from another image. In this case, we have to change the setting information for the segmentation program [12]. 3. SOME IDEAS FOR MRI IMAGE PROCESSING Detecting brain tumor and automatic brain tissue classification from magnetic resonance images (MRI) is very important for research and clinical studies of the normal and diseased human brain [14]. The most important method used to processes an MRI image is segmentation of image which works by dividing the objects in the image and processing them separately. There are three important segmentation methods used with MRI imaging: 1. Classification based 2.Region based 3.Contour based The complexity and reality of anatomical information presented by MRI have made it a powerful tool for medical diagnosis in recent years. However, usually, the researcher is looking for a better result so he tries to build and create a more powerful tool that can give a clear idea of an MRI image and also to aid in the study and diagnosis of disease. One of those powerful tools used with MRI image processing is image segmentation [15]. Image segmentation can be used in different ways and can provide different results. For example the way of using region growing segmentation is different from watershed segmentation; even the result is different. However, using segmentation programs sometimes is complicated because it takes the time to process the image and it is difficult to use the same program with all images. The Manual segmentation program has also some problems with MRI image making the segmentation impossible to reproduce and/or deteriorating the result of the segmentation. Hence, there is a real need for automated MRI segmentation tools which save time and provide better and more consistent results [15]. 4. COMBINE MRI IMAGE PROCESSING METHODS IN ONE PLACE This study is about comparing MRI image processing methods with detecting the brain tumor from MRI image. Start researching the idea to have the methods in one place showing their results at the same time [19]. If the GUI program is easy to control, add segmentation and other MRI image processing methods as function tool to the GUI “guide” as shown in figure (12).
  • 4. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 50 Figure15. interface for GUI to control MRI image processing As can be seen in the figure, there are six push buttons. Each button has a function as part of the program and also there are six axes showing the resulting image starting with loading the original image of the MRI [18]. With help from GUI, we can have a program that runs fast and provides a better result with more methods. 5. DETECTING BRAIN TUMOR USING IMAGE SEGMENTATION WITH GUI “MATLAB GUIDE”. The first thing to know is what is the GUIDE program “GUI”? It is the Matlab interface File used to hold and process information, a function for GUI FIG-files created or modified using MATLAB. The GUI is a modern tool that can be found with 0.7 versions or a later MATLAB version not automatically compatible with Version 6.5 and earlier versions[19]. GUIDE automatically generates two kinds of Matlab files; one is for Matlab interface figures and another is for M-file, used to store the command function of the Matlab program [16]. Before, a Matlab user had to write the Matlab logarithm in an M-file and if there were any changes they had to go back to the M-file to make the change. But now, using GUI we can use the logarithm as a function in the GUI file [12]. Writing the function that we need the GUI Matlab file to do: first, we should organize the most important part. There are many ways to start GUIDE. You can start GUIDE from the Command line by typing guide or start menu by selecting MATLAB > GUIDE (GUI Builder). However you start GUIDE, it displays the GUIDE Quick Start dialog box as shown in figure(13).
  • 5. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 51 Figure16. Showing GUI blank function file By using the GUI Layout Editor, you can populate a GUI by clicking and dragging GUI components—such as axes, panels, buttons, text fields, sliders, and so on—into the layout area. You can also create menus and context menus for the GUI [19]. From the Layout Editor, you can change the size of GUI interface. How the GUI program working GUIDE automatically generates an M-file that controls how the GUI operates. This M-file provides code to initialize the GUI and contains a framework for the GUI click-backs, the routines that execute when a user interacts with a GUI component. Using the M-file editor, you can add code to the click-backs to perform the functions you want [18]. After we site the GUI interface function as in figure (14), we have to write the click-back function that will be the tumor segmentation program. Figure17. Showing the GUI interface for MRI segmentation program.
  • 6. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 52 6. METHODS OF DETECTING BRAIN TUMOR FROM MRI. Methods that we use to detect brain tumor from MRI images (figure 15) are watershed segmentation and contour of the image [17]. Before we start the segmentation we have to filter the MRI image noise. We use in this step the digital filter from Matlab (“Sobel edge masks”) which will show the gradient is high at the borders of the MRI objects and low (mostly) inside the image as shown in figure(16). Figure 18. Original MRI images for brain tumor Figure 19. Showing MRI image after using of “Sobel” edge mask Next step is using the contour program to see the contour of the objects in the MRI image As can be seen in figure (20) Original image of MRI Brain tumore Image courtesy of Corel Gradient magnitude (gradmag)
  • 7. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 53 Figure 20. Contour of the MRI image After we have filtered the noise of the MRI image the next step is finding the gradient magnitude in this step we will find the different in the pixels of the image as shown in figure (21) Figure 21. Gradient magnitude of MRI image Compute the Watershed Transform of the Segmentation Function as clear segmentation for the MRI image. We use the watershed method starting with the transform of gradient Magnitude as can be seen in figure(22) Now we have to make the different pixels as in different region in the MRI image in this way we can detect the region of the tumor as it can be seen in figure (23). contour of the MRI image 100 200 300 400 50 100 150 200 250 300 350 400 450 500 550 Watershed transform of gradient magnitude (Lrgb)
  • 8. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 54 Figure 22. MRI image region’s using watershed segmentation 7. THE RESULTS BEFORE USING GUI PROGRAM Figure 23. Original Mri Images for Brain Tumor Markers and object boundaries superimposed on original image (I4) Gradient magnitude (gradmag)
  • 9. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 55 Figure 24. MRI image using Soble Makes Figure 25. Watershed transform of gradient magnitude (Lrgb) Figure 26. Opening for faltering Original MRI Image for Brain Image courtesy of Corel Watershed transform of gradient magnitude (Lrgb) Opening (Io)
  • 10. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 56 Figure 27. Opening by reconstruction (lobr) Figure 28. Using Matlab function of (loc) Figure 29. using Matlab function of (lobrcbr) Opening-by-reconstruction (Iobr) Opening-closing (Ioc) Opening-closing by reconstruction (Iobrcbr)
  • 11. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 57 Figure 30. Using reconstruction (fgm) Figure 31. using of superimposed on original MRI image Figure 32. using thresholded Regional maxima of opening-closing by reconstruction (fgm) Regional maxima superimposed on original image (I2) Thresholded opening-closing by reconstruction (bw)
  • 12. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 58 Figure 33. Boundaries of MRI regions 8. THE FINAL RESULT USING THE GUI PROGRAM Figure 34. Result after using of GUI with watershed segmentation and contour of MRI image Markers and object boundaries superimposed on original image (I4)
  • 13. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 59 9. TO GIVE CLEAR IDEA ABOUT PROGRAM WE USE DIFFERENT MRI IMAGES Figure 35. the result after using GUI with another MRI image with a clear Brain tumor 10. CONCLUSION We see that using the GUI based program, we obtain far superior results than the traditional techniques for tumor detection. Using the GUI based programs allows us to change the parameters without rewriting the program and allows fast and efficient detection of tumors. The results are clearly more accurate and faster. REFERENCES [1] Xia, Y., Bettinger, K., Shen, L.,Reiss, A.: Automatic segmentation of the caudate nucleus from human brain MR images. IEEE Transactions on Medical Imaging 26(4) (2007) 509–517 [2] C.Chu and K. Takaya, “3-Dimensional rendering of MR images,” WESCANEX 93. Communications, Computers and Power in the Modern Environment Conference Proceedings, IEEE, pp. 165–170, 2003 [3] Clarke, L., Velthuizen, R., Camacho, M., Heine, J., Vaydianathan, M., Hall, L., Thatcher, R., Silbiger, M.: MRI segmentation: Methods and applications. Magnetic Resonance Imaging 13 (2002) [4] Cline, H., Lorensen, W., Kikinis, R. and Jolesz, F. (2001) Three- Dimensional Segmentation of MR Images of the Head Using Probability and Connectivity. J. Comp. Assis. Tomogr., 14, 1037–1045
  • 14. International Journal of Computer Science & Engineering Survey (IJCSES) Vol.6, No.6, December 2015 60 [5] J.Liang, McInerney, D. Terzopolos Interactive Medical Image Segmentation with United Snakes Medical Image Computing and Computer-Assisted Intervention - MICCAI’99, 116, 1999. [6] Pham, D.L., Xu, C., Prince, J.L.: Current methods in medical image segmentation. Annual Review of Biomedical Engineering 2 (2000) 315{337. [7] Dugas-Phocion, G., Ballester, M.A.G., Malandain, G., Lebrun, C., Ayache, N.: Improved em-based tissue segmentation and partial volume e®ect quantification In multi-sequence brain MRI. In: MICCAI. (2004) [8] Kapur, T., Grimson, W.E., Wells, W.M., Kikinis, R.: Segmentation of brain tissue from magnetic resonance images. Med Image Anal. 1 (1996) [9] S.Haulon, C. Lions, E. McFadden, M. Koussa, V. Gavotte, P. Halna, and J. Beregi, “Prospective evaluation of magnetic resonance imaging after endovascular treatment of infrarenal aortic aneurysms,” European Journal of Vascular and Endovascular Surgery 22(1), pp. 62–69, 2001. [10] Prastawa, M., Gilmore, J., Lin, W., Gerig, G.: Automatic segmentation of Neonatal brain MRI. In: MICCAI. (2004) [11] B.van Ginneken, M. de Bruijne, M. Loog, and M. Viergever, “Interactive shape models,” in Medical Imaging: Image Processing, Proc of SPIE 5032, pp. 1206–1216, SPIE Press, 2003. [12] Leemput, K.V., Maes, F., Vandermeulen, D., Suetens, P.: Automated model- Based tissue classi¯ cation of MR images of the brain. IEEE trans. on medical imaging 18 (1999) 897 [13] Zhang, Y., Brady, M., Smith, S.: Segmentation of brain MR images through a hidden Markov random field model and the expectation-maximization algorithm.IEEE trans. on medical imaging 20 (2001) 45 [14] Digital Image Processing, by Rafael C. Gonzalez, Richard Eugene Woods. [15] Digital Image Processing, by Kenneth R. Castleman [16] Digital Image Processing Using Matlab, by Rafael C.Gonzalez, Richard E. Woods, Steven L. Eddins [17] Fundamentals of Digital Image Processing, by Anil K. Jain [18] Digital Image Processing, by Bernd Jähne [19] Digital Image Processing Algorithms and Applications, by Ioannis Pitas [20] Graphics and GUIs with MATLAB: 2e. Patrick Marchand. CRC Press, Inc., 1999 (ISBN 0-8493- 9487-2).