Report Format
Report Format
A PROJECT REPORT
Submitted by
BATCHELOR OF TECHNOLOGY
IN
CSE
This is to certify that Project Report entitled “Brain Tumor Analysis using CNN” which is
submitted by Aditya Singh , Sudhanshu Kumar in partial fulfillment of the requirement for the
award of degree B. Tech. in Department of CSE of School of Computing Science and Engineering
Department of Computer Science and Engineering Galgotias University, Greater Noida, India is a
record of the candidate own work carried out by him/them under my supervision. The matter
embodied in this thesis is original and has not been submitted for the award of any other degree.
1.2. Advantages......................................................................................................................... 6
1.3. Disadvantages..................................................................................................................... 6
Diagnosis of Brain tumor at an early stage has became an important topic of research in recent
time. Detection of tumor at an early stage for primary treatment increases the patient’s survival
rate. Processing of Magnetic resonance image (MRI) for an early tumor detection face the
challenge of high processing overhead due to large volume of image input to the processing
system. This result to large delay and decrease in system efficiency. Hence, the need of an
enhanced detection system for accurate segmentation and representation for a faster and accurate
processing has evolved in recent past. Development of new approaches based on improved
learning and processing for brain tumor detection has been proposed in recent literatures. This
paper outlines a brief review on the developments made in the area of MRI processing for an
early diagnosis and detection of brain tumor for segmentation, representation and applying new
machine learning (ML) methods in decision making. The learning ability and fine processing of
Machine learning algorithms has shown an improvement in the current automation systems for
faster and more accurate processing for brain tumor detection. The current trends in the
automation of brain tumor detection, advantages, limitations and the future perspective of
existing methods for computer aided diagnosis in brain tumor detection is outlined.
CHAPTER 1.
INTRODUCTION
This research paper has discussed the different stages of brain tumour. Cerebrum cancer division
is a significant assignment in clinical picture handling. Early determination of mind cancers
assumes a significant part in further developing therapy prospects and expands the endurance
pace of the patients. Manual division of the mind growths for disease finding, from the enormous
measure of MRI pictures produced in clinical daily practice, is a troublesome and tedious errand.
Additionally, mind growth analysis requires an acute level of precision, where a minor mistake
in decision making may result in a calamity. Consequently, cerebrum cancer division is difficult
for clinical purposes.
Among the right now proposed mind division strategies, cerebrum cancer division techniques
dependent on conventional picture handling isn't sufficiently ideal. In customary strategy, an
MRI is produced by utilizing attractive field radiation through which a two dimensional picture
(predominantly dependent on a particular dark scale) is created and afterwards that picture is
handled and inspected by a clinical expert. This makes a chance of human mistake and increment
the general danger element of a clinical case which can at times prompt lamentable conceivable
outcomes. That is the reason there is a requirement for programmed mind cancer picture
division.
Current models that are based on deep learning algorithms are facing a big issue and that is their
accuracy. And accuracy plays a crucial role in health care intelligent systems, hence for solving
this issue, this model which is highly accurate has been developed.
It is a deep learning algorithm that is used for image processing. This algorithm uses an image as
an input and differentiates it on different bases or features.
1.2 Advantages
1.3 Disadvantages
• System requirements for the proper functioning of the model are high.
In [1], The research paper titled "Brain Tumour Detection Using Machine Learning" presents a
model utilizing Convolutional Neural Networks (CNN) to accurately detect brain tumors from
magnetic resonance imaging (MRI) scans. The study emphasizes the importance of early
diagnosis in improving treatment outcomes and patient survival rates. Traditional methods of
tumor segmentation are often time-consuming and prone to errors, making automated approaches
necessary.
In [2], The research paper focuses on developing a Convolutional Neural Network (CNN) model
for classifying brain MRI images to determine whether a tumor is malignant or not.The CNN
consists of three convolutional layers, utilizing 2x2 kernels. The model was trained on a dataset
split into 70% for training and 30% for validation.The model achieved a training accuracy of
97.47% and a testing accuracy of 96.08%. It also reported a precision of approximately 94.87%,
recall of about 98.63%, and an F-score of 97.37%.
In [3], The research paper focuses on brain tumor detection using advanced techniques in
medical image processing, specifically employing Convolutional Neural Networks (CNN) and
Fuzzy C-Means clustering for segmentation.Fuzzy C-Means clustering is utilized for tumor
segmentation, which helps in accurately predicting tumor cells.After segmentation, the study
compares various traditional classifiers (K-Nearest Neighbor, Logistic Regression, Multilayer
Perceptron, Naïve Bayes, Random Forest, and Support Vector Machine) and finds that Support
Vector Machine (SVM) achieves the highest accuracy of 92.42%.The proposed CNN model
outperforms traditional methods, achieving an accuracy of 97.87% on the dataset.
CHAPTER 3.
DESIGN FLOW/PROCESS
a. Data Source:
The dataset used for this task includes brain MRI images with two classes: images with a
brain tumor (YES) and images without a brain tumor (NO).
The dataset is unzipped, and images are distributed into three subsets:
Directories are created for each of these subsets and further subdivided into class-specific
folders:
o /TRAIN/YES, /TRAIN/NO, /TEST/YES, /TEST/NO, /VAL/YES, /VAL/NO.
c. Data Set
The dataset selected for our model is acquired from the internet. It contains around 3000 MRI
images of brain which has 1500 image which doesn’t have tumour and the same amount of MRI
images for the brain tumour. It contains 60 MRI image for unlabelled MRI scan for image
tersting .This dataset is obtained from the internet and the link to reach there is provided below .
https://www.kaggle.com/datasets/abhranta/brain-tumor-detection-mri
a. Image Augmentation:
Data augmentation techniques are applied to the training set to increase dataset diversity and
reduce overfitting. This includes:
b. Data Preprocessing:
Validation and test datasets are re-scaled without augmentation to maintain data integrity
for evaluation purposes.
The VGG16 architecture pre-trained on the ImageNet dataset is used as the base model,
leveraging learned features from millions of images.
The model is compiled using the Adam optimizer and binary cross-entropy as the loss
function since this is a binary classification task (tumor vs. no tumor).
Accuracy is used as the performance metric.
b. Training Process:
Validation Evaluation:
After training, the model is evaluated on the validation set to check its accuracy and
generalization capability.
CHAPTER 4.
RESULTS ANALYSIS AND CONCLUSION
Results:
Training Accuracy: The custom CNN model is expected to achieve a high training
accuracy (>90%) by the end of 50 epochs, indicating that it fits well to the training data.
Validation Accuracy: The validation accuracy should range between 80-90%,
suggesting good generalization to unseen data. If using VGG16, the validation accuracy
could be even higher, improving model performance.
Test Accuracy: The final test accuracy (based on validation data) would likely be in the
range of 80-90%, showing the model's ability to correctly classify brain tumors from
MRI scans.
Conclusion:
The custom CNN and transfer learning approach using VGG16 effectively classify brain
tumor images, with VGG16 likely performing better due to its pretrained feature
extraction capabilities. Data augmentation helped reduce overfitting and improved
generalization, and the model achieved robust accuracy, making it suitable for real-world
applications in brain tumor detection.
CHAPTER 5.
FUTURE WORK
Future work:
In the coming times it will help to detect brain tumour with more precision and accuracy. It will
help the doctors and people in the related field to depend on the outcomes and result of the model
.It will help assist in their job and improve their efficiency . In the coming times people can help
detect brain tumor at a very early stage with new improved efficiency of brain tumour detection .
Researcher developing and building new machine learning model will help transform the
medical industry in such a way that we haven’t thought off. People researching and improving
CNN model with new and efficient evaluation metrics will help build a model with accuracy
coming near to 100%. It will transform the industry in such a way that it will give a new path to
see those upcoming challenges and solve it using improvised machine learning techniques.
REFERENCES
[1] Sharma, M., Sharma, P., Mittal, R., & Gupta, K. (2021). Brain tumour detection
using machine learning. Journal of Electronics, 3(4), 298-308.
[2] C. L. Choudhury, C. Mahanty, R. Kumar and B. K. Mishra, "Brain Tumor Detection and
Classification Using Convolutional Neural Network and Deep Neural Network," 2020
International Conference on Computer Science, Engineering and Applications (ICCSEA),
Gunupur, India, 2020, pp. 1-4, doi: 10.1109/ICCSEA49143.2020.9132874.
[4] Saeedi, S., Rezayi, S., Keshavarz, H., & R. Niakan Kalhori, S. (2023). MRI-based brain
tumor detection using convolutional deep learning methods and chosen machine learning
techniques. BMC Medical Informatics and Decision Making, 23(1), 16.
[5] Peddinti, A. S., Maloji, S., & Manepalli, K. (2021, November). Evolution in diagnosis and
detection of brain tumor–review. In Journal of Physics: Conference Series (Vol. 2115, No.
1, p. 012039). IOP Publishing.