Skip to content

c-0de/Model-for-detection-and-classification-of-brain-tumor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

BRAIN TUMOR CLASSIFICATION USING CNN AND ML TECHNIQUES

DATASET:-

Source: https://www.kaggle.com/datasets/sartajbhuvaji/brain-tumor-classification-mri?

The dataset contains 826 images of glioma, 822 images of meningioma, 827 images of pituitary tumors, and 395 images without any tumors.

OVERVIEW:-

Brain tumors are abnormal growth of cells in the brain. They are a critical health concern, with diverse manifestations and potential life-threatenin consequences. They can be benign (non-cancerous) or malignant (cancerous) and can arise from diverse types of brain cells. The location, size, and type of brain tumor can impact how it affects brain function and health. As brain tumors are classified according to several criteria, it becomes complex and hard to differentiate between the types of tumors. It is important to effectively classify the type and grade of tumors for suitable treatment. The process of identifying brain tumors is intricate, given the diverse shapes, sizes, and locations they can take within the structure of the brain. Moreover, addressing issues like noise and artifacts in MRI scans adds another layer of complexity. Additionally, the task involves classifying tumors into multiple categories. Effectively addressing these challenges is crucial to ensure the system produces dependable and accurate results, facilitating early and precise diagnoses. To deal with these problems, the proposed model includes various stages, including preprocessing, feature extraction, and classification. During preprocessing, techniques such as resizing, Gaussian blurring, normalization, and shuffling are applied to the MRI images. Following this, the Gray Level Co-occurrence Matrix (GLCM) is used to extract features including energy, contrast, entropy, homogeneity, correlation, and dissimilarity. These extracted features are then used for classification through K-Nearest Neighbor (K-NN), Support Vector Machine (SVM), and Convolutional Neural Network (CNN) algorithms. The achieved accuracies stand at 82% for SVM, 84% for KNN, and 90% for CNN.

Architecture of the model:-

Model Design

RESULTS:-

After Preprocessing:-

Screenshot (109)

Screenshot (110)

After Feature Extraction:-

Screenshot (111)

After Classification:-

Sensitivity:

Screenshot (112)

Specificity:

Screenshot (113)

Accuracy:

Screenshot (114)