Cargando…
A Crop Image Segmentation and Extraction Algorithm Based on Mask RCNN
The wide variety of crops in the image of agricultural products and the confusion with the surrounding environment information makes it difficult for traditional methods to extract crops accurately and efficiently. In this paper, an automatic extraction algorithm is proposed for crop images based on...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8469590/ https://www.ncbi.nlm.nih.gov/pubmed/34573785 http://dx.doi.org/10.3390/e23091160 |
_version_ | 1784573972709376000 |
---|---|
author | Wang, Shijie Sun, Guiling Zheng, Bowen Du, Yawen |
author_facet | Wang, Shijie Sun, Guiling Zheng, Bowen Du, Yawen |
author_sort | Wang, Shijie |
collection | PubMed |
description | The wide variety of crops in the image of agricultural products and the confusion with the surrounding environment information makes it difficult for traditional methods to extract crops accurately and efficiently. In this paper, an automatic extraction algorithm is proposed for crop images based on Mask RCNN. First, the Fruits 360 Dataset label is set with Labelme. Then, the Fruits 360 Dataset is preprocessed. Next, the data are divided into a training set and a test set. Additionally, an improved Mask RCNN network model structure is established using the PyTorch 1.8.1 deep learning framework, and path aggregation and features are added to the network design enhanced functions, optimized region extraction network, and feature pyramid network. The spatial information of the feature map is saved by the bilinear interpolation method in ROIAlign. Finally, the edge accuracy of the segmentation mask is further improved by adding a micro-fully connected layer to the mask branch of the ROI output, employing the Sobel operator to predict the target edge, and adding the edge loss to the loss function. Compared with FCN and Mask RCNN and other image extraction algorithms, the experimental results demonstrate that the improved Mask RCNN algorithm proposed in this paper is better in the precision, Recall, Average precision, Mean Average Precision, and F1 scores of crop image extraction results. |
format | Online Article Text |
id | pubmed-8469590 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-84695902021-09-27 A Crop Image Segmentation and Extraction Algorithm Based on Mask RCNN Wang, Shijie Sun, Guiling Zheng, Bowen Du, Yawen Entropy (Basel) Article The wide variety of crops in the image of agricultural products and the confusion with the surrounding environment information makes it difficult for traditional methods to extract crops accurately and efficiently. In this paper, an automatic extraction algorithm is proposed for crop images based on Mask RCNN. First, the Fruits 360 Dataset label is set with Labelme. Then, the Fruits 360 Dataset is preprocessed. Next, the data are divided into a training set and a test set. Additionally, an improved Mask RCNN network model structure is established using the PyTorch 1.8.1 deep learning framework, and path aggregation and features are added to the network design enhanced functions, optimized region extraction network, and feature pyramid network. The spatial information of the feature map is saved by the bilinear interpolation method in ROIAlign. Finally, the edge accuracy of the segmentation mask is further improved by adding a micro-fully connected layer to the mask branch of the ROI output, employing the Sobel operator to predict the target edge, and adding the edge loss to the loss function. Compared with FCN and Mask RCNN and other image extraction algorithms, the experimental results demonstrate that the improved Mask RCNN algorithm proposed in this paper is better in the precision, Recall, Average precision, Mean Average Precision, and F1 scores of crop image extraction results. MDPI 2021-09-03 /pmc/articles/PMC8469590/ /pubmed/34573785 http://dx.doi.org/10.3390/e23091160 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Wang, Shijie Sun, Guiling Zheng, Bowen Du, Yawen A Crop Image Segmentation and Extraction Algorithm Based on Mask RCNN |
title | A Crop Image Segmentation and Extraction Algorithm Based on Mask RCNN |
title_full | A Crop Image Segmentation and Extraction Algorithm Based on Mask RCNN |
title_fullStr | A Crop Image Segmentation and Extraction Algorithm Based on Mask RCNN |
title_full_unstemmed | A Crop Image Segmentation and Extraction Algorithm Based on Mask RCNN |
title_short | A Crop Image Segmentation and Extraction Algorithm Based on Mask RCNN |
title_sort | crop image segmentation and extraction algorithm based on mask rcnn |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8469590/ https://www.ncbi.nlm.nih.gov/pubmed/34573785 http://dx.doi.org/10.3390/e23091160 |
work_keys_str_mv | AT wangshijie acropimagesegmentationandextractionalgorithmbasedonmaskrcnn AT sunguiling acropimagesegmentationandextractionalgorithmbasedonmaskrcnn AT zhengbowen acropimagesegmentationandextractionalgorithmbasedonmaskrcnn AT duyawen acropimagesegmentationandextractionalgorithmbasedonmaskrcnn AT wangshijie cropimagesegmentationandextractionalgorithmbasedonmaskrcnn AT sunguiling cropimagesegmentationandextractionalgorithmbasedonmaskrcnn AT zhengbowen cropimagesegmentationandextractionalgorithmbasedonmaskrcnn AT duyawen cropimagesegmentationandextractionalgorithmbasedonmaskrcnn |