【源码】利用多类支持向量机分类器进行植物叶病检测与分类

在这里插入图片描述

本代码将叶片分为以下类型之一:“交链孢属”、“炭疽病”、“细菌性枯萎病”、“蜡孢菌叶斑病”和“健康叶片”。

A Matlab code is written to classify the leaves into one of the following types: ‘Alternaria Alternata’, ‘Anthracnose’, ‘Bacterial Blight’, ‘Cercospora Leaf Spot’ and ‘Healthy Leaves’.

运行步骤如下:

将文件夹’Leaf_Disease_Detection_code’放到Matlab路径下,并将所有子文件夹添加到该路径中。Place the folder ‘Leaf_Disease_Detection_code’ in the Matlab path, and add all the subfolders into that path.

运行DetectDisease_GUI.m

在GUI中单击加载图像,从Manu’s Disease数据集中加载图像,单击增强对比度。In the GUI click on Load Image and load the image from Manu’s Disease Dataset, click Enhance Contrast.

下一步点击分割图像,然后输入包含ROI的簇编号,即,仅疾病影响部分或健康部分。Next click on Segment Image, then enter the cluster no containing the ROI, i.e only the disease affected part or the healthy part

单击分类结果。Click on classification results.

输出测量精度(本代码中为健康叶片 vs. 所有疾病)Then measure accuracy (In this case Healthy vs All diseases).

本代码撰写基于以下参考文献:

[1] Akhtar, Asma, et al. “Automated Plant Disease Analysis (APDA): Performance Comparison of Machine Learning Techniques.” Frontiers of Information Technology (FIT), 2013 11th International Conference on. IEEE, 2013.
[2] Multiclass SVM by Anand Mishra link: http://www.mathworks.com/matlabcentral/fileexchange/33170-multi-class-support-vector-machine

完整源代码下载地址:

http://page5.dfpan.com/fs/1l8c8jf2b211f2b9169/

更多精彩文章请关注微信号:在这里插入图片描述

  • 1
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值