大工至善|大学至真分享 http://blog.sciencenet.cn/u/lcj2212916

博文

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

已有 1423 次阅读 2019-1-14 09:34 |系统分类:科研笔记|文章来源:转载


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

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'.


运行步骤如下:

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

  2. 运行DetectDisease_GUI.m

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

  4. 下一步点击分割图像,然后输入包含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 

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

  6. 输出测量精度(本代码中为健康叶片 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/ 


更多精彩文章请关注微信号:qrcode_for_gh_60b944f6c215_258.jpg




https://blog.sciencenet.cn/blog-69686-1156950.html

上一篇:[转载]【Tom M. Mitchell课件】机器学习——图模型(3)
下一篇:[转载]【图片新闻】美国海军悄悄测试了3马赫的重型炮弹
收藏 IP: 222.190.121.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-27 04:49

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部