Satellites and drones help us observe Earth, but separating living plants from dry grass in semi‑arid grasslands remains challenging. Researchers have developed a new AI model, SegFormer‑CPED, to map these two vegetation types with high precision. The system builds on the existing SegFormer architecture and adds three innovative modules. CBAM lets the network focus on fine details early in image processing, while PSA improves contextual understanding and reduces semantic loss. ECEM extracts sharp edge contours to refine boundaries between green and dry areas. Replacing the standard loss function, the team used Dice Loss, which better balances the two classes when one dominates. Tests on the Hengshan grassland achieved outstanding performance: a mean Intersection‑over‑Union of 93.26 % and an F1‑score of 96.44 %, outperforming many benchmark models. The generated maps align closely with ground‑truth data, showing the model’s potential to replace costly field surveys. This work paves the way for automated, fine‑grained monitoring of grassland health, supporting climate research and natural resource management.
The proposed SegFormer‑CPED model integrates several optimizations to enhance semantic segmentation of UAV imagery. The base architecture, SegFormer, combines a transformer backbone with pixel‑wise decoders, balancing resolution and context. Embedding the Convolutional Block Attention Module (CBAM) in the encoder boosts attention to local spatial and channel features, improving early‑stage perception. The Polarized Self‑Attention (PSA) module adds contextual awareness, mitigating semantic loss especially where PV and NPV boundaries are subtle. The Edge Contour Extraction Module (ECEM) applies an adaptive Sobel operator followed by contour‑guided upsampling to sharpen edges, yielding cleaner maps. Replacing Cross‑Entropy Loss with Dice Loss directly tackles class imbalance, a common issue when NPV dominates, leading to higher IoU and F1 scores. Ablation studies confirm synergistic effects: CBAM refines feature precision, PSA enhances contextual consistency, and ECEM reduces edge blurring. Spatiotemporal analysis on the Hengshan grassland shows that estimated fPV and fNPV fractions follow realistic seasonal patterns and correlate strongly (R² > 0.9) with ground‑truth data. Limitations include dependence on favorable weather for UAV flights and the need for high‑quality reference datasets for other ecosystems. Future work will explore multi‑sensor integration and self‑supervised learning to reduce labeling costs.
