Accurate cropland parcel mapping is essential for food security and sustainable land management in arid Africa, yet it remains challenging in Egypt due to edge blurring, spectral confusion, and fragmented fields in medium-resolution imagery. A novel dual-encoder deep learning method that integrates multi-scale axial attention and boundary constraints (MAA-BCNet) is proposed for the precise extraction of croplands in Egypt from Sentinel-2 multispectral images. A dual-path encoder is designed to fuse CNN-based local textures with an RMT global branch using spatial decay attention for complementary feature extraction. A multi-scale axial attention module is introduced to capture anisotropic parcel structures for improved spectral–spatial discrimination, and a multi-directional gradient edge enhancement module is developed for explicitly preserving boundary integrity. A U-Net++ decoder is employed for dense multi-scale aggregation. Experimental results in Egypt demonstrate that MAA-BCNet achieves superior performance in delineating cropland parcels, particularly for irregular or fragmented croplands with complex landscapes and fuzzy boundaries. Compared with the widely used segmentation models such as DeepLabV3ₚlus, PSPnet, Linkₙet, FCNᵣesnet101, and U-Net++ under the same training and evaluation settings, our model has the best performance, with Recall, Precision, IoU, and F1-Score reaching 94. 92%, 90. 77%, 86. 57%, and 92. 80%, respectively. These advancements make MAA-BCNet suitable for cropland mapping of large areas of Egypt, with applications in precision agriculture and sustainable land management.
Li et al. (Wed,) studied this question.