Brain MRI Tumor Detection and Classification

Version (462 KB) by Manu BN
A Matlab code for Brain MRI Tumor Detection and Classification


Updated 15 Feb 2016

View License

A Matlab code is written to segment the tumor and classify it as Benign or Malignant using SVM.
The features used are DWT+PCA+Statistical+Texture
How to run??
1. Unzip and place the folder Brain_Tumor_Code in the Matlab path and add both the dataset
2. Run BrainMRI_GUI.m and click and select image in the GUI
3. Segment the image and observe the results of classification
4. Evaluate accuracies
The code is loosely based on the paper below (included), please cite and give credit to authors:
[1] Zhang, Yudong, and Lenan Wu. "An MR brain images classifier via principal component analysis and kernel support vector machine." Progress In Electromagnetics Research 130 (2012): 369-388.
Note: Segmentation of skull regions is an ongoing task, will upload a better code once it is over
Comments and suggestions are always welcome

Thanks in advance

Manu B.N

Cite As

Manu BN (2023). Brain MRI Tumor Detection and Classification (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

.Zip files are added as zipx was found incompatible for many people.