Abstract
Abstract
The brain is the command center of our nervous system, which enables thoughts,
memories, movements, and emotions. In other words, it is the most important or-
gan in the human body. The human brain is very vulnerable to tumors, as merely
growing old can be the cause of a tumor. Furthermore, the effects of a tumor can
be fatal to a person because, as the tumor grows inside the brain, it can deform
the structure of the brain and cause several diseases, the most fatal being cancer
in the brain. Hence, to prevent such severe diseases, early detection of tumors is
critical for a patient’s treatment. Moreover, modern technology has emerged to
excellent heights, as MRI scans and CT scans can detect brain tumor regions.
However, to accurately detect where the tumor is situated, a team of doctors is
still needed to this day. Therefore, we have planned to use convolutional neural
Networks to de- velop a faster and inexpensive method to detect tumors from MRI
images in the early stages. Moreover, we plan to develop a system where our
proposed CNN model will be able to detect tumors as well as identify three types
of tumors, which are glioma, meningioma and pituitary tumors. Also, if there are
no tumors, the system should be able to detect them too. To develop our
proposed model, we have used data pre-processing techniques with a combination
of gray scaling, One encoding, and CLAHE. Also, we have used a dataset of 6484
MRI images, segment- ing them by testing and training. To compare and analyze
our proposed model’s performance, we have tested and trained seven pre-trained
models with the same dataset. The models are Vgg16, Vgg19, ResNet50,
InceptionV3, DenseNet-121, EfficientNetB0, MobileNet and we received the
following testing accuracy accord- ingly: 93.37%, 92.42%, 75.38%, 91.48%, 94.89%,
23.30% and 96.02%. However, the
testing accuracy of our proposed model surpassed all the other pre-trained models,
as it gained 98.11% accuracy in testing. In conclusion, we have aimed to build a
CNN model that exceeds all the other CNN models in terms of overall performance,
which is why we have integrated a sufficient number of parameters to handle any
unfavorable situations; however, the parameters are set in such a way that the over-
all system does not clutter and remains lightweight.
Keywords: Brain Tumor, CNN, accuracy, MRI, Deep learning, Machine learn-
ing, Tumor Detection, Neural Network, Gray Scaling, One hot encoding, Clahe,
Vgg16, Vgg19, Inception V3, DenseNet-121, EfficientNetB0, MobileNet
Acknowledgement
First and foremost, thanks to Allah, our thesis was completed without substantial
interruption. Second, Our preference is to thank our overseer, Dr. Rafeed Rahman,
and our co-supervisor, Dr. Iqbal. Hossain and Dibyo Fabian Dofadar, sir, for your
kind assistance and counsel in our endeavor.work They assisted us whenever we
needed it. All of the feedback they provided was beneficial to our further efforts.
Finally, without the unwavering assistance of our parents, it might not be feasi-
ble. We are almost done with our education because of their amazing prayers and
support.
Dedication
A dedication is a heartfelt expression of gratitude and connection from the author
to another individual. It serves as a poignant reminder of the bonds we share and
the appreciation we hold for those who have played a significant role in our creative
journey. Whether occupying a single line or spanning several, the dedication en-
capsulates the profound impact that individuals can have on our lives and work. It
stands as a testament to the power of human connection and the enduring value of
showing appreciation for those who inspire and support us on our creative path.This
project is dedicated to the countless individuals who have served as a wellspring of
inspiration. From mentors who shared their wisdom to friends who offered unwaver-
ing support, and from the great minds whose ideas sparked our imagination to the
everyday heroes who embody resilience and determination, it is to each and every
one of you that we extend our deepest gratitude. Your stories, your insights, and
your unwavering belief in the power of innovation have fueled our journey and made
this project possible. This dedication is a small token of our appreciation for the
inspiration you have provided, and a promise to carry forward the torch of creativity
and excellence that you have ignited in us.
Nomenclature
CNN - Convolutional Neural Network
ACNN - Artificial Convolutional Neural Network
R-CNN - Regional Convolutional Neural
Network Vgg16 - Visual Geometry Group 16
Vgg19 - Visual Geometry Group 19
ML - Machine Learning
CAD - Computer Aided Diagnosis
ReLU - Rectified Linear Unit
SGD - Stochastic Gradient Descent
PPV - Positive Predictive Value
NPV - Negative Predictive Value
MCC - Matthews Correlation Coefficient
VOTT - Visual Object Tagging Tool
ROIs - Regions of Interest
RPN - Regional Proposal Network
NMS - Non-maximum Suppression
E2E - End to End
MRI - Magnetic Resonance Image
CT - Computed Tomography
FNN - Fully Connected Layer
Table of Contents
Declaration i
Approval ii
Abstract iv
Acknowledgment v
Dedication vi
Nomenclature vii
List of Figures x
List of Tables 1
1 Introduction 2
1.1 Contribution:.......................................................................................................3
1.2 Research Problem...............................................................................................4
1.3 Research Objective.............................................................................................5
2 Literature Review 6
3 Work Plan 14
Performance Analysis 26
6.1 Performance Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.2 Performance Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.3 Performance of Proposed Model . . . . . . . . . . . . . . . . . . . . . 27
6.3.1 Performance of proposed Model with other Data-set: . . . . 28
.
6.4 Performance of Pre-trained Model . . . . . . . . . . . . . . . . . . . . 30
6.4.1 Vgg16 : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
.
6.4.2 Vgg19 : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
.
6.4.3 Resent50 : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
6.4.4 Inceptionv3: . . . . . . . . . . . . . . . . . . . . . . . . . . 33
.
6.4.5 DenseNet121: . . . . . . . . . . . . . . . . . . . . . . . . . 34
.
6.4.6 EfficientNetB0: . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6.4.7 MobileNet: . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
.
6.5 Performance Matrix: . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.5.1 Proposed CNN Model: . . . . . . . . . . . . . . . . . . . . . . 37
6.5.2 Pre-trained Models: . . . . . . . . . . . . . . . . . . . . . . . . 42
6.6 Compare and Analysis : . . . . . . . . . . . . . . . . . . . . . . . . 49
.
Conclusion 51
7.1 Future Work: . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Bibliography 52
List of Figures