农业与技术2026,Vol.46Issue(8):26-32,7.DOI:10.19754/j.nyyjs.20260830005
轻量级的油菜籽品种高光谱特征识别方法
Lightweight Hyperspectral Feature Recognition Method for Rapeseed Variety Identification
摘要
Abstract
Accurate identification of rapeseed varieties is of paramount importance for ensuring seed purity and grain-oil security.However,existing hyperspectral detection models suffer from parameter redundancy and massive computational overhead,severely restricting their deployment on resource-constrained platforms,such as portable devices and unmanned aerial vehicles(UAVs).To address this issue,this paper proposes a lightweight hyperspectral recognition model termed SSL-SwinT(Spectral-Adaptive-Selector Spectral-Spatial-Hybrid-Encoder Light-Swin-Transformer).Specifically,a lightweight Swin-Transformer(SwinT)backbone is first constructed to achieve structural compression through configuration optimization and input dimensionality reduction.Subsequently,a Spectral Adaptive Selector(SAS)is designed.Based on global average pooling(GAP)and a multi-layer perceptron(MLP)attention mechanism,the SAS dynamically filters effective spectral bands,substantially eliminating the interference of redundant information.Finally,a Spectral-Spatial Hybrid Encoder(SSHE)is constructed,which employs depth wise separable convolutions to realize the decoupling and synergistic extraction of spatial-spectral features.Experimental validation on a hyperspectral dataset comprising 11 rapeseed varieties(with 128 spectral bands)demonstrates that SSL-SwinT achieves an 82%compression rate in both parameter count(reduced from 27.72M to 4.99M)and model volume(reduced from 105.81MB to 17.44MB),while maintaining an outstanding F1 score of 99.57%.Ablation studies further verify the synergistic enhancement effect among the proposed modules.This research provides a reliable solution for the lightweight edge deployment of agricultural hyperspectral technologies.关键词
高光谱成像/油菜种子/品种识别/深度学习/Swin TransformerKey words
hyperspectral imaging/rapeseed/variety identification/deep learning/Swin Transformer分类
农业科技引用本文复制引用
王飞,龙陈锋,胡田,邹超君,王志伟,朱幸辉,邓阳君..轻量级的油菜籽品种高光谱特征识别方法[J].农业与技术,2026,46(8):26-32,7.基金项目
湖南省重点领域研发计划项目(项目编号:2023NK2011) (项目编号:2023NK2011)