Benchmarking encoder-decoder architectures and input resolutions for rice lodging semantic segmentation using UAV RGB imagery
Main Article Content
Abstract
Rice lodging reduces yield and hinders mechanised harvesting; consequently, its timely delineation is important for field monitoring and damage assessment. This study benchmarks semantic segmentation models using UAV RGB imagery acquired during three field surveys in An Giang Province, Vietnam. The dataset contains 715 annotated images with four classes: Background, Lodged Rice, Ponds/Ditches, and Field Edges/Paths. Fifteen encoder–decoder configurations were first benchmarked at an input resolution of 512×512 pixels. Based on validation-set mIoU, one configuration from each decoder was then selected for further evaluation at 640 × 640 and 768 × 768 pixels: U-Net with a MiT-B1 encoder, DeepLabV3+ with an EfficientNet-B1 encoder, U-Net++ with a MobileNetV2 encoder, and SegFormer with a MiT-B1 encoder. To address class imbalance, training used a hybrid loss that combined Dice loss and weighted cross-entropy loss. At 512 × 512 pixels, SegFormer with the MiT-B1 encoder achieved the highest mIoU (66.72%) and mF1 scores (79.01%). At 640 × 640 pixels, DeepLabV3+ with the EfficientNet-B1 encoder achieved the highest mIoU (67.48%) and mF1-score (79.60%), whereas SegFormer with the MiT-B1 encoder obtained the highest mPA (91.23%). Increasing the input resolution to 768 × 768 pixels did not yield consistent improvements. Overall, 640 × 640 pixels provided the most favourable performance in terms of mIoU and mF1-score among the evaluated settings.
Article Details
Conflict of Interest

© 2026 The authors. This is an open access article distributed under the terms of the Creative Commons Attribution-NonCommercial 4.0 International License.
References
Azizi, A., Zhang, Z., Rui, Z., Li, Y., Igathinathane, C., Flores, P., Mathew, J., Pourreza, A., Han, X., & Zhang, M. (2024). Comprehensive wheat lodging detection after initial lodging using UAV RGB images. Expert Systems with Applications, 238, 121788. https://doi.org/10.1016/j.eswa.2023.121788
Bai, D., Li, D., Zhao, C., Wang, Z., Shao, M., Guo, B., Liu, Y., Wang, Q., Li, J., Guo, S., Wang, R., Li, Y., Qiu, L., & Jin, X. (2022). Estimation of soybean yield parameters under lodging conditions using RGB information from unmanned aerial vehicles. Frontiers in Plant Science, 13, 1012293. https://doi.org/10.3389/fpls.2022.1012293
Cai, W., Lu, K., Fan, M., Liu, C., Huang, W., Chen, J., Wu, Z., Xu, C., Ma, X., & Tan, S. (2024). Rice Growth-Stage Recognition Based on Improved YOLOv8 with UAV Imagery. Agronomy, 14(12), 2751. https://doi.org/10.3390/agronomy14122751
Celik, M. F., Nagarajan, P., Nelson, A., Unnisa, Z., Ogutu, B., Dash, J., Boschetti, M., Dobrowolska, E., Volden, E., & Darvishzadeh, R. (2026). Hyperspectral assessment of wheat lodging: From field to EnMAP satellite observations. International Journal of Applied Earth Observation and Geoinformation, 149, 105289. https://doi.org/10.1016/j.jag.2026.105289
Feng, G., Wang, C., Wang, A., Gao, Y., Zhou, Y., Huang, S., & Luo, B. (2024). Segmentation of Wheat Lodging Areas from UAV Imagery Using an Ultra-Lightweight Network. Agriculture, 14(2), 244. https://doi.org/10.3390/agriculture14020244
Guo, C., & Tan, F. (2025a). SWRD–YOLO: A Lightweight Instance Segmentation Model for Estimating Rice Lodging Degree in UAV Remote Sensing Images with Real-Time Edge Deployment. Agriculture, 15(15), 1570. https://doi.org/10.3390/agriculture15151570
Guo, C., & Tan, F. (2025b). SWRD–YOLO: A Lightweight Instance Segmentation Model for Estimating Rice Lodging Degree in UAV Remote Sensing Images with Real-Time Edge Deployment. Agriculture, 15(15), 1570. https://doi.org/10.3390/agriculture15151570
Li, W., & Zhao, S. (2022). Semantic segmentation of buildings in high-resolution remote sensing images based on DeepLabV3+ algorithm. Journal of Physics: Conference Series, 2400, 012037. https://doi.org/10.1088/1742-6596/2400/1/012037
Liu, P., Chai, X., Cui, Z., Zhu, Z., Hu, J., Yang, W., & Xu, L. (2026). StarNet-RiceSeg: An Efficient High-Dimensional Feature Mapping Network with Spatial Attention for Real-Time Rice Lodging Detection. Agriculture, 16(7), 775. https://doi.org/10.3390/agriculture16070775
Liu, P., Cui, Z., Hu, J., Zhang, Q., Sun, J., Chai, X., & Xu, L. (2025). Lodge-Unet: A dual-frequency feature fusion network with boundary-aware optimisation for wheat lodging detection via autonomous harvesters. Computers and Electronics in Agriculture, 238, 110769. https://doi.org/10.1016/j.compag.2025.110769
Pan, C., Xie, J., Zhang, G., Cheng, T., Han, D., Fang, Q., Ju, S., & Zhang, D. (2025). Real-time UAV-based wheat lodging detection via edge-accelerated improved Mask-RT-DETR. Smart Agricultural Technology, 12, 101509. https://doi.org/10.1016/j.atech.2025.101509
Phan, T. H., & Yamamoto, K. (2020). Resolving Class Imbalance in Object Detection with Weighted Cross Entropy Losses (arXiv:2006.01413). arXiv. https://doi.org/10.48550/arXiv.2006.01413
Sandler, M., Howard, A., Zhu, M., Zhmoginov, A., & Chen, L.-C. (n.d.). MobileNetV2: Inverted Residuals and Linear Bottlenecks.
Sudre, C. H., Li, W., Vercauteren, T., Ourselin, S., & Jorge Cardoso, M. (2017). Generalised Dice Overlap as a Deep Learning Loss Function for Highly Unbalanced Segmentation. In M. J. Cardoso, T. Arbel, G. Carneiro, T. Syeda-Mahmood, J. M. R. S. Tavares, M. Moradi, A. Bradley, H. Greenspan, J. P. Papa, A. Madabhushi, J. C. Nascimento, J. S. Cardoso, V. Belagiannis, & Z. Lu (Eds.), Deep Learning in Medical Image Analysis and Multimodal Learning for Clinical Decision Support (pp. 240–248). Springer International Publishing. https://doi.org/10.1007/978-3-319-67558-9_28
Tan, M., & Le, Q. (2019). EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. Proceedings of the 36th International Conference on Machine Learning, 6105–6114. https://proceedings.mlr.press/v97/tan19a.html
Wang, J., Wu, B., Kohnen, M. V., Lin, D., Yang, C., Wang, X., Qiang, A., Liu, W., Kang, J., Li, H., Shen, J., Yao, T., Su, J., Li, B., & Gu, L. (2021). Classification of Rice Yield Using UAV-Based Hyperspectral Imagery and Lodging Feature. Plant Phenomics, 2021, 9765952. https://doi.org/10.34133/2021/9765952
Wilke, N., Siegmann, B., Klingbeil, L., Burkart, A., Kraska, T., Muller, O., Van Doorn, A., Heinemann, S., & Rascher, U. (2019). Quantifying Lodging Percentage and Lodging Severity Using a UAV-Based Canopy Height Model Combined with an Objective Threshold Approach. Remote Sensing, 11(5), 515. https://doi.org/10.3390/rs11050515
Xie, E., Wang, W., Yu, Z., Anandkumar, A., Alvarez, J. M., & Luo, P. (2021). SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers. Advances in Neural Information Processing Systems, 34, 12077–12090. https://proceedings.neurips.cc/paper_files/paper/2021/hash/64f1f27bf1b4ec22924fd0acb550c235-Abstract.html
Yu, J., Cheng, T., Cai, N., Zhou, X.-G., Diao, Z., Wang, T., Du, S., Liang, D., & Zhang, D. (2023). Wheat Lodging Segmentation Based on Lstm_PSPNet Deep Learning Network. Drones, 7(2), 143. https://doi.org/10.3390/drones7020143
Zhang, P., Niu, L., Cai, M., Chen, H., & Sun, X. (2024a). AAUConvNeXt: Enhancing Crop Lodging Segmentation with Optimised Deep Learning Architectures. Plant Phenomics, 6, 0182. https://doi.org/10.34133/plantphenomics.0182
Zhang, P., Zhang, S., Wang, J., & Sun, X. (2024b). Identifying rice lodging based on semantic segmentation architecture optimisation with UAV remote sensing imaging. Computers and Electronics in Agriculture, 227, 109570. https://doi.org/10.1016/j.compag.2024.109570
Zhang, X., Han, X., Qin, C., An, Z., Qi, B., Liu, J., Du, B., Liu, H., Wang, Y., Meng, L., & Wang, C. (2025). A Multi-Scale Rice Lodging Monitoring Method Based on MSR-Lodfnet. Agriculture, 15(23), 2487. https://doi.org/10.3390/agriculture15232487
Zhao, X., Yuan, Y., Song, M., Ding, Y., Lin, F., Liang, D., & Zhang, D. (2019). Use of Unmanned Aerial Vehicle Imagery and Deep Learning UNet to Extract Rice Lodging. Sensors, 19(18), 3859. https://doi.org/10.3390/s19183859
Zhi, H., Yang, B., & Zhu, Y. (2023). Collaborative Wheat Lodging Segmentation Semi-Supervised Learning Model Based on RSE-BiSeNet Using UAV Imagery. Agronomy, 13(11), 2772. https://doi.org/10.3390/agronomy13112772
Zhou, Z., Rahman Siddiquee, M. M., Tajbakhsh, N., & Liang, J. (2018). UNet++: A Nested U-Net Architecture for Medical Image Segmentation. In D. Stoyanov, Z. Taylor, G. Carneiro, T. Syeda-Mahmood, A. Martel, L. Maier-Hein, J. M. R. S. Tavares, A. Bradley, J. P. Papa, V. Belagiannis, J. C. Nascimento, Z. Lu, S. Conjeti, M. Moradi, H. Greenspan, & A. Madabhushi (Eds.), Deep Learning in Medical Image Analysis and Multimodal Learning for Clinical Decision Support (pp. 3–11). Springer International Publishing. https://doi.org/10.1007/978-3-030-00889-5_1