Bidong Chen , Lingui Li , Han Zhu , Meijuan Tan , Guanhua Liu , Haiyang Chi , Xu Yang , Yapeng Wang
{"title":"PRINCE: Advanced classification algorithm for rice grain recognition in clustered images","authors":"Bidong Chen , Lingui Li , Han Zhu , Meijuan Tan , Guanhua Liu , Haiyang Chi , Xu Yang , Yapeng Wang","doi":"10.1016/j.compag.2025.110949","DOIUrl":null,"url":null,"abstract":"<div><div>With the rapid development of agriculture, the number of paddy (Oryza sativa L.) is increasing. However, accurately recognizing the variety of rice grain (dehusked paddy) is a significant challenge due to the occlusion and similarity problems in the image recognition field. To address the rice grain recognition problem in clustered images, we propose a novel precision rice grain identification and classification engine (PRINCE) architecture for high-similarity clustered rice grain images. Specifically, we pioneer the exploration and implementation of the SAM model in rice grain analysis, achieving zero-shot semantic segmentation of clustered rice grain images with diverse morphological masks. Secondly, we design a dual-layer filter (D-Filter), where Filter-I is a threshold-controlled discrete rice grain morphology quantitative analysis method for calibrating the morphological integrity of rice grain masks, and Filter-II is a neural network classifier of rice grain mask images that selects complete rice grain mask images from complex mask data. Finally, we integrate dual migration learning and pre-trained model fine-tuning (D-FTL) to train a classification model that accurately recognizes twelve visually indistinguishable discrete rice grain varieties, achieving a weighted F1-score of 82.29%, Top1 accuracy of 82.238%, and area under the curve (AUC) of 0.99. Extensive experimental results show that the proposed PRINCE architecture outperforms seven existing mainstream classification models in terms of accuracy, precision, and recall. Our research demonstrates practical significance in rice variety identification, cooking parameter optimization, and adulteration detection, establishing a novel framework for intelligent grain assessment and optimal cooking outcomes.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"239 ","pages":"Article 110949"},"PeriodicalIF":8.9000,"publicationDate":"2025-09-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169925010555","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
With the rapid development of agriculture, the number of paddy (Oryza sativa L.) is increasing. However, accurately recognizing the variety of rice grain (dehusked paddy) is a significant challenge due to the occlusion and similarity problems in the image recognition field. To address the rice grain recognition problem in clustered images, we propose a novel precision rice grain identification and classification engine (PRINCE) architecture for high-similarity clustered rice grain images. Specifically, we pioneer the exploration and implementation of the SAM model in rice grain analysis, achieving zero-shot semantic segmentation of clustered rice grain images with diverse morphological masks. Secondly, we design a dual-layer filter (D-Filter), where Filter-I is a threshold-controlled discrete rice grain morphology quantitative analysis method for calibrating the morphological integrity of rice grain masks, and Filter-II is a neural network classifier of rice grain mask images that selects complete rice grain mask images from complex mask data. Finally, we integrate dual migration learning and pre-trained model fine-tuning (D-FTL) to train a classification model that accurately recognizes twelve visually indistinguishable discrete rice grain varieties, achieving a weighted F1-score of 82.29%, Top1 accuracy of 82.238%, and area under the curve (AUC) of 0.99. Extensive experimental results show that the proposed PRINCE architecture outperforms seven existing mainstream classification models in terms of accuracy, precision, and recall. Our research demonstrates practical significance in rice variety identification, cooking parameter optimization, and adulteration detection, establishing a novel framework for intelligent grain assessment and optimal cooking outcomes.
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.