journal article·2022-08-02Open access

Semantic Segmentation of Agricultural Images Based on Style Transfer Using Conditional and Unconditional Generative Adversarial Networks

Hirokazu Madokoro, Kota Takahashi, Satoshi Yamamoto, Stephanie Nix, Shun Chiyonobu, Kazuki Saruta, Takashi K. Saito, Yo Nishimura, Kazuhito Sato

Applied Sciences· Volume 12· Issue 15

Abstract

Classification, segmentation, and recognition techniques based on deep-learning algorithms are used for smart farming. It is an important and challenging task to reduce the time, burden, and cost of annotation procedures for collected datasets from fields and crops that are changing in a wide variety of ways according to growing, weather patterns, and seasons. This study was conducted to generate crop image datasets for semantic segmentation based on an image style transfer using generative adversarial networks (GANs). To assess data-augmented performance and calculation burdens, our proposed framework comprises contrastive unpaired translation (CUT) for a conditional GAN, pix2pixHD for an unconditional GAN, and DeepLabV3+ for semantic segmentation. Using these networks, the proposed framework provides not only image generation for data augmentation, but also automatic labeling based on distinctive feature learning among domains. The Fréchet inception distance (FID) and mean intersection over union (mIoU) were used, respectively, as evaluation metrics for GANs and semantic segmentation. We used a public benchmark dataset and two original benchmark datasets to evaluate our framework of four image-augmentation types compared with the baseline without using GANs. The experimentally obtained results showed the efficacy of using augmented images, which we evaluated using FID and mIoU. The mIoU scores for the public benchmark dataset improved by 0.03 for the training subset, while remaining similar on the test subset. For the first original benchmark dataset, the mIoU scores improved by 0.01 for the test subset, while they dropped by 0.03 for the training subset. Finally, the mIoU scores for the second original benchmark dataset improved by 0.18 for the training subset and 0.03 for the test subset.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Smart Agriculture and AI · Advanced Neural Network Applications · Generative Adversarial Networks and Image Synthesis

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Software and Information Science, Iwate Prefectural University, Takizawa 020-0693, Japan

Faculty of Systems Science and Technology, Akita Prefectural University, Yurihonjo 015-0055, Japan

Faculty of Bioresource Sciences, Akita Prefectural University, Akita 010-0195, Japan

Graduate School of International Resource Sciences, Akita University, Akita 010-8502, Japan

Agri-Innovation Education and Research Center, Akita Prefectural University, Ogata 010-0444, Japan

Funding

Japan Society for the Promotion of Science (JSPS) KAKENHI

References (100+)

Show source-provided references
1. Saiz-Rubio, V., and Rovira-Más, F. (2020). From Smart Farming towards Agriculture 5.0: A Review on Crop Data Management. Agronomy, 10.10.3390/agronomy10020207 ↗
2. A Survey on the Role of IoT in Agriculture for the Implementation of Smart Farming10.1109/ACCESS.2019.2949703 ↗
3. Development of an Adaptive Approach for Precision Agriculture Monitoring with Drone and Satellite Data10.1109/JSTARS.2017.2746185 ↗
4. Deep learning10.1038/nature14539 ↗
5. Deep learning in agriculture: A survey10.1016/j.compag.2018.02.016 ↗
6. Deep Reinforcement Learning for Autonomous Driving: A Survey10.1109/TITS.2021.3054625 ↗
7. Deep Learning for Biometrics: A Survey10.1145/3190618 ↗
8. A survey on deep learning in medical image analysis10.1016/j.media.2017.07.005 ↗
9. Machine Learning Applications for Precision Agriculture: A Comprehensive Review10.1109/ACCESS.2020.3048415 ↗
10. Liakos, K.G., Busato, P., Moshou, D., Pearson, S., and Bochtis, D. (2018). Machine Learning in Agriculture: A Review. Sensors, 18.10.3390/s18082674 ↗
11. Benos, L., Tagarakis, A.C., Dolias, G., Berruto, R., Kateris, D., and Bochtis, D. (2021). Machine Learning in Agriculture: A Comprehensive Updated Review. Sensors, 21.10.3390/s21113758 ↗
12. Balducci, F., Impedovo, D., and Pirlo, G. (2018). Machine Learning Applications on Agricultural Datasets for Smart Farm Enhancement. Machines, 6.10.3390/machines6030038 ↗
13. Big Data in Smart Farming: A review10.1016/j.agsy.2017.01.023 ↗
14. Lu, X., Wang, W., Shen, J., Tai, Y.-W., Crandall, D.J., and Hoi, S.C.H. (2020, January 14–19). Learning Video Object Segmentation From Unlabeled Videos. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Virtual.10.1109/CVPR42600.2020.00898 ↗
15. Du, X., Jiang, C., Xu, H., Zhang, G., and Li, Z. (2021, January 2–9). How to Save your Annotation Cost for Panoptic Segmentation?. Proceedings of the AAAI Conference on Artificial Intelligence, Virtual.10.1609/aaai.v35i2.16216 ↗
16. Smart Farming Becomes Even Smart with Deep Learning—A Bibliographical Analysis10.1109/ACCESS.2020.3000175 ↗
17. Thoma, M. (2016). A survey of semantic segmentation. arXiv.
18. Milioto, A., Lottes, P., and Stachniss, C. (2018, January 21–25). Real-Time Semantic Segmentation of Crop and Weed for Precision Agriculture Robots Leveraging Background Knowledge in CNNs. Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), Brisbane, QLD, Australia.10.1109/ICRA.2018.8460962 ↗
19. Kirillov, A., He, K., Girshick, R., Rother, C., and Dollar, P. (2019, January 16–20). Panoptic Segmentation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.10.1109/CVPR.2019.00963 ↗
20. Instance segmentation for the fine detection of crop and weed plants by precision agricultural robots10.1002/aps3.11373 ↗
21. He, K., Gkioxari, G., Dollár, P., and Girshick, R. (2017, January 22–29). MaskR-CNN. Proceedings of the IEEE International Conference on Computer Vision, (ICCV), Venice, Italy.10.1109/ICCV.2017.322 ↗
22. Zheng, Y.-Y., Kong, J.-L., Jin, X.-B., Wang, X.-Y., Su, T.-L., and Zuo, M. (2019). CropDeep: The Crop Vision Dataset for Deep-Learning-Based Classification and Detection in Precision Agriculture. Sensors, 19.10.3390/s19051058 ↗
23. Neural Style Transfer: A Critical Review10.1109/ACCESS.2021.3112996 ↗
24. Gatys, L.A., Ecker, A.S., and Bethge, M. (July, January 26). Image Style Transfer Using Convolutional Neural Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.
25. Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y. (2014, January 8–13). Generative Adversarial Networks. Proceedings of the International Conference on Neural Information Processing Systems (NIPS), Montreal, QC, Canada.
26. Rozantsev, A., Lepetit, V., and Fua, P. (2014). On rendering synthetic images for training an object detector. arXiv.10.1016/j.cviu.2014.12.006 ↗
27. Rematas, K., Ritschel, T., Fritz, M., and Tuytelaars, T. (2014, January 24–27). Image-based Synthesis and Re-Synthesis of Viewpoints Guided by 3D Models. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Columbus, OH, USA.10.1109/CVPR.2014.498 ↗
28. Pishchulin, L., Jain, A., and Andriluka, M. (2012, January 16–21). Articulated People Detection and Pose Estimation: Reshaping the Future. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Providence, RI, USA.10.1109/CVPR.2012.6248052 ↗
29. Virtual and real world adaptation for pedestrian detection
30. Ros, G., Sellart, L., Materzynska, J., Vazquez, D., and Lopez, A.M. (July, January 26). The SYNTHIA Dataset: A Large Collection of Synthetic Images for Semantic Segmentation of Urban Scenes. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.
31. Backpropagation Applied to Handwritten Zip Code Recognition10.1162/neco.1989.1.4.541 ↗
32. Simonyan, K., and Zisserman, A. (2014, January 8–13). Two-stream convolutional networks for action recognition in videos. Proceedings of the International Conference on Neural Information Processing Systems (NIPS), Montreal, QC, Canada.
33. Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., and Wojna, Z. (July, January 26). Rethinking the inception architecture for computer vision. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.
34. He, K., Zhang, X., Ren, S., and Sun, J. (July, January 26). Deep Residual Learning for Image Recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.
35. Xie, S., Girshick, R., Dollár, P., Tu, Z., and He, K. (2017, January 21–26). Aggregated residual transformations for deep neural networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.634 ↗
36. Huang, G., Liu, Z., Maaten, L., and Weinberger, K. (2017, January 21–26). Densely connected convolutional networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.243 ↗
37. Howard, A., Zhu, M., Chen, B., Kalenichenko, D., Wang, W., Weyand, T., Andreetto, M., and Adam, H. (2017). MobileNets: Efficient convolutional neural networks for mobile vision applications. arXiv.
38. Tan, M., and Le, Q. (2019, January 9–15). Efficientnet: Rethinking model scaling for convolutional neural networks. Proceedings of the 36th International Conference on Machine Learning (ICML), Long Beach, CA, USA.
39. Radosavovic, I., Kosaraju, R.P., Girshick, R., He, K., and Dollár, P. (2020, January 14–19). Designing network design spaces. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Virtual.10.1109/CVPR42600.2020.01044 ↗
40. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2017, January 4–9). Attention is All You Need. Proceedings of the Conference on Neural Information Processing Systems (NIPS), Long Beach, CA, USA.
41. Xie, E., Wang, W., Yu, Z., Anandkumar, A., Alvarez, J.M., and Luo, P. (2021, January 6–14). SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers. Proceedings of the Conference on Neural Information Processing Systems (NIPS), Virtual.
42. Strudel, R., Garcia, R., Laptev, I., and Schmid, C. (2021, January 11–17). Segmenter: Transformer for Semantic Segmentation. Proceedings of the International Conference on Computer Vision (ICCV), Virtual.10.1109/ICCV48922.2021.00717 ↗
43. Zheng, S., Lu, J., Zhao, H., Zhu, X., Luo, Z., Wang, Y., Fu, Y., Feng, J., Xiang, T., and Torr, Z.P.H.S. (2021, January 19–25). Rethinking Semantic Segmentation From a Sequence-to-Sequence Perspective With Transformers. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Virtual.10.1109/CVPR46437.2021.00681 ↗
44. Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., and Guo, B. (2021, January 11–17). Swin Transformer: Hierarchical Vision Transformer Using Shifted Windows. Proceedings of the International Conference on Computer Vision (ICCV), Virtual.10.1109/ICCV48922.2021.00986 ↗
45. On Data Augmentation for GAN Training10.1109/TIP.2021.3049346 ↗
46. Tanaka, F.H.K.S., and Aranha, C. (2019). Data Augmentation Using GANs. arXiv.
47. A survey on Image Data Augmentation for Deep Learning10.1186/s40537-019-0197-0 ↗
48. Huang, S.-W., Lin, C.-T., Chen, S.-P., Wu, Y.-Y., Hsu, P.-H., and Lai, S.-H. (2018, January 8–14). AugGAN: Cross Domain Adaptation with GAN-based Data Augmentation. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-01240-3_44 ↗
49. Choi, J., Kim, T., and Kim, C. (November, January 27). Self-Ensembling with GAN-Based Data Augmentation for Domain Adaptation in Semantic Segmentation. Proceedings of the International Conference on Computer Vision (ICCV), Seoul, Korea.
50. Axiomatic definition of the value of a matrix game10.1137/1108035 ↗
51. Radford, A., and Metz, L. (2015). Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks. arXiv.
52. Zhao, J., Mathieu, M., and LeCun, Y. (2017). Energy-based Generative Adversarial Network. arXiv.
53. Berthelot, D., Schumm, T., and Metz, L. (2017). BEGAN: Boundary Equilibrium Generative Adversarial Networks. arXiv.
54. Reducing the Dimensionality of Data with Neural Networks10.1126/science.1127647 ↗
55. Karras, T., Aila, T., Laine, S., and Lehtinen, J. (2018). Progressive Growing of GAN for Improved Quality, Stability, and Variation. arXiv.
56. Huang, X., and Belongie, S.J. (2017). Arbitrary style transfer in real-time with adaptive instance normalization. arXiv.10.1109/ICCV.2017.167 ↗
57. Karras, T., Laine, S., and Aila, T. (2019, January 16–20). A Style-Based Generator Architecture for Generative Adversarial Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.10.1109/CVPR.2019.00453 ↗
58. Bermano, A.H., Gal, R., Alaluf, Y., Mokady, R., Nitzan, Y., Tov, O., Patashnik, O., and Cohen-Or, D. (2022). State-of-the-Art in the Architecture, Methods and Applications of StyleGAN. arXiv.10.1111/cgf.14503 ↗
59. Wang, X., Yu, K., Wu, S., Gu, J., Liu, Y., Dong, C., Loy, C.C., Qiao, Y., and Tang, X. (2018, January 8–14). ESRGAN: Enhanced Super-Resolution Generative Adversarial Networks. Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany.10.1007/978-3-030-11021-5_5 ↗
60. Zhang, H., Xu, T., Li, H., Zhang, S., Wang, X., Huang, X., and Metaxas, D. (2017, January 22–29). StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networks. Proceedings of the International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.629 ↗
61. Neural Style Transfer: A Review10.1109/TVCG.2019.2921336 ↗
62. Zhao, W., Yamada, W., Li, T., Digman, M., and Runge, T. (2021). Augmenting Crop Detection for Precision Agriculture with Deep Visual Transfer Learning—Case Study of Bale Detection. Remote Sens., 13.10.3390/rs13010023 ↗
63. Mirza, M., and Osindero, S. (2014). Conditional Generative Adversarial Nets. arXiv.
64. Isola, P., Zhu, J.Y., Zhou, T., and Efros, A.A. (2017, January 21–26). Image-to-image translation with conditional adversarial networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.632 ↗
65. Wang, T.C., Liu, M.Y., Tao, A., Kautz, J., and Catanzaro, B. (2018, January 19–21). High-Resolution Image Synthesis and Semantic Manipulation with Conditional GAN. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA.10.1109/CVPR.2018.00917 ↗
66. Lee, C.H., Liu, Z., Wu, L., and Luo, P. (2020, January 14–19). Maskgan: Towards diverse and interactive facial image manipulation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Virtual.10.1109/CVPR42600.2020.00559 ↗
67. Park, T., Liu, M.Y., Wang, T.C., and Zhu, J.Y. (2019, January 16–20). Semantic image synthesis with spatially adaptive normalization. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA.10.1109/CVPR.2019.00244 ↗
68. Sushko, V., Schonfeld, E., Zhang, D., Gall, J., Schiele, B., and Khoreva, A. (2021, January 3–7). You Only Need Adversarial Supervision for Semantic Image Synthesis. Proceedings of the International Conference on Learning Representations (ICLR), Virtual.
69. Simonyan, K., and Zisserman, A. (2015). Very Deep Convolutional Networks for Large-Scale Image Recognition. arXiv.
70. Zhu, J.Y., Park, T., Isola, P., and Efros, A.A. (2017, January 22–29). Unpaired image-to-image translation using cycle-consistent adversarial networks. Proceedings of the International Conference on Computer Vision (ICCV), Venice, Italy.10.1109/ICCV.2017.244 ↗
71. Park, T., Efros, A.A., Zhang, R., and Zhu, J.Y. (2020, January 23–28). Contrastive Learning for Unpaired Image-to-Image Translation. Proceedings of the European Conference on Computer Vision (ECCV), Virtual.10.1007/978-3-030-58545-7_19 ↗
72. Ronneberger, O., Fischer, P., and Brox, T. (2015, January 5–9). U-Net: Convolutional Networks for Biomedical Image Segmentation. Proceedings of the Medical Image Computing and Computer-Assisted Intervention (MICCAI), Munich, Germany.10.1007/978-3-319-24574-4_28 ↗
73. Eskandar, G., Abdelsamad, M., Armanious, K., and Yang, B. (2021). USIS: Unsupervised Semantic Image Synthesis. arXiv.10.2139/ssrn.4197636 ↗
74. Jaiswal, A., Babu, A.R., Zadeh, M.Z., Banerjee, D., and Makedon, F.A. (2021). Survey on Contrastive Self-Supervised Learning. Technologies, 9.10.3390/technologies9010002 ↗
75. Eskandar, G., Abdelsamad, M., Armanious, K., Zhang, S., and Yang, B. (2022, January 23–27). Wavelet-Based Unsupervised Label-to-Image Translation. Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Singapore.10.1109/ICASSP43922.2022.9746759 ↗
76. Recent Advances of Generative Adversarial Networks in Computer Vision10.1109/ACCESS.2018.2886814 ↗
77. Recent Progress on Generative Adversarial Networks (GANs): A Survey10.1109/ACCESS.2019.2905015 ↗
78. Generative Adversarial Networks in Human Emotion Synthesis: A Review10.1109/ACCESS.2020.3042328 ↗
79. Weed diversity and weed management10.1017/S0043174500092985 ↗
80. Madokoro, H., Yamamoto, S., Nishimura, Y., Nix, S., Woo, H., and Sato, K. (2021). Prototype Development of Small Mobile Robots for Mallard Navigation in Paddy Fields: Toward Realizing Remote Farming. Robotics, 10.10.3390/robotics10020063 ↗
81. Image Segmentation Using Deep Learning: A Survey
82. Recent progress in semantic image segmentation10.1007/s10462-018-9641-3 ↗
83. Methods and datasets on semantic segmentation: A review10.1016/j.neucom.2018.03.037 ↗
84. A Lightweight GAN Network for Large Scale Fingerprint Generation
85. Chen, T., Kornblith, S., Norouzi, M., and Hinton, G. (2020, January 13–18). A simple framework for contrastive learning of visual representations. Proceedings of the 36th International Conference on Machine Learning (ICML), Virtual.
86. Pang, T., Xu, K., Dong, Y., Du, C., Chen, N., and Zhu, J. (2020). Rethinking Softmax Cross-Entropy Loss for Adversarial Robustness. arXiv.
87. Taxicab Geometry
88. Toldo, M., Maracani, A., Michieli, U., and Zanuttigh, P. (2020). Unsupervised Domain Adaptation in Semantic Segmentation: A Review. Technologies, 8.10.3390/technologies8020035 ↗
89. Zhang, S., Benenson, R., and Schiele, B. (2017, January 21–26). CityPersons: A Diverse Dataset for Pedestrian Detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.474 ↗
90. Semantic segmentation of pancreatic medical images by using convolutional neural network10.1016/j.bspc.2021.103458 ↗
91. Ivanovs, M., Ozols, K., Dobrajs, A., and Kadikis, R. (2022). Improving Semantic Segmentation of Urban Scenes for Self-Driving Cars with Synthetic Images. Sensors, 22.10.3390/s22062252 ↗
92. Kerle, N., Nex, F., Gerke, M., Duarte, D., and Vetrivel, A. (2020). UAV-Based Structural Damage Mapping: A Review. ISPRS Int. J. Geo-Inf., 9.10.3390/ijgi9010014 ↗
93. Yu, R., Li, H., Jiang, Y., Zhang, B., and Wang, Y. (2022). Tiny Vehicle Detection for Mid-to-High Altitude UAV Images Based on Visual Attention and Spatial–Temporal Information. Sensors, 22.10.3390/s22062354 ↗
94. Xu, Z., Zhang, W., Zhang, T., and Li, J. (2021). HRCNet: High-Resolution Context Extraction Network for Semantic Segmentation of Remote Sensing Images. Remote Sens., 13.10.3390/rs13122290 ↗
95. Costa, M.V.C.V.d., Carvalho, O.L.F.d., Orlandi, A.G., Hirata, I., Albuquerque, A.O.d., Silva, F.V.e., Guimarães, R.F., Gomes, R.A.T., and Júnior, O.A.d.C. (2021). Remote Sensing for Monitoring Photovoltaic Solar Plants in Brazil Using Deep Semantic Segmentation. Energies, 14.10.3390/en14102960 ↗
96. A Review on State-of-the-Art Power Line Inspection Techniques10.1109/TIM.2020.3031194 ↗
97. Shin, Y.-H., Son, K.-W., and Lee, D.-C. (2022). Semantic Segmentation and Building Extraction from Airborne LiDAR Data with Multiple Return Using PointNet++. Appl. Sci., 12.10.3390/app12041975 ↗
98. Craye, C., and Ardjoune, S. (2019, January 18–21). Spatiotemporal Semantic Segmentation for Drone Detection. Proceedings of the 16th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS), Taipei, Taiwan.10.1109/AVSS.2019.8909854 ↗
99. Added value of gaze-exploiting semantic representation to allow robots inferring human behaviors10.1145/2939381 ↗
100. Systematic Review of Computer Vision Semantic Analysis in Socially Assistive Robotics10.3390/ai3010014 ↗