基于改进YOLOv12的松材线虫形态学特征检测OA
Morphological Feature Detection of Bursaphelenchus xylophilus Based on Improved YOLOv12
[目的]松材线虫是引发松材线虫病的重要病原,其显微形态识别仍主要依赖人工经验,传统荧光PCR和人工显微识别方法存在样品处理流程复杂、专业人员依赖性强、检测周期较长及难以满足大规模快速筛查需求等问题.为提升松材线虫关键形态结构检测的自动化与准确性,提出一种融合轻量化骨干网络和跨尺度特征增强机制的改进YOLOv12显微图像检测模型.[方法]以吉林省林业科学研究院采集的松材线虫显微图像为研究对象,构建包含200张原始图像的数据集,并通过裁剪、翻转、旋转、亮度扰动和噪声扰动等方式扩充至1 200张,按照7.0:1.5:1.5划分训练集、验证集和测试集.在YOLOv12框架基础上,引入Shuf-fleNetV2替代原骨干网络以降低参数冗余和计算复杂度,同时设计跨尺度特征融合模块CCFM,强化不同尺度特征之间的语义交互和细节补偿能力,以提高模型对阴门盖、交合刺、尾尖、中食道球和口针等微小形态特征的识别能力.[结果]对比试验表明,改进模型的精确率、mAP和召回率分别达到94.4%、93.2%和88.5%,参数量为25.3 M;消融试验中,YOLOv12+ShuffleNetV2+CCFM组合的准确率、精确率、召回率、F1-score和mAP分别为95.51%、94.44%、88.50%、0.93和93.20%,推理速度为25.7张·s-1.与原始YOLOv12相比,mAP提高7.0%,召回率提高6.4%,表明ShuffleNetV2与CCFM具有较好的互补增益.[结论]所提出的改进YO-LOv12模型能够在保持较高推理效率的同时提升松材线虫显微形态特征检测精度,可为松材线虫快速诊断、形态学辅助鉴定及农林虫害智能监测提供技术支撑.
[Objective]Bursaphelenchus xylophilus is an important pathogen causing pine wilt disease,and its microscopic morphological identification still depends largely on expert experience.Conventional fluorescence PCR and manual microscopic identification have limitations such as complex sample processing,high personnel dependence,long detection cycles,and insufficient suitability for large-scale rapid screening.To improve the automation and accuracy of key morphological structure detection,an improved YOLOv12 microscopic image detection model integrating a lightweight backbone network and cross-scale feature enhancement was proposed.[Methods]The microscopic images collected from the Jilin Academy of Forestry Sciences were used to construct a dataset containing 200 original images,which was augmented to 1 200 images through cropping,flipping,rotation,brightness disturbance,and noise disturbance.The dataset was divided into training,validation,and testing sets at a ratio of 7.0:1.5:1.5.Based on YOLOv12,ShuffleNetV2 was introduced to replace the original backbone network to reduce parameter redundancy and computational complexity.Meanwhile,a Cross-Scale Feature Fusion Module(CCFM)was designed to strengthen semantic interaction and detail compensation among features at different scales,thereby improving the recognition of small morphological structures such as the vulval flap,spicule,tail tip,median esophageal bulb,and stylet.[Results]Comparative experiments showed that the improved model achieved a precision of 94.4%,an mAP of 93.2%,and a recall of 88.5%,with 25.3 M parameters.In the ablation experiment,the YOLOv12+ShuffleNetV2+CCFM combination achieved an accuracy of 95.51%,a precision of 94.44%,a recall of 88.50%,a F1-score of 0.93,a mAP of 93.20%,and an inference speed of 25.7 images·s-1.Compared with the original YOLOv12,the mAP and recall increased by 7.0% and 6.4%,respectively,indicating the complementary benefits of ShuffleNetV2 and CCFM.[Conclusion]The proposed improved YOLOv12 model improves the detection accuracy of microscopic morphological features while maintaining high inference efficiency,and it can provide technical support for rapid diagnosis,morphology-assisted identification,and intelligent monitoring of agricultural and forestry pests.
王宇飞;姜岚峰;宋少忠;安晓峰;于凯威
吉林工程技术师范学院,长春 130052长春理工大学 电子信息工程学院,长春 130022吉林工程技术师范学院,长春 130052吉林工程技术师范学院,长春 130052长春理工大学 电子信息工程学院,长春 130022
农业科技
松材线虫目标检测ShuffleNetV2CCFM显微图像识别
Bursaphelenchus xylophilusobject detectionShuffleNetV2CCFMmicroscopic image recognition
《沈阳农业大学学报》 2026 (5)
96-103,8
吉林省科技厅农业重点研发项目(20250202036NC)
评论