基于改进VisionTransformer与环境权重融合的金耳生长阶段识别方法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

2025陕西省农业财政专项和新疆维吾尔自治区重点研发项目(2024B04028)


Method for Identifying Tremella aurantialba Growth Stages Based on Improved Vision Transformer and Environmental Weight Fusion
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对金耳工厂化生产中人工判断生长阶段存在的主观性强、效率低、标准难统一等问题,本文提出一种融合视觉与环境信息的多模态金耳生长阶段识别方法。首先构建包含图像与温度、相对湿度、光照强度、CO2浓度同步采集的金耳多模态数据集,涵盖幼耳期、转色期、成熟期3个阶段共50420份样本;其次设计改进Vision Transformer图像特征提取网络,引入多尺度特征嵌入、位置增强编码模块与ResNet 局部感知增强模块,强化金耳菌包纹理细节和空间关联的建模能力;同时提出环境因子自适应权重融合策略,通过可学习权重对环境参数差异化加权,实现视觉与环境多模态特征的联合优化。实验结果表明,该方法测试集总体识别准确率达93.2%;宏观平均F1值93.3% ,较原始ViT和ResNet50基线模型的F1值分别提升7.2、8.7个百分点,其中幼耳期F1值高达98.8%。消融实验验证了多尺度特征嵌入、局部感知增强模块及环境融合策略对模型性能的显著提升作用,环境因子重要性分析量化了金耳不同生长阶段的环境敏感性差异,转色期对相对湿度(权重0.40)和光照强度(0.25)的敏感性最高。该研究实现了金耳生长阶段的高精度、可解释识别,模型参数量仅为原始ViT的52.1%,推理速度达22.2f/s,满足工厂化生产实时监测需求,为食用菌工厂化生产的智能化、精准化管理提供了高效的技术解决方案。

    Abstract:

    Aiming at the inherent limitations of manual growth stage judgment in industrial Tremella aurantialba (golden ear) cultivation, including strong subjectivity, low efficiency, and difficulty in standardizing evaluation criteria, a multimodal recognition method for golden ear growth stages was proposed by integrating visual and environmental information. Firstly, a multimodal dataset of golden ear was constructed, which incorporated synchronously collected images and key environmental parameters (temperature, humidity, light intensity, and CO2 concentration). This dataset covered 50420 samples across three distinct growth stages, namely the young ear stage, color conversion stage, and mature stage. Secondly, an improved Vision Transformer ( ViT) network was designed for image feature extraction, where multi-scale feature embedding, dynamic positional encoding, and a ResNet-based local perception enhancement module were introduced to enhance the modeling capability of texture details and spatial correlations of golden ear cultivation bags. Meanwhile, an adaptive weight fusion strategy for environmental factors was developed, which employed learnable weights to perform differential weighting on environmental parameters, thereby achieving joint optimization of visual and environmental multimodal features. Experimental results show that the overall recognition accuracy of the proposed method on the test set reaches 93.2%, with a macro-average F1-score of 93.3%. It outperforms the original ViT and ResNet50 baseline models by 7.2 and 8.7 percentage points in terms of F1-score, respectively. In particular, the F1-score for the young ear stage is as high as 98.8%. Ablation experiments further verified that the multi-scale feature embedding, local perception enhancement module, and environmental fusion strategy all contributed significantly to the improvement of model performance. Moreover, the importance analysis of environmental factors quantified the differences in environmental sensitivity among different growth stages of golden ear; notably, the color conversion stage exhibited the highest sensitivity to humidity (weight 0.40) and light intensity (weight 0.25). The research realized high-precision and interpretable recognition of golden ear growth stages. With only 52.1% of the parameters of the original ViT and an inference speed of 22.2f/s, the proposed model met the real-time monitoring requirements of industrial production, providing an efficient technical solution for the intelligent and precise management of industrial edible fungi cultivation.

    参考文献
    相似文献
    引证文献
引用本文

孙先鹏,寇龙龙,关博文,王新轲,刘娜,宁明阳.基于改进VisionTransformer与环境权重融合的金耳生长阶段识别方法[J].农业机械学报,2026,57(17):288-298,311. Sun Xianpeng, Kou Longlong, Guan Bowen, Wang Xinke, Liu Na, Ning Mingyang. Method for Identifying Tremella aurantialba Growth Stages Based on Improved Vision Transformer and Environmental Weight Fusion[J]. Transactions of the Chinese Society for Agricultural Machinery,2026,57(17):288-298,311.

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2026-03-10
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2026-09-01
  • 出版日期:
文章二维码