轻量级的油菜籽品种高光谱特征识别方法OA
Lightweight Hyperspectral Feature Recognition Method for Rapeseed Variety Identification
油菜籽品种精准识别对保障种子纯度与粮油安全至关重要.然而,现有高光谱检测模型参数冗余、计算开销大,严重制约了其在便携设备与无人机等算力受限平台上的应用.为此,本文提出一种高光谱轻量化识别模型(spectral-adaptive-selector spectral-spatial-hybrid-encoder light-swin-transformer,SSL-SwinT).构建轻量化SwinT主干,通过优化配置与输入降维实现结构压缩;设计光谱自适应选择器(spectral adaptive selector,SAS),基于全局平均池化(global average pooling,GAP)和多层感知机注意力机制(multi-layer perceptron,MLP)动态筛选有效光谱波段,大幅消除冗余信息干扰;构建空间-光谱混合编码器(spectral-spatial hybrid encoder,SSHE),采用深度可分离卷积实现空谱特征的解耦与协同提取.实验采用GaisField-Dz高光谱相机采集的数据集,涵盖了 11个品种的128个波段信息,用以全面验证所提模型的性能.实验表明,SSL-SwinT在F1分数高达99.57%的前提下,参数量(27.72M降至4.99M)与模型体积(105.81MB降至17.44MB)均实现82%的压缩.消融实验证实了各模块间的协同增效作用.本研究为农业高光谱技术的轻量化边缘部署提供了可靠方案.
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.
王飞;龙陈锋;胡田;邹超君;王志伟;朱幸辉;邓阳君
湖南农业大学信息与智能科学技术学院,长沙 410128||湖南省农村农业信息化工程技术研究中心,长沙 410128||岳麓山实验室,长沙 410128湖南农业大学信息与智能科学技术学院,长沙 410128||湖南省农村农业信息化工程技术研究中心,长沙 410128||岳麓山实验室,长沙 410128湖南省农业科学院农业装备研究所,长沙 410125||岳麓山实验室,长沙 410128湖南农业大学信息与智能科学技术学院,长沙 410128||湖南省农村农业信息化工程技术研究中心,长沙 410128||长沙师范学院,长沙 410148湖南省农业科学院农业装备研究所,长沙 410125||岳麓山实验室,长沙 410128湖南农业大学信息与智能科学技术学院,长沙 410128||湖南省农村农业信息化工程技术研究中心,长沙 410128||岳麓山实验室,长沙 410128湖南农业大学信息与智能科学技术学院,长沙 410128||湖南省农村农业信息化工程技术研究中心,长沙 410128||岳麓山实验室,长沙 410128
农业科技
高光谱成像油菜种子品种识别深度学习Swin Transformer
hyperspectral imagingrapeseedvariety identificationdeep learningSwin Transformer
《农业与技术》 2026 (8)
26-32,7
湖南省重点领域研发计划项目(项目编号:2023NK2011)
评论