1. Introduction
Sugarcane is one of the world’s major sugar crops and an important bioenergy feedstock, playing a critical role in ensuring sugar security and supporting sustainable agricultural development [
1]. Guangxi contributes over 60% of national sugarcane production and is China’s largest sugarcane-producing region. Accurate mapping of sugarcane distribution in this region is essential for yield forecasting and precision agriculture management [
2,
3,
4]. However, in complex karst landscapes, sugarcane monitoring via remote sensing faces considerable challenges. Highly fragmented agricultural landscapes result in scattered planting plots with irregular boundaries, where sugarcane is often intermixed with adjacent crops and exposed carbonate rocks. Meanwhile, persistent cloud cover under the subtropical climate causes severe gaps in optical time-series data. These gaps degrade spectral separability during critical phenological stages, substantially limiting the performance of traditional classification algorithms that rely on complete temporal profiles, particularly in cloud-prone and finely fragmented agricultural settings [
5,
6]. Consequently, optical data alone are insufficient for reliable, large-scale crop identification [
7,
8]—a limitation that is especially pronounced in karst environments characterized by fragmented terrain, severe spectral mixing, topographic shadowing, and frequent cloud cover.
To overcome the spatiotemporal discontinuity of optical imagery, synthetic aperture radar (SAR) serves as an important complementary data source for multimodal collaborative monitoring. Compared with optical sensors, SAR offers two distinct advantages: its all-weather imaging capability ensures data acquisition regardless of weather and atmospheric conditions, guaranteeing temporal continuity in persistently cloudy subtropical regions [
9]; its sensitivity to vegetation geometric structure and surface roughness provides structural information complementary to spectral signatures [
10]. These advantages make SAR highly valuable for crop monitoring in cloudy regions. However, in karst environments, the application of SAR data is affected by multiple interacting factors: speckle noise arising from the coherent imaging mechanism [
11,
12,
13], topographic distortions caused by side-looking geometry over undulating terrain [
14], and residual local nonlinear pixel shifts—i.e., non-rigid deformation—that persist after global rigid registration between optical and SAR modalities [
15,
16,
17]. Speckle noise and topographic deformation interact spatially, further exacerbating the misalignment and confusion of multimodal features and collectively introducing systematic errors into heterogeneous feature fusion [
18,
19].
In recent years, deep learning methods have achieved notable progress in multimodal remote sensing segmentation [
20,
21,
22]. However, when applied to the specific challenges of karst environments, existing methods still exhibit clear limitations. On one hand, they struggle to balance noise suppression and edge preservation. MCANet [
23] employs cross-attention for optical–SAR feature fusion but lacks explicit edge-preserving modules, resulting in over-smoothed boundaries in fine-grained scenes. CMTFNet [
24] and UNetFormer [
25] leverage Transformer architectures for global context modeling, yet their self-attention mechanisms tend to generate overly smooth predictions that fail to preserve narrow and irregular parcel boundaries. MCCANet [
26] introduces boundary supervision via auxiliary losses, but this operates at the loss level rather than the feature level, providing only limited capability for dynamic edge preservation. On the other hand, the ability to model non-rigid geometric deformation remains absent [
27]. Most optical–SAR fusion methods—including MCANet and its variants—assume rigid alignment between modalities after preprocessing, lacking explicit mechanisms to compensate for terrain-induced pixel shifts. Although deformable convolution has been preliminarily explored in remote sensing [
28], it is typically applied to single-modal imagery and is not integrated with cross-modal attention to preserve semantic consistency. In summary, existing frameworks face two core bottlenecks in karst environments. First, the lack of explicit structural priors makes it difficult to decouple high-frequency speckle noise from real land-cover textures [
29]; conventional smoothing methods inevitably blur fine parcel boundaries while suppressing noise, leading to severe omission of small-scale plots [
30]. Second, the neglect of non-rigid deformation—coupled with the rigid alignment assumption—can cause local semantic misalignment and feature contamination, severely disrupting segmentation decision boundaries [
31].
To this end, this study proposes a collaborative segmentation framework, named UNet-DFH, for fine-scale sugarcane extraction in karst regions. The main contributions of this study are as follows: (1) We construct a dedicated optical–SAR collaborative sugarcane extraction dataset for a typical karst region, alleviating the scarcity of multimodal labeled samples in this environment. (2) We propose the UNet-DFH collaborative segmentation network, in which a Multi-Scale Edge Fusion (MSEF) module achieves dynamic edge preservation in the shallow decoding stages to enhance boundaries and topological details of small plots, while an Attention-Deformable Fusion Module (ADFM) decouples global context from local non-rigid deformation in the deep semantic stages, improving the elastic representation of cross-modal features. (3) We demonstrate that under strong noise and terrain distortion, the joint mechanism of dynamic edge-preserving filtering and non-rigid deformation decoupling produces a synergistic effect that illustrates the inherent precision-recall trade-off. This provides useful insights for fine-scale crop extraction from multi-source remote sensing in complex land forms.
2. Methods
2.1. Study Area
This study selected a typical karst region in Chongzuo City, Guangxi Zhuang Autonomous Region, China, as the study area. Chongzuo is located in southwestern Guangxi (approximately 21°36′–23°22′N, 106°33′–108°6′E) and covers a total area of approximately 17,300 km
2. The region is characterized by highly undulating karst terrain, with widespread exposures of carbonate rocks and fragmented agricultural landscapes. Sugarcane planting plots are predominantly small and fragmented, with irregular boundaries. These features pose significant challenges for remote sensing interpretation. The study area has a subtropical monsoon climate. Persistent cloud cover and frequent rainfall are common throughout the growing season. As a result, optical remote sensing imagery is often obscured by cloud cover during critical phenological stages of sugarcane. Sugarcane cultivation in the study area is primarily under decentralized smallholder management, and sugarcane often intermingles with maize, forestland, and other crops. This leads to severe spectral confusion. Therefore, the area is suitable for validating fine-scale segmentation methods in complex agricultural settings, as shown in
Figure 1.
2.2. Sentinel Imagery Acquisition and Preprocessing
2.2.1. Data Source
This study used Sentinel-2 multispectral optical imagery and Sentinel-1 C-band synthetic aperture radar (SAR) data to construct the experimental dataset. Both datasets were obtained from the European Space Agency’s Copernicus Open Access Hub (
https://dataspace.copernicus.eu/ (accessed on 23 July 2025)) and were subsequently preprocessed using the ESA Sentinel Application Platform (SNAP) version 10.0.0.
Sentinel-2 data: Multispectral images were downloaded as Level-1C (L1C) top-of-atmosphere reflectance products. To ensure image clarity, only acquisitions with less than 15% cloud cover were selected. Considering the variations in sugarcane phenology across Guangxi, two scenes were chosen to represent critical growth stages: the tillering stage (5 March 2024) and the sugar accumulation and maturity stage (10 November 2024). After preprocessing, four spectral bands with a native spatial resolution of 10 m were retained for analysis: blue (B2), green (B3), red (B4), and near-infrared (B8).
Sentinel-1 data: SAR data were acquired in Interferometric Wide Swath (IW) mode as Ground Range Detected (GRD) products, consisting of dual-polarization (VV and VH) channels. In this study, we utilized only the VV polarization band, as it is more sensitive to surface structure and canopy morphology—key factors for distinguishing fragmented sugarcane plots in karst environments. The VH band was not included, as it is more susceptible to volume scattering noise from vegetation density variations. In this acquisition mode, the single-look slant-range resolution is approximately 5 m × 20 m (range × azimuth). After multi-looking and ground-range projection, the standard GRD product has a pixel spacing of 10 m × 10 m, with an effective spatial resolution of approximately 20 m × 22 m. To ensure temporal compatibility with the optical data, SAR acquisitions were selected within a maximum time difference of six days from the corresponding Sentinel-2 overpasses.
Auxiliary data: The Shuttle Radar Topography Mission (SRTM) Global 1 arc second (GL1) Version 3 digital elevation model (DEM) with a 30 m spatial resolution was used for SAR terrain correction, as shown in
Table 1.
2.2.2. Data Preprocessing
To eliminate differences in sensor imaging mechanisms and ensure spatiotemporal consistency, rigorous preprocessing and spatial registration were applied to all data. The complete processing workflow is detailed below.
Sentinel-2 preprocessing: The L1C products were atmospherically corrected using the official Sen2Cor tool (v2.11) to generate Level-2A (L2A) bottom-of-atmosphere (BOA) reflectance images, eliminating aerosol interference. The accompanying scene classification masks were used to exclude cloudy pixels. Since the four selected bands (B2, B3, B4, B8) already had a native resolution of 10 m, no further spatial resampling was required for the optical data.
Sentinel-1 preprocessing: The GRD products were processed using the following sequential steps. First, precise orbit state vectors were applied for orbit correction. Second, thermal noise removal was performed. Third, radiometric calibration was conducted to convert digital pixel values to backscatter coefficients (σ0). Fourth, the 30 m SRTM GL1 V3 DEM was reprojected to the WGS-84/UTM zone 48N coordinate system and resampled to 10 m using bilinear interpolation. Range-Doppler terrain correction was then applied using this DEM to geocode the SAR data to the 10 m map grid, simultaneously correcting for geometric distortions caused by side-looking imaging and generating terrain-flattened gamma naught (γ0) values, with the resampled 10 m DEM ensuring that the terrain-corrected product aligns with the Sentinel-2 pixel grid for subsequent spatial alignment. Fifth, a 7 × 7 Refined Lee filter was employed to suppress speckle noise while preserving edge details. Finally, the filtered γ0 values were converted to decibel (dB) scale.
Spatial registration: To achieve precise pixel-level alignment for multi-source fusion, both preprocessed datasets were projected to the common WGS-84/UTM zone 48N coordinate system. Using the Sentinel-2 image as the spatial reference, a fine co-registration was performed on the preprocessed Sentinel-1 image. A total of 25 well-distributed ground control points (GCPs) covering the entire study area were manually selected, and an affine transformation was applied. This ensured that the pixel misregistration between the two modalities was within 0.5 pixels, a threshold widely adopted in multi-temporal and multi-sensor analyses to avoid significant geometric bias [
32].
2.2.3. Sample Annotation and Dataset Split
This study used high-resolution Google Earth imagery (October 2024, spatial resolution ~0.5 m) as the primary reference source. We manually delineated sugarcane planting boundaries through visual interpretation. To ensure labeling reliability, two independent annotators with remote sensing interpretation experience performed pixel-wise delineation on a randomly selected subset of 100 patches. The inter-annotator consistency yielded a Cohen‘s Kappa of 0.87 and an Overall Agreement of 94.85%, indicating high reliability. Disagreements were resolved through joint discussion and re-examination against the reference imagery. For the remaining patches, one annotator completed the initial labeling, and the second annotator reviewed and corrected all ambiguous areas. Binary ground-truth masks were then generated. The 10 m pixel grid of Sentinel imagery inherently differs from sub-meter reference imagery, which may introduce boundary uncertainty for narrow field edges and fragmented plots. The above annotation protocol helped ensure the reliability of supervision signals at the edges of fragmented plots and provided high-quality data support for the model to learn complex geometric features.
To prevent spatial information leakage, a geographic block-wise split strategy was adopted instead of simple random splitting. The study area was partitioned into non-overlapping 5 km × 5 km spatial blocks, and patches were assigned to training, validation, and test sets at an approximate 8:1:1 ratio based on these blocks. All images were subsequently cropped into 256 × 256 pixel patches with a uniform 10 m pixel spacing. To augment the limited dataset, a 10% overlap was retained between adjacent patches during extraction; however, because overlapping patches occur within the same block, they are always assigned to the same subset, thereby eliminating cross-subset spatial correlation. Each phenological stage contains 735 patches.
The final partition yielded 588 training, 74 validation, and 73 test patches. Data augmentation strategies including random rotation, horizontal flip, and vertical flip were applied to expand the training set. The validation and test sets received no data augmentation and were only normalized to ensure unbiased evaluation.
2.3. Two-Stage Cascaded Framework
To address the spatial fragmentation, irregular morphology, and severe spectral confusion of sugarcane planting plots in karst regions, this study proposes a two-stage cascaded framework that integrates optical–SAR image fusion and fine semantic segmentation. The framework adopts a decoupled two-stage strategy: optical–SAR image fusion followed by semantic segmentation. This design simplifies model debugging and hyperparameter tuning, and the fused images generated offline can be directly reused across different downstream tasks without retraining the fusion network.
The framework consists of two sequential but decoupled stages: an optical–SAR multimodal image fusion stage, and a segmentation stage featuring detail enhancement and deformation adaptation. The architecture of the optimized MCANet network is shown in
Figure 2.
In the optical–SAR multimodal image fusion stage, we adopt MCANet as the fusion backbone, following its original design. MCANet is a dual-stream encoder–decoder network originally designed for land use classification. We initialized the network with publicly available pre-trained weights. To adapt it for image fusion, we replaced the original Softmax classification layer with a reconstruction head consisting of two 3 × 3 convolutional layers followed by a 1 × 1 convolutional layer, with a Sigmoid activation function to constrain the output values to the [0, 1] range, producing a four-channel fused image. In the original MCANet decoder, transposed convolution was used for upsampling, which can introduce checkerboard artifacts in reconstruction tasks. We replaced transposed convolutions with bilinear upsampling followed by standard 3 × 3 convolutions, reducing such artifacts while maintaining upsampling quality.
To adapt the pretrained MCANet to karst-specific image characteristics, we collected an independent set of 200 optical–SAR image pairs from a neighboring karst region spatially separated from our study area. This independent dataset shares the same acquisition dates and phenological coverage as the main study dataset. It was used exclusively for fine-tuning the reconstruction head of MCANet, with the encoder backbone frozen. The dataset was randomly split into training (80%) and validation (20%) subsets. The network was trained for 20 epochs using the AdamW optimizer (β1 = 0.9, β2 = 0.999, weight decay = 1 × 10−4) with a learning rate of 1 × 10−5. For the loss function, we replaced the cross-entropy classification loss with a composite reconstruction loss composed of three terms: L1 pixel loss, SSIM structural similarity loss, and SAM spectral angle mapping loss, which constrain pixel-wise accuracy, structural similarity, and spectral fidelity, respectively. The total loss is defined as , with weights set to = 1.0, = 0.5, and = 0.3. The original four-band optical image served as the training target. The resulting four-band fused image, into which SAR structural information from the VV polarization was integrated, served as the input to the subsequent segmentation stage.
The UNet-DFH segmentation network consists of two complementary modules that jointly address the dual challenges of karst crop mapping. The MSEF module operates in the shallow decoder stages, where spatial resolution is highest, to enhance boundary details and preserve fine topological structures of fragmented plots. The ADFM operates at the bottleneck bridge, where semantic abstraction is richest, to compensate for terrain-induced non-rigid geometric deformation. Through the decoder’s progressive up-sampling pathway, the ADFM-refined deep features and MSEF-enhanced shallow features are gradually integrated via skip connections, enabling the network to simultaneously preserve fine-grained spatial details and maintain global semantic coherence.
The UNet-DFH segmentation network is trained independently using the pre-generated fused four-channel images and the corresponding binary sugarcane ground-truth masks. The detailed process is illustrated in
Figure 3.
2.4. UNet-DFH Segmentation Network Architecture
The UNet-DFH is based on the classic U-Net framework and consists of an encoding path, decoding path, and cross-layer feature connections. Unlike the standard U-Net, this study introduces two major improvements to the network from two aspects: boundary and detail enhancement, and geometric representation capability. In shallow layers, the focus is on preserving boundaries and enhancing details. In deep layers, the focus is on strengthening semantic consistency and spatial structure understanding. The encoding path progressively extracts multi-scale semantic features. The decoding path restores spatial resolution through progressive upsampling and integrates shallow detail information via skip connections.
2.4.1. Multi-Scale Edge Fusion Module (MSEF)
As illustrated in
Figure 4, in the decoder’s high-resolution up-sampling stages, feature maps possess rich spatial detail but are susceptible to interference from optical background variations and SAR speckle noise. To address this, we designed the Multi-Scale Edge Fusion (MSEF) module to enhance boundary representations and preserve fine-scale topological structures of fragmented sugarcane plots. This module was placed exclusively on the skip connection feature maps in the shallow decoder stages, where spatial detail is richest. This module consists of two parallel branches: a dynamic Gaussian filtering branch and a learnable edge detection branch. The synergistic combination of these two branches enables effective enhancement of structural characteristics while maintaining spatial fidelity.
The dynamic Gaussian filtering branch adaptively selects multi-scale smoothing kernels based on the global context of the input feature. Unlike conventional Gaussian filtering with fixed kernel sizes, this branch captures the overall structural characteristics of the input feature
and predicts scale-wise aggregation weights. It uses global average pooling (GAP) to extract a feature vector, then generates normalized multi-scale weight coefficients
through a two-layer 1 × 1 convolution mapping followed by Softmax normalization. The calculation formula is shown in Equation (1).
where
represents the receptive field size of the Gaussian convolution kernel and
denotes the fusion weight for the Gaussian kernel at the
-th scale, with the weights normalized by Softmax to sum to 1. The MLP is implemented with two layers of 1 × 1 convolution for non-linear feature mapping, while GAP compresses the spatial dimensions of the input feature
into a channel-wise feature vector. Subsequently, the generated weights are used to fuse three parallel multi-scale Gaussian operators
. The definition of
is shown in Equation (2).
where
and
represent the spatial coordinate offsets within the Gaussian kernel, typically with the kernel center as the origin.
is the standard deviation of the
-th scale Gaussian kernel. It controls the spread of the Gaussian distribution. The term
denotes the exponential function. The factor
is the normalization constant of the Gaussian distribution. It ensures that the kernel weights sum to 1. The final output of the filtering branch, denoted as
, is expressed as shown in Equation (3).
Through this global context-driven weighting mechanism, the network adjusts the scale selection according to the overall texture complexity of each input feature map: maps with relatively homogeneous textures favor larger kernels, while those with more fragmented patterns emphasize smaller kernels. By providing a structurally enriched input to the subsequent edge detection branch, the dynamic Gaussian filter facilitates more accurate boundary responses.
To address the problem of blurred sugarcane field boundaries, the other branch uses a learnable grouped convolution initialized with Sobel operators. During training, its kernels evolve through gradient descent. This enables the branch to capture complex non-linear edge features in karst regions, as shown in Equation (4).
The dual-branch features are concatenated along the channel dimension, and a channel attention mechanism is then introduced to explicitly model the interdependencies between channels and re-weight the concatenated geometric features. The process is expressed in Equation (5).
Finally, the original shallow features
X are fused with the reconstructed features using residual connections to ensure that spatial details are fully preserved. The calculation formula is given by Equation (6).
This design enhances boundary discrimination accuracy in complex karst landscapes with severe spectral confusion and fragmented agricultural patterns.
2.4.2. Attention-Deformable Fusion Module (ADFM)
To further enhance the model’s ability to resolve non-rigid geometric deformation of fragmented and distorted plots in complex karst regions, this study introduces an Attention-Deformable Fusion Module (ADFM) into the bridge layer between the encoder and decoder. Specifically, the deepest encoder features (2048 channels, 1/32 resolution) are first projected to 512 channels via a 1 × 1 bottleneck convolution, after which the ADFM enhances these compressed features. The enhanced features are then projected back to 2048 channels via another 1 × 1 convolution with a residual connection. This bottleneck design reduces computational cost by a factor of approximately 16 × (2048
2/512
2 = 16), as both multi-head self-attention and deformable convolution scale quadratically with channel dimension. The ADFM is configured with 8 attention heads (head dimension 64), a 3 × 3 deformable convolution with four groups, and an offset field predicted by a 3 × 3 convolution generating 18 offset channels (padding = 1). In the deep feature space, semantic information is rich, but the low spatial resolution often blurs the geometric shapes of small plots. ADFM combines multi-head self-attention (MHA) for global context and deformable convolution (DCN) for local geometric compensation. The structure is shown in
Figure 5.
The MHA branch captures global semantic dependencies. For an input feature
, query vectors Q, key vectors K, and value vectors V are first generated through mapping. The calculation formula for the
-th attention head is shown in Equation (7).
where
is the feature dimension scaling factor. The outputs from all heads are aggregated as
, as shown in Equation (8).
This mechanism allows the network to capture long-range dependencies and use semantic consistency to reduce confusion between sugarcane and spectrally similar background vegetation.
To more effectively respond to the typical non-rigid plot geometries, this module introduces deformable convolution to enhance the network’s spatial adaptability. Unlike standard convolution, DCN predicts an offset field
through an additional lightweight convolutional layer. This shifts the sampling points toward the geometric center of the target plot. The detailed process is shown in Equation (9).
where
represents the current center position.
represents the offset in the regular sampling grid. This design enables the network to capture non-rigid deformation and compensates for the geometric information loss caused by deep downsampling.
To balance global semantic consistency and local shape accuracy, this study employs a Gated Fusion Network. This mechanism dynamically weighs the dual-branch features by learning a spatial mask. First,
and
are concatenated. A lightweight convolutional layer then generates a spatial gating weight
, as shown in Equation (10). The fused feature is computed as shown in Equation (11).
where
denotes the Sigmoid activation function, and
denotes element-wise multiplication. Finally, a residual connection and batch normalization (BN) produce the final feature
, as shown in Equation (12).
2.5. Loss Function
To simultaneously ensure pixel-level classification accuracy, alleviate class imbalance in karst regions, and improve the segmentation quality of fragmented boundaries, we designed a composite loss function. It consists of a weighted sum of Weighted Cross Entropy (WCE), Focal Loss, and Dice Loss. The proposed loss guides model optimization from three complementary perspectives: distribution, difficulty, and region overlap. The total loss function
is defined as shown in Equation (13).
where
,
, and
are hyperparameters that represent the weights of each loss term.
In karst regions, sugarcane plots are scattered across complex landscapes, resulting in a highly uneven class distribution. This study adopts WCE loss as the basic classification loss. Class weight factors
are introduced to increase the contribution of the sugarcane class, as shown in Equation (14).
where
is the total number of pixels in a mini-batch,
is the number of classes,
indicates whether pixel
belongs to class
,
is the predicted probability, and
is computed from the inverse frequency of the class pixel proportion in the training set.
- 2.
Focal Loss
In karst mountainous areas, sugarcane and surrounding vegetation share similar spectral characteristics, resulting in hard-to-classify samples. To address this issue, Focal Loss is introduced. A modulating factor
is used to dynamically reduce the weight of well-classified samples. This encourages the model to focus its training on edge-fragmented and extremely small sugarcane plots, as shown in Equation (15).
where
is a balancing factor used to adjust the ratio of positive to negative samples;
is the focus parameter (set to 2 in this study), used to adjust the rate of loss reduction.
- 3.
Dice Loss
Dice Loss is introduced to improve boundary delineation and prevent boundary blurring caused by terrain undulation. It directly measures the overlap between predicted and ground truth regions and is sensitive to plot shape features, as shown in Equation (16).
where
and
represent the predicted value and the ground truth value of pixel
, respectively;
is a smoothing factor used to prevent the denominator from becoming zero and to ensure numerical stability.
2.6. Experimental Parameter Settings
All experiments were conducted on a single NVIDIA RTX 2060 GPU using Python 3.11 and PyTorch 2.4.1. To ensure reproducibility, a fixed random seed of 42 was used. Considering the memory constraints of some models, the batch size was fixed at 4, and the input image size was 256 × 256 pixels. The Adam optimizer was used with a fixed learning rate of 1 × 10
−4 and weight decay of 1 × 10
−4. The weighting coefficients of the loss function were set to
= 0.5,
= 0.3, and
= 0.2, determined through preliminary experiments in which multiple combinations were tested; the selected configuration yielded the best overall performance. Data augmentation—random rotation, horizontal flip, and vertical flip—was applied only to the training set. All models were trained for a fixed 100 epochs without early stopping, as the loss curves (
Section 3.4) confirmed sufficient convergence. The best model was selected based on the highest validation IoU during training. To ensure fair comparison, all methods were trained with identical configurations including learning rate, batch size, optimizer settings, and number of epochs.
To evaluate the semantic segmentation performance of the model, we used six evaluation metrics: Intersection over Union (IoU), Precision, Recall, F1-score, Overall Accuracy (OA), and Boundary F1-score (B-F1) as shown in Equations (17)–(22).
where TP, TN, FN, and FP represent true positives, true negatives, false negatives, and false positives, respectively. Precision measures the reliability of positive predictions; Recall measures the proportion of actual positives correctly identified; and IoU quantifies the overlap between prediction and ground truth. For
,
,
, and
are computed on extracted boundary pixels, where a predicted boundary point is matched to a ground-truth point if their distance is within a tolerance of 2 pixels. B-F1 thus provides a quantitative assessment of boundary delineation quality.
4. Discussion
4.1. Cross-Modal Information Synergy and Biophysical Trade-Offs Under Topographic Distortions
The experimental results presented in
Section 3 demonstrate that UNet-DFH outperforms existing Convolutional Neural Network (CNN)-based and Transformer-based semantic segmentation networks on the karst sugarcane dataset. This advantage holds under both optical-only and optical–SAR fusion conditions and is primarily attributed to the complementary interaction among three components: dynamic edge enhancement, adaptive feature alignment, and optical–SAR multimodal fusion.
Recent reviews have highlighted that deep feature fusion of optical and SAR images can alleviate the limitations of single-source imagery and improve semantic segmentation accuracy. MCANet demonstrated the effectiveness of cross-attention for land use classification, while SACFNet [
41] introduced an align-first, fuse-later paradigm to explicitly rectify geometric and scale discrepancies between modalities, and DRIDBFNet [
42] addressed redundancy by decoupling common and specific features. Compared with these approaches, our framework differs in two respects: we adopt a decoupled two-stage strategy that generates fused images offline for reuse across downstream tasks, and we explicitly address non-rigid geometric deformation through the ADFM—a dimension largely underexplored in the current optical–SAR fusion literature.
Karst agricultural landscapes are characterized by fragmented field distribution, irregular parcel boundaries, terrain-induced shadows, and strong background heterogeneity. Conventional convolutional networks rely on local receptive fields and tend to lose fine boundary information during repeated down-sampling, while Transformer-based models often produce overly smooth predictions and perform poorly on fine-grained fragmented parcels. The proposed MSEF module addresses the inherent trade-off of traditional filtering operators by operating at the feature level in shallow decoder stages, dynamically preserving edge information through a learnable edge detection branch combined with adaptive multi-scale Gaussian filtering. This distinguishes our approach from existing boundary enhancement methods such as BEDSN [
43] and BAFormer [
44], which typically apply boundary supervision at the loss level rather than directly influencing feature propagation. The ADFM addresses the irregular and non-rigid geometries typical of karst agricultural parcels by jointly integrating deformable convolution with multi-head self-attention within a gated fusion architecture. While deformable convolution has been employed in remote sensing to enhance learning capability for irregular field shapes, most existing applications focus on single-modal imagery or generic segmentation tasks [
45]. Our ADFM is specifically designed to compensate for the non-rigid deformation that persists after global rigid registration between optical and SAR modalities—a synergistic integration which has received limited attention in karst crop mapping.
The computational efficiency of UNet-DFH also warrants attention. Despite having 36.093 M parameters (higher than the baseline U-Net’s 17.267 M), the model consumes only 35.285 GFLOPs, representing a 56.1% reduction from the baseline’s 80.381 GFLOPs. This is primarily attributed to the bottleneck design of the ADFM: the bridge layer reduces the feature dimension from 2048 to 512 before applying ADFM, decreasing the computational complexity of multi-head attention and deformable convolution by approximately 16× relative to operations at 2048 dimensions. Moreover, this module is applied only once at the coarsest spatial scale. Combined with bilinear up-sampling and localized module deployment, these optimizations achieve a favorable balance between segmentation accuracy and computational cost.
The incorporation of Sentinel-1 SAR-VV imagery further enhances mapping performance. Compared with optical imagery alone, SAR provides structural information that is largely independent of optical reflectance, complementing observations in terrain-shadowed regions and improving the representation of fragmented parcels. Experimental results indicate that integrating SAR and optical imagery increases mapping completeness while maintaining competitive overall segmentation accuracy.
However, the introduction of SAR data also entails an important trade-off. Recall improves by 5.50 percentage points, while Precision declines by 3.05 percentage points, corresponding to an increase in false positives that may lead to some overestimation of sugarcane area. This can be understood as an expected consequence of SAR data incorporation—residual speckle noise persists after preprocessing and fusion, particularly in shallow feature maps near boundaries and fragmented patches, and exacerbates misclassification across all models. This highlights the need for feature-level noise mitigation strategies such as the MSEF module. Nevertheless, the net gain in IoU of 2.28 percentage points confirms that the overall segmentation performance benefits from SAR’s complementary structural information, particularly for detecting fragmented and shadowed plots that would otherwise be missed in optical-only inputs.
These experimental results suggest that accurate crop mapping in karst regions depends not only on stronger semantic representation but also on effective preservation of spatial geometry throughout feature extraction and fusion. Future work should investigate strategies to further reduce commission errors, such as incorporating additional polarimetric features or post-processing refinement.
4.2. Limitations and Future Perspectives
Despite the competitive performance of UNet-DFH for sugarcane mapping in heterogeneous karst regions, several limitations remain to be addressed. (1) The reported results are limited to a single region in Guangxi; cross-regional generalization has not been validated. Future work should assess transferability using multi-region and multi-season datasets. (2) The sub-meter Google Earth reference imagery introduces boundary uncertainty relative to the 10 m Sentinel pixel grid, and no independent field survey data were collected for validation. Future studies should incorporate ground-truth measurements to further verify the labels. (3) Due to computational constraints, all results are based on a single training run per model, and the evaluation relies primarily on pixel-based metrics. Object-level assessment and statistical stability (e.g., multiple runs with different seeds) remain to be explored. (4) The current study relies exclusively on optical and SAR data. The inclusion of additional remote sensing modalities could provide complementary information. These modalities include hyperspectral imagery, Light Detection and Ranging (LiDAR), or high-resolution Unmanned Aerial Vehicle (UAV) observations. Such data could further enhance segmentation performance in highly heterogeneous agricultural environments. (5) Real-time deployment on edge platforms has not been investigated. Moreover, the sensitivity of MSEF to Refined Lee filter removal, DEM resolution, and BRDF effects has not been systematically analyzed. These aspects are left for future work.
5. Conclusions
This study addressed the challenges of sugarcane mapping in fragmented karst landscapes by proposing UNet-DFH, a dual-modal semantic segmentation network integrating an MSEF module and an ADFM. Experiments on the Guangxi karst dataset using multi-temporal Sentinel-2 and Sentinel-1 SAR imagery demonstrated that UNet-DFH outperformed existing state-of-the-art models under both optical-only and optical–SAR fusion scenarios. Under optical-only input, UNet-DFH achieved an IoU of 0.778, Precision of 0.919, Recall of 0.835, F1 of 0.875, OA of 0.925, and B-F1 of 0.813. With optical–SAR fusion, the model achieved an IoU of 0.801, Precision of 0.888, Recall of 0.890, F1 of 0.889, OA of 0.921, and B-F1 of 0.820. Fusion improved IoU by 2.3 percentage points and Recall by 5.5 percentage points, while Precision and OA decreased moderately by 3.1 and 0.4 percentage points, respectively. The net IoU gain confirms that SAR structural information provides an overall benefit for mapping fragmented sugarcane plots. The improvement was particularly evident for highly fragmented, small-scale plots.
The proposed architecture also achieves a favorable balance between model complexity and computational efficiency. By introducing the MSEF module and ADFM at specific network locations and adopting optimized up-sampling strategies in the deeper decoder stages, we substantially reduced FLOPs by 56.1% to 35.285 GFLOPs while maintaining competitive segmentation accuracy. In conclusion, UNet-DFH achieves a favorable balance between global semantic consistency, local boundary fidelity, and computational efficiency on the evaluated dataset, showing potential for high-precision crop mapping in complex terrains.
Future work will focus on two directions. First, we will collect multiregional datasets and develop unsupervised domain adaptation algorithms to enhance model generalization across diverse karst subtypes. Second, we will explore structural network pruning to facilitate deployment on edge-computing agricultural nodes.