• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

Swin-HSSAM:一种基于Swin变压器的生咖啡豆分级方法。

Swin-HSSAM: A green coffee bean grading method by Swin transformer.

作者信息

Jiao Yujie, Zhao Yuqing, Jia Aoying, Wang Tianyun, Li Jiashun, Xiang Kaiming, Deng Hangyu, He Maochang, Jiang Rui, Zhang Yue

机构信息

Faculty of Mechanical and Electrical Engineering, Yunnan Agriculture University, Kunming, China.

Key Laboratory for Crop Production and Smart Agriculture of Yunnan Province, Kunming, China.

出版信息

PLoS One. 2025 May 14;20(5):e0322198. doi: 10.1371/journal.pone.0322198. eCollection 2025.

DOI:10.1371/journal.pone.0322198
PMID:40367122
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC12077702/
Abstract

A novel shifted window (Swin) Transformer coffee bean grading model called Swin-HSSAM has been proposed to address the challenges of accurately classifying green coffee beans and low identification accuracy. This model integrated the Swin Transformer as the backbone network; fused features from the second, third, and fourth stages using the high-level screening-feature pyramid networks module; and incorporated the selective attention module (SAM) for discriminative power enhancement to enhance the feature outputs before classification. Fusion Loss was employed as the loss function. Experimental results on a proprietary coffee bean dataset demonstrate that the Swin-HSSAM model achieved an average grading accuracy of 96.34% for the three grading as well as the nine defect subdivision levels, outperforming the AlexNet, VGG16, ResNet50, MobileNet-v2, Vision Transformer (ViT), and CrossViT models by 3.86%, 2.56%, 0.44%, 4.05%, 5.36%, and 5.40% percentage points, respectively. Evaluations on a public coffee bean dataset revealed that, compared with the aforementioned models, the Swin-HSSAM model improved the average grading accuracy by 1.01%, 0.13%, 4.75%, 0.85%, 0.73%, and 0.27% percentage points, respectively. These results indicate that the Swin-HSSAM model not only achieved high grading accuracy but also exhibited broad applicability, providing a novel solution for the automated grading and identification of green coffee beans.

摘要

为应对生咖啡豆准确分类的挑战和低识别准确率问题,提出了一种名为Swin-HSSAM的新型移位窗口(Swin)Transformer咖啡豆分级模型。该模型将Swin Transformer集成作为骨干网络;使用高级筛选特征金字塔网络模块融合第二、第三和第四阶段的特征;并纳入选择性注意力模块(SAM)以增强判别力,从而在分类前增强特征输出。采用融合损失作为损失函数。在一个专有的咖啡豆数据集上的实验结果表明,Swin-HSSAM模型在三个分级以及九个缺陷细分级别上实现了96.34%的平均分级准确率,分别比AlexNet、VGG16、ResNet50、MobileNet-v2、视觉Transformer(ViT)和CrossViT模型高出3.86%、2.56%、0.44%、4.05%、5.36%和5.40个百分点。在一个公共咖啡豆数据集上的评估显示,与上述模型相比,Swin-HSSAM模型的平均分级准确率分别提高了1.01%、0.13%、4.75%、0.85%、0.73%和0.27个百分点。这些结果表明,Swin-HSSAM模型不仅实现了高分级准确率,而且具有广泛的适用性,为生咖啡豆的自动分级和识别提供了一种新的解决方案。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/942550295539/pone.0322198.g015.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/2c3d794536b4/pone.0322198.g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/30c0929c16f0/pone.0322198.g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/7455c158d956/pone.0322198.g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/ed66468767c6/pone.0322198.g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/9bf12e5b316f/pone.0322198.g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/d54177e3b46b/pone.0322198.g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/477aa6eebba7/pone.0322198.g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/77416f6a30e4/pone.0322198.g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/339d2e137e61/pone.0322198.g009.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/f39b95e4ed7b/pone.0322198.g010.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/4cb8f6a73d24/pone.0322198.g011.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/7d600a105c39/pone.0322198.g012.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/89dc930dd5e3/pone.0322198.g013.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/66929ad3579c/pone.0322198.g014.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/942550295539/pone.0322198.g015.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/2c3d794536b4/pone.0322198.g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/30c0929c16f0/pone.0322198.g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/7455c158d956/pone.0322198.g003.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/ed66468767c6/pone.0322198.g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/9bf12e5b316f/pone.0322198.g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/d54177e3b46b/pone.0322198.g006.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/477aa6eebba7/pone.0322198.g007.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/77416f6a30e4/pone.0322198.g008.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/339d2e137e61/pone.0322198.g009.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/f39b95e4ed7b/pone.0322198.g010.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/4cb8f6a73d24/pone.0322198.g011.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/7d600a105c39/pone.0322198.g012.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/89dc930dd5e3/pone.0322198.g013.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/66929ad3579c/pone.0322198.g014.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/3d2c/12077702/942550295539/pone.0322198.g015.jpg

相似文献

1
Swin-HSSAM: A green coffee bean grading method by Swin transformer.Swin-HSSAM:一种基于Swin变压器的生咖啡豆分级方法。
PLoS One. 2025 May 14;20(5):e0322198. doi: 10.1371/journal.pone.0322198. eCollection 2025.
2
Comparative analysis of YOLO models for green coffee bean detection and defect classification.对用于咖啡豆检测和缺陷分类的 YOLO 模型进行比较分析。
Sci Rep. 2024 Nov 22;14(1):28946. doi: 10.1038/s41598-024-78598-7.
3
SwinCross: Cross-modal Swin transformer for head-and-neck tumor segmentation in PET/CT images.SwinCross:用于 PET/CT 图像中头颈部肿瘤分割的跨模态 Swin 变换器。
Med Phys. 2024 Mar;51(3):2096-2107. doi: 10.1002/mp.16703. Epub 2023 Sep 30.
4
Enhanced Pneumonia Detection in Chest X-Rays Using Hybrid Convolutional and Vision Transformer Networks.使用混合卷积和视觉Transformer网络增强胸部X光片中的肺炎检测
Curr Med Imaging. 2025;21:e15734056326685. doi: 10.2174/0115734056326685250101113959.
5
Classification of Mobile-Based Oral Cancer Images Using the Vision Transformer and the Swin Transformer.使用视觉Transformer和Swin Transformer对基于移动设备的口腔癌图像进行分类
Cancers (Basel). 2024 Feb 29;16(5):987. doi: 10.3390/cancers16050987.
6
Enhancing breast cancer detection on screening mammogram using self-supervised learning and a hybrid deep model of Swin Transformer and convolutional neural networks.使用自监督学习以及Swin Transformer和卷积神经网络的混合深度模型提高筛查乳腺钼靶片中的乳腺癌检测率。
J Med Imaging (Bellingham). 2025 Nov;12(Suppl 2):S22007. doi: 10.1117/1.JMI.12.S2.S22007. Epub 2025 May 14.
7
FEA-Swin: Foreground Enhancement Attention Swin Transformer Network for Accurate UAV-Based Dense Object Detection.FEA-Swin:用于基于无人机的精确密集目标检测的前景增强注意力Swin变压器网络
Sensors (Basel). 2022 Sep 15;22(18):6993. doi: 10.3390/s22186993.
8
Swin-Net: A Swin-Transformer-Based Network Combing with Multi-Scale Features for Segmentation of Breast Tumor Ultrasound Images.Swin-Net:一种基于Swin-Transformer并结合多尺度特征的用于乳腺肿瘤超声图像分割的网络。
Diagnostics (Basel). 2024 Jan 26;14(3):269. doi: 10.3390/diagnostics14030269.
9
S-Swin Transformer: simplified Swin Transformer model for offline handwritten Chinese character recognition.S-Swin Transformer:用于离线手写汉字识别的简化Swin Transformer模型
PeerJ Comput Sci. 2022 Sep 20;8:e1093. doi: 10.7717/peerj-cs.1093. eCollection 2022.
10
Optimizing pulmonary chest x-ray classification with stacked feature ensemble and swin transformer integration.利用堆叠特征集成和 Swin Transformer 集成优化肺部胸部 X 射线分类。
Biomed Phys Eng Express. 2024 Nov 6;11(1). doi: 10.1088/2057-1976/ad8c46.

本文引用的文献

1
Accurate leukocyte detection based on deformable-DETR and multi-level feature fusion for aiding diagnosis of blood diseases.基于可变形 DETR 和多层次特征融合的白细胞准确检测,辅助血液病诊断。
Comput Biol Med. 2024 Mar;170:107917. doi: 10.1016/j.compbiomed.2024.107917. Epub 2024 Jan 6.
2
Multimodal Learning With Transformers: A Survey.基于Transformer的多模态学习:一项综述。
IEEE Trans Pattern Anal Mach Intell. 2023 Oct;45(10):12113-12132. doi: 10.1109/TPAMI.2023.3275156. Epub 2023 Sep 5.
3
ECG Heartbeat Classification Based on an Improved ResNet-18 Model.
基于改进型 ResNet-18 模型的心电图心拍分类。
Comput Math Methods Med. 2021 Apr 30;2021:6649970. doi: 10.1155/2021/6649970. eCollection 2021.
4
Tomato Fruit Detection and Counting in Greenhouses Using Deep Learning.利用深度学习对温室中的番茄果实进行检测与计数
Front Plant Sci. 2020 Nov 19;11:571299. doi: 10.3389/fpls.2020.571299. eCollection 2020.
5
Variability of single bean coffee volatile compounds of Arabica and robusta roasted coffees analysed by SPME-GC-MS.通过 SPME-GC-MS 分析阿拉比卡和罗布斯塔烘焙咖啡豆中单豆咖啡挥发性化合物的变化。
Food Res Int. 2018 Jun;108:628-640. doi: 10.1016/j.foodres.2018.03.077. Epub 2018 Apr 3.