Few-shot classification for soil images: Prototype correction and feature distance enhancement

IF 8.9 1区 农林科学 Q1 AGRICULTURE, MULTIDISCIPLINARY Computers and Electronics in Agriculture Pub Date : 2025-02-24 DOI:10.1016/j.compag.2025.110162
Shaohua Zeng , Yinsen Xia , Shoukuan Gu , Fugang Liu , Jing Zhou
{"title":"Few-shot classification for soil images: Prototype correction and feature distance enhancement","authors":"Shaohua Zeng ,&nbsp;Yinsen Xia ,&nbsp;Shoukuan Gu ,&nbsp;Fugang Liu ,&nbsp;Jing Zhou","doi":"10.1016/j.compag.2025.110162","DOIUrl":null,"url":null,"abstract":"<div><div>The accurate classification of soil species is the fundamental work for agricultural resource surveys and crop cultivation. For soil image classification based on soil classification systems, an improved prototypical network based on prototype correction and feature distance enhancement is proposed in this paper. Firstly, on the basis of the prototypical network, an adaptive cosine similarity enhancement mask (ACSEM) is designed to enhance the feature dissimilarity between different classes. ACSEM is constructed on the basis of the local similarity between the query image and the support image, which masks the feature blocks with weak similarity in the support image. It then reconstructs the support image features to enhance the spatial dissimilarity between support images of different classes, thereby constructing a class prototype with feature dissimilarity. Then, the discriminative feature distance enhancement module (DFDE) is introduced to increase the distance of distinguishable features. It uses the feature distance variance between the class prototype and the query image to generate feature distance weights, enhancing the distinguishing features and improving the expressiveness of the distance metric function in capturing class feature variability. Finally, the experimental results show that the classification accuracy of the improved prototypical network reaches 65.68% (one-shot) and 77.19% (five-shot) on the soil image classification task based on the soil classification system. Compared with the prototypical network, its classification accuracy is improved by 14.93% (one-shot) and 16.97% (five-shot), and it can achieve a higher accuracy of soil image classification based on the soil classification system.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"233 ","pages":"Article 110162"},"PeriodicalIF":8.9000,"publicationDate":"2025-02-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169925002686","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

The accurate classification of soil species is the fundamental work for agricultural resource surveys and crop cultivation. For soil image classification based on soil classification systems, an improved prototypical network based on prototype correction and feature distance enhancement is proposed in this paper. Firstly, on the basis of the prototypical network, an adaptive cosine similarity enhancement mask (ACSEM) is designed to enhance the feature dissimilarity between different classes. ACSEM is constructed on the basis of the local similarity between the query image and the support image, which masks the feature blocks with weak similarity in the support image. It then reconstructs the support image features to enhance the spatial dissimilarity between support images of different classes, thereby constructing a class prototype with feature dissimilarity. Then, the discriminative feature distance enhancement module (DFDE) is introduced to increase the distance of distinguishable features. It uses the feature distance variance between the class prototype and the query image to generate feature distance weights, enhancing the distinguishing features and improving the expressiveness of the distance metric function in capturing class feature variability. Finally, the experimental results show that the classification accuracy of the improved prototypical network reaches 65.68% (one-shot) and 77.19% (five-shot) on the soil image classification task based on the soil classification system. Compared with the prototypical network, its classification accuracy is improved by 14.93% (one-shot) and 16.97% (five-shot), and it can achieve a higher accuracy of soil image classification based on the soil classification system.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
土壤图像的少拍分类:原型校正和特征距离增强
土壤物种的准确分类是农业资源调查和作物栽培的基础工作。针对基于土壤分类系统的土壤图像分类问题,提出了一种基于原型校正和特征距离增强的改进原型网络。首先,在原型网络的基础上,设计自适应余弦相似度增强掩模(ACSEM),增强不同类别之间的特征不相似度;ACSEM是基于查询图像与支持图像之间的局部相似度构建的,它掩盖了支持图像中相似性较弱的特征块。然后对支持图像特征进行重构,增强不同类别支持图像之间的空间不相似性,从而构建具有特征不相似性的类别原型。然后,引入判别特征距离增强模块(DFDE)来增加可分辨特征的距离;利用类原型与查询图像之间的特征距离方差生成特征距离权重,增强了识别特征,提高了距离度量函数在捕获类特征变异时的表达能力。最后,实验结果表明,改进的原型网络在基于土壤分类系统的土壤图像分类任务上的分类准确率分别达到65.68%(单次)和77.19%(五次)。与原型网络相比,其分类精度分别提高了14.93%(单次)和16.97%(五次),可以实现基于土壤分类系统的更高精度的土壤图像分类。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computers and Electronics in Agriculture
Computers and Electronics in Agriculture 工程技术-计算机:跨学科应用
CiteScore
15.30
自引率
14.50%
发文量
800
审稿时长
62 days
期刊介绍: Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.
期刊最新文献
Real-time and explainable non-destructive nut classification using spike-triggered acoustic sensing Precision mapping of soil salinity in reclaiming salt-induced wasteland with UAV multispectral images and machine learning Comparison of soil property predictions in Lithuanian croplands using UAV, satellite, EMI data and machine learning A new generation of embodied intelligent plant protection unmanned vehicle integrated with hydrostatic transmission and four-wheel drive technology: design, development and application Mathematical modeling of tomato ripening: Formulations, validation, and postharvest decision support — A review
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1