Rice Classification with K-Nearest Neighbor based on Color Feature Extraction and Invariant Moment

Santika Tri Hapsari S, Rahmat Widadi, Indah Permatasari
{"title":"Rice Classification with K-Nearest Neighbor based on Color Feature Extraction and Invariant Moment","authors":"Santika Tri Hapsari S, Rahmat Widadi, Indah Permatasari","doi":"10.32520/stmsi.v12i3.2683","DOIUrl":null,"url":null,"abstract":"Rice is the staple food of Indonesians which comes from rice plants. Rice plants often experience crop failure due to disease. Of course this will affect the yield. Therefore, in this era of technological advances, digital images can be used to help farmers classify rice leaf diseases so they can be controlled. One of the classifications uses K-Nearest Neighbor (KNN) which is sourced from learning data information with the closest distance. Research requires color feature extraction and invariant moment methods in order to obtain information on the distinguishing characteristics of an object from other objects. Data comes from the UCI Machine Learning Repository totaling 120 images which are divided into 3 types of bacterial disease leaf blight, brown spot, and leaf smut with each class having 40 images. The color features used by HSV are Hue, Saturation, and Value. Meanwhile, the invariant moment uses the seven features H1 to H7 introduced by Hu. Feature selection is carried out after the feature extraction process to get the highest accuracy value. In addition, variations in the number of neighbors (k) in KNN are also varied from k=1 to k=10. The best accuracy results are obtained from the use of features, namely hue, saturation, value, h2, h3, and h7 and the value of the number of neighbors in KNN k=1 with an accuracy 81.66%.","PeriodicalId":32357,"journal":{"name":"Jurnal Sistem Informasi","volume":"98 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-09-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Jurnal Sistem Informasi","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.32520/stmsi.v12i3.2683","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Rice is the staple food of Indonesians which comes from rice plants. Rice plants often experience crop failure due to disease. Of course this will affect the yield. Therefore, in this era of technological advances, digital images can be used to help farmers classify rice leaf diseases so they can be controlled. One of the classifications uses K-Nearest Neighbor (KNN) which is sourced from learning data information with the closest distance. Research requires color feature extraction and invariant moment methods in order to obtain information on the distinguishing characteristics of an object from other objects. Data comes from the UCI Machine Learning Repository totaling 120 images which are divided into 3 types of bacterial disease leaf blight, brown spot, and leaf smut with each class having 40 images. The color features used by HSV are Hue, Saturation, and Value. Meanwhile, the invariant moment uses the seven features H1 to H7 introduced by Hu. Feature selection is carried out after the feature extraction process to get the highest accuracy value. In addition, variations in the number of neighbors (k) in KNN are also varied from k=1 to k=10. The best accuracy results are obtained from the use of features, namely hue, saturation, value, h2, h3, and h7 and the value of the number of neighbors in KNN k=1 with an accuracy 81.66%.
基于颜色特征提取和不变矩的k近邻水稻分类
大米是印尼人的主食,来自水稻。水稻经常因疾病而歉收。这当然会影响产量。因此,在这个技术进步的时代,数字图像可以用来帮助农民对水稻叶片病害进行分类,从而控制它们。其中一种分类使用k -最近邻(KNN),它来源于距离最近的学习数据信息。研究需要使用颜色特征提取和不变矩方法来获取物体与其他物体的区别特征信息。数据来自UCI机器学习库,共120张图片,分为3种细菌性疾病叶枯病、褐斑病和叶黑穗病,每一类有40张图片。HSV使用的颜色特征是色相、饱和度和值。同时,不变矩使用Hu介绍的H1 ~ H7七个特征。特征提取后进行特征选择,以获得最高的精度值。此外,KNN中邻居数(k)的变化也从k=1到k=10不等。利用色相、饱和度、值、h2、h3、h7等特征和KNN k=1中邻域数的值获得了最好的精度结果,准确率为81.66%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
12
审稿时长
12 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信