Plant Disease Classification

A Matlab code to classify the type of disease using SVM

You are now following this Submission

A Matlab code is written to classify the type of disease affected leaf. Here I have considered two different types of diseases, i.e 'Anthranose' & 'Blackspot'. Segmentation of the disease affected area was performed by K means clustering. Over 13 different statistical and texture based features are extracted. Classification is done by SVM.
How to run??
1. Place the 'Disease Analysis' folder in your path
2. Run Classify.m
3. Select a leaf from the 'Disease Dataset' folder.
4. Observe the results of K means clustering.
5. In the dialogue box enter the cluster no containing the disease affected part. (1 or 2 or 3).
6. Observe the results on command window.
Note: This is a semi automatic approach for classification. Suggestion for improvement are always welcome.
A multiclass approach to the same is available in the following link:
https://in.mathworks.com/matlabcentral/fileexchange/55098-plant-leaf-disease-detection-and-classification-using-multiclass-svm-classifier
Thanks,
Manu B.N

Cite As

Manu BN (2026). Plant Disease Classification (https://se.mathworks.com/matlabcentral/fileexchange/50624-plant-disease-classification), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Links to a multiclass approach of the same are added

A multiclass approach to the same is available in the following link:
https://in.mathworks.com/matlabcentral/fileexchange/55098-plant-leaf-disease-detection-and-classification-using-multiclass-svm-classifier