Cargando…

BAF-Net: Bidirectional attention fusion network via CNN and transformers for the pepper leaf segmentation

The segmentation of pepper leaves from pepper images is of great significance for the accurate control of pepper leaf diseases. To address the issue, we propose a bidirectional attention fusion network combing the convolution neural network (CNN) and Swin Transformer, called BAF-Net, to segment the...

Descripción completa

Detalles Bibliográficos
Autores principales: Fang, Jiangxiong, Jiang, Houtao, Zhang, Shiqing, Sun, Lin, Hu, Xudong, Liu, Jun, Gong, Meng, Liu, Huaxiang, Fu, Youyao
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Media S.A. 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10083316/
https://www.ncbi.nlm.nih.gov/pubmed/37051074
http://dx.doi.org/10.3389/fpls.2023.1123410
_version_ 1785021482408083456
author Fang, Jiangxiong
Jiang, Houtao
Zhang, Shiqing
Sun, Lin
Hu, Xudong
Liu, Jun
Gong, Meng
Liu, Huaxiang
Fu, Youyao
author_facet Fang, Jiangxiong
Jiang, Houtao
Zhang, Shiqing
Sun, Lin
Hu, Xudong
Liu, Jun
Gong, Meng
Liu, Huaxiang
Fu, Youyao
author_sort Fang, Jiangxiong
collection PubMed
description The segmentation of pepper leaves from pepper images is of great significance for the accurate control of pepper leaf diseases. To address the issue, we propose a bidirectional attention fusion network combing the convolution neural network (CNN) and Swin Transformer, called BAF-Net, to segment the pepper leaf image. Specially, BAF-Net first uses a multi-scale fusion feature (MSFF) branch to extract the long-range dependencies by constructing the cascaded Swin Transformer-based and CNN-based block, which is based on the U-shape architecture. Then, it uses a full-scale feature fusion (FSFF) branch to enhance the boundary information and attain the detailed information. Finally, an adaptive bidirectional attention module is designed to bridge the relation of the MSFF and FSFF features. The results on four pepper leaf datasets demonstrated that our model obtains F1 scores of 96.75%, 91.10%, 97.34% and 94.42%, and IoU of 95.68%, 86.76%, 96.12% and 91.44%, respectively. Compared to the state-of-the-art models, the proposed model achieves better segmentation performance. The code will be available at the website: https://github.com/fangchj2002/BAF-Net.
format Online
Article
Text
id pubmed-10083316
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Frontiers Media S.A.
record_format MEDLINE/PubMed
spelling pubmed-100833162023-04-11 BAF-Net: Bidirectional attention fusion network via CNN and transformers for the pepper leaf segmentation Fang, Jiangxiong Jiang, Houtao Zhang, Shiqing Sun, Lin Hu, Xudong Liu, Jun Gong, Meng Liu, Huaxiang Fu, Youyao Front Plant Sci Plant Science The segmentation of pepper leaves from pepper images is of great significance for the accurate control of pepper leaf diseases. To address the issue, we propose a bidirectional attention fusion network combing the convolution neural network (CNN) and Swin Transformer, called BAF-Net, to segment the pepper leaf image. Specially, BAF-Net first uses a multi-scale fusion feature (MSFF) branch to extract the long-range dependencies by constructing the cascaded Swin Transformer-based and CNN-based block, which is based on the U-shape architecture. Then, it uses a full-scale feature fusion (FSFF) branch to enhance the boundary information and attain the detailed information. Finally, an adaptive bidirectional attention module is designed to bridge the relation of the MSFF and FSFF features. The results on four pepper leaf datasets demonstrated that our model obtains F1 scores of 96.75%, 91.10%, 97.34% and 94.42%, and IoU of 95.68%, 86.76%, 96.12% and 91.44%, respectively. Compared to the state-of-the-art models, the proposed model achieves better segmentation performance. The code will be available at the website: https://github.com/fangchj2002/BAF-Net. Frontiers Media S.A. 2023-03-27 /pmc/articles/PMC10083316/ /pubmed/37051074 http://dx.doi.org/10.3389/fpls.2023.1123410 Text en Copyright © 2023 Fang, Jiang, Zhang, Sun, Hu, Liu, Gong, Liu and Fu https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
spellingShingle Plant Science
Fang, Jiangxiong
Jiang, Houtao
Zhang, Shiqing
Sun, Lin
Hu, Xudong
Liu, Jun
Gong, Meng
Liu, Huaxiang
Fu, Youyao
BAF-Net: Bidirectional attention fusion network via CNN and transformers for the pepper leaf segmentation
title BAF-Net: Bidirectional attention fusion network via CNN and transformers for the pepper leaf segmentation
title_full BAF-Net: Bidirectional attention fusion network via CNN and transformers for the pepper leaf segmentation
title_fullStr BAF-Net: Bidirectional attention fusion network via CNN and transformers for the pepper leaf segmentation
title_full_unstemmed BAF-Net: Bidirectional attention fusion network via CNN and transformers for the pepper leaf segmentation
title_short BAF-Net: Bidirectional attention fusion network via CNN and transformers for the pepper leaf segmentation
title_sort baf-net: bidirectional attention fusion network via cnn and transformers for the pepper leaf segmentation
topic Plant Science
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10083316/
https://www.ncbi.nlm.nih.gov/pubmed/37051074
http://dx.doi.org/10.3389/fpls.2023.1123410
work_keys_str_mv AT fangjiangxiong bafnetbidirectionalattentionfusionnetworkviacnnandtransformersforthepepperleafsegmentation
AT jianghoutao bafnetbidirectionalattentionfusionnetworkviacnnandtransformersforthepepperleafsegmentation
AT zhangshiqing bafnetbidirectionalattentionfusionnetworkviacnnandtransformersforthepepperleafsegmentation
AT sunlin bafnetbidirectionalattentionfusionnetworkviacnnandtransformersforthepepperleafsegmentation
AT huxudong bafnetbidirectionalattentionfusionnetworkviacnnandtransformersforthepepperleafsegmentation
AT liujun bafnetbidirectionalattentionfusionnetworkviacnnandtransformersforthepepperleafsegmentation
AT gongmeng bafnetbidirectionalattentionfusionnetworkviacnnandtransformersforthepepperleafsegmentation
AT liuhuaxiang bafnetbidirectionalattentionfusionnetworkviacnnandtransformersforthepepperleafsegmentation
AT fuyouyao bafnetbidirectionalattentionfusionnetworkviacnnandtransformersforthepepperleafsegmentation