Malaria-Image-Classification
Malaria-Image-Classification
The below method is successfull in classifying Malarial/Normal samples with with ~92% accuracy.
For MATLAB Central File Exchange please visit
For GitHub Repo please visit
GitHub
Visualize dataset
-
Dataset can be downloaded from Malarial Cell Images Dataset.
-
Dataset consisits of 13780 parasited and 13780 non-infected images. A total of 27560 images are available in the dataset.
Some examples of the dataset are shown below.
| Image class | Image 1 | Image 2 | Image 3 | Image 4 | Image 5 |
|---|---|---|---|---|---|
| Parasite Image | ![]() |
![]() |
![]() |
![]() |
![]() |
| Non Infected Image | ![]() |
![]() |
![]() |
![]() |
![]() |
- Purple regions can be easily observed in the parasite images which are not available in Non-Infected images.
Classification task
Now the task is to classify the given input image into Malaria or Normal class.
Methods
Gradient-based edge dectection and morphological operations for Malaria image classification
Results
Below are results are obtained by performing classification on 13780 Malaria adn 13780 Normal class images.
| Metric | Accuracy | Sensitivity | Specificity | Precision | Recall | F1-Score |
|---|---|---|---|---|---|---|
| Metric Value | 91.97 | 0.929 | 0.910 | 0.912 | 0.929 | 0.920 |
Prediction Results
Testing on Normal-class images
Testing on Malaria-class images
Conclusions
The proposed method solves the malaria image classification problem with good accuracy. A lot of other advanced methods like use of Classifiers on top extracted feature using feature extraction and more advanced deep learning algorithms like Deep CNNs. But there is a trade-off between computaional effiecieny, time required to train & inferece. The proposed method solves the problem with least possible resources and time constraints with comparable accuracy to more sophisticated methods.
Cite As
VINAY UMMADI (2026). Malaria-Image-Classification (https://github.com/ummadiviany/Malaria-Image-Classification/releases/tag/v1.0.5), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.5 | See release notes for this release on GitHub: https://github.com/ummadiviany/Malaria-Image-Classification/releases/tag/v1.0.5 |
||
| 1.0.4 | See release notes for this release on GitHub: https://github.com/ummadiviany/Malaria-Image-Classification/releases/tag/v1.0.4 |
||
| 1.0.3 | See release notes for this release on GitHub: https://github.com/ummadiviany/Malaria-Image-Classification/releases/tag/v1.0.3 |
||
| 1.0.2 | See release notes for this release on GitHub: https://github.com/ummadiviany/Malaria-Image-Classification/releases/tag/v1.0.2 |
||
| 1.0.1 |



















