Shuqi Tang , Nan Zhong , Yuhao Zhou , Shaobin Chen , Zhibao Dong , Long Qi , Xiao Feng
{"title":"Synergistic spectral-spatial fusion in hyperspectral Imaging: Dual attention-based rice seed varieties identification","authors":"Shuqi Tang , Nan Zhong , Yuhao Zhou , Shaobin Chen , Zhibao Dong , Long Qi , Xiao Feng","doi":"10.1016/j.foodcont.2025.111411","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate classification of rice seeds is important for improving crop yields, optimizing the breeding process and achieving sustainable agricultural production. Hyperspectral imaging technology has demonstrated a wide range of potential applications in seed classification tasks due to its ability to capture both spectral and spatial information. However, most of the existing hyperspectral classification methods focus only on spectral information and ignore the role of spatial features, resulting in limited classification performance. To address this problem, this study proposes a Principal Component Analysis-based Vision Transformer Non-Local Dual Attention Network (PCA-VNDANet). PCA is used for dimensionality reduction to eliminate redundant information, while the model leverages a Vision Transformer (ViT) module to extract spatial features, overcoming the limitations of traditional convolutional neural networks in modeling global dependencies. Additionally, a non-local spectral attention module is introduced to construct a spectral-spatial collaborative attention mechanism, further enhancing classification performance. In addition, the decision-making process of the model is feature visualized using Gradient-weighted Class Activation Mapping (Grad-CAM++) to enhance the interpretability of the model. The experimental results show that PCA-VNDANet achieves a classification accuracy of 94.87 %, which is at least 0.6 % better than the existing comparison methods. Meanwhile, the parameters, model size and FLOPs are 2,969,016, 11.34 MB and 91.89 M respectively. This study provides an efficient and accurate technical means for seed classification based on hyperspectral imaging and shows a broad application prospect in complex agricultural tasks.</div></div>","PeriodicalId":319,"journal":{"name":"Food Control","volume":"176 ","pages":"Article 111411"},"PeriodicalIF":5.6000,"publicationDate":"2025-05-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Food Control","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0956713525002804","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate classification of rice seeds is important for improving crop yields, optimizing the breeding process and achieving sustainable agricultural production. Hyperspectral imaging technology has demonstrated a wide range of potential applications in seed classification tasks due to its ability to capture both spectral and spatial information. However, most of the existing hyperspectral classification methods focus only on spectral information and ignore the role of spatial features, resulting in limited classification performance. To address this problem, this study proposes a Principal Component Analysis-based Vision Transformer Non-Local Dual Attention Network (PCA-VNDANet). PCA is used for dimensionality reduction to eliminate redundant information, while the model leverages a Vision Transformer (ViT) module to extract spatial features, overcoming the limitations of traditional convolutional neural networks in modeling global dependencies. Additionally, a non-local spectral attention module is introduced to construct a spectral-spatial collaborative attention mechanism, further enhancing classification performance. In addition, the decision-making process of the model is feature visualized using Gradient-weighted Class Activation Mapping (Grad-CAM++) to enhance the interpretability of the model. The experimental results show that PCA-VNDANet achieves a classification accuracy of 94.87 %, which is at least 0.6 % better than the existing comparison methods. Meanwhile, the parameters, model size and FLOPs are 2,969,016, 11.34 MB and 91.89 M respectively. This study provides an efficient and accurate technical means for seed classification based on hyperspectral imaging and shows a broad application prospect in complex agricultural tasks.
期刊介绍:
Food Control is an international journal that provides essential information for those involved in food safety and process control.
Food Control covers the below areas that relate to food process control or to food safety of human foods:
• Microbial food safety and antimicrobial systems
• Mycotoxins
• Hazard analysis, HACCP and food safety objectives
• Risk assessment, including microbial and chemical hazards
• Quality assurance
• Good manufacturing practices
• Food process systems design and control
• Food Packaging technology and materials in contact with foods
• Rapid methods of analysis and detection, including sensor technology
• Codes of practice, legislation and international harmonization
• Consumer issues
• Education, training and research needs.
The scope of Food Control is comprehensive and includes original research papers, authoritative reviews, short communications, comment articles that report on new developments in food control, and position papers.