1. Introduction
Fine crop classification, which is pixel-level crop type mapping using meter-level high-resolution imagery, is a fundamental task for understanding agricultural planting structures and supports a wide range of applications in precision agriculture, including crop yield prediction [
1], phenological growth monitoring [
2], agricultural risk assessment [
3], crop species differentiation [
4], and spatial distribution mapping [
5]. Accurate and fine-grained crop maps provide essential decision support for agricultural management and policy-making, enabling more efficient allocation of resources and improved food security [
6].
Satellite remote sensing has become one of the most effective means for large-scale crop monitoring due to its wide coverage, relatively low cost, and regular revisit capability [
7]. With the increasing availability of high-resolution satellite imagery, crop classification methods have gradually evolved from single-feature paradigms toward multi-feature and multi-source approaches [
8]. Crops exhibit strong temporal characteristics driven by phenological cycles and regional planting practices, which makes multi-temporal observations valuable for capturing seasonal variations [
9]. Unlike conventional field surveys, satellite remote sensing provides a continuous and objective way to observe both spatial patterns and temporal dynamics of agricultural landscapes [
10]. Numerous studies have shown that incorporating multi-temporal information can improve crop classification performance by modeling growth trajectories and seasonal transitions [
7,
11,
12].
Although temporal information has been extensively studied for modeling crop phenology, relatively limited attention has been paid to spatial–spectral feature fusion in fine crop classification. Beyond temporal information, spatial and spectral features constitute two other essential and complementary dimensions for fine crop classification. Spatial features describe the geometric and structural properties of cropland, including field boundaries, shapes, textures, and spatial arrangements [
13]. With the continuous improvement of spatial resolution in remote sensing imagery, fine-grained spatial details of agricultural parcels can now be effectively captured, which is critical for accurate boundary delineation and precision agriculture applications. Meanwhile, crops exhibit distinctive spectral reflecting characteristics across visible, near-infrared, and infrared bands, reflecting differences in biochemical composition, canopy structure, and growth conditions [
14,
15]. Spectral features therefore provide a fundamental physical basis for distinguishing crop types. Both full-spectrum representations [
16], and carefully designed spectral indices have been demonstrated to be effective for crop classification tasks [
17]. In regions with complex planting structures, such as China [
18,
19], the joint utilization of spatial, spectral, and temporal features is thus widely regarded as a promising direction to improve fine-grained crop classification accuracy, especially under practical constraints of data availability and resolution heterogeneity.
However, fine crop classification based on remote sensing still faces a fundamental challenge arising from the trade-off between spatial resolution and spectral richness. High-resolution(HR) images are essential for accurately delineating field boundaries and capturing fine-scale spatial patterns, while relatively low resolution multi-spectral images provide rich spectral information required to discriminate crops with similar spatial appearances. In practice, no single satellite sensor can simultaneously provide both very high spatial resolution and dense spectral coverage. As a result, the joint utilization of spatial and spectral information from heterogeneous remote sensing data has become a necessary strategy for robust crop classification. Nevertheless, existing spatial–spectral methods are often developed under implicit assumptions of resolution consistency and sufficient temporal availability, which are frequently violated in real-world agricultural scenarios, especially when high-resolution data are scarce or temporally sparse.
In recent years, the rapid development of deep learning has significantly advanced crop classification research. Deep learning methods generally outperform traditional machine learning approaches such as Support Vector Machines (SVM) [
20] and Random Forests (RF) [
21] by automatically learning hierarchical features from raw data [
22,
23,
24,
25]. Convolutional Neural Networks (CNNs) are particularly effective at extracting local spatial features and are widely used for high-resolution remote sensing imagery. However, CNN-based models inherently focus on local receptive fields, which may lead to insufficient modeling of long-range dependencies and global contextual relationships, especially around complex crop boundaries [
26].
Transformer-based architectures address this limitation by leveraging self-attention mechanisms to capture global contextual information. Vision Transformer (ViT) [
27] introduces a pure Transformer framework for vision tasks, enabling effective global feature modeling. Subsequent variants, such as Swin Transformer [
28] and CSWin Transformer [
29], incorporate localized attention mechanisms to balance global and local representations. Despite these advances, Transformer-based models often exhibit limited global awareness in early layers, while purely local or purely global designs remain insufficient for fine-grained crop classification. Consequently, hybrid architectures that integrate CNNs and Transformers have emerged as a promising solution.
Several CNN–Transformer fusion models have been proposed for dense prediction tasks. TransUNet [
30] integrates Transformer modules into CNN-based encoders to enhance global feature modeling. TransFuse [
31] employs a dual-branch architecture with a BiFusion module to combine local and global features. FTransUNet [
32] further explores multi-level fusion of shallow and deep features within a unified framework. Although these methods have achieved encouraging results, research on fine crop classification that explicitly targets spatial–spectral fusion across heterogeneous resolutions remains limited. In particular, challenges such as feature misalignment, ineffective early fusion, and insufficient exploitation of complementary spatial and spectral information still require further investigation. In remote sensing crop mapping, spatial and spectral information often originate from different sensors with heterogeneous spatial resolutions. This cross-source spatial–spectral complementarity introduces additional challenges such as feature misalignment and scale inconsistency, which are not explicitly addressed by existing architectures.
To address these issues, this paper proposes a spatial–spectral feature fusion TransUNet (SSF-TransUnet) for fine crop classification. The network adopts ResNet [
33] as the encoder to extract multi-level features and constructs two parallel branches to separately model spatial and spectral information. High-resolution (HR) images are used to capture detailed spatial structures and crop boundaries, while relatively low resolution (LR) multi-spectral images provide discriminative spectral cues for crop type identification. A spatial–spectral attention mechanism and a global feature enhancement (GFE) module are introduced to facilitate effective feature interaction and joint learning. Extensive experiments conducted in representative agricultural regions of China demonstrate the effectiveness and robustness of the proposed method.
The main contributions of this study are summarized as follows. First, we construct the Spatial–Spectral Complementary Resolution Agricultural Dataset (SSCR-Agri), which integrates meter-level Gaofen-2 imagery and multi-spectral Sentinel-2 data for fine-grained crop classification. The dataset covers five representative crop categories in northern China, including corn, rice, wheat, potato, and others. Second, we propose SSF-TransUnet, a dual-branch spatial–spectral fusion framework designed to jointly exploit heterogeneous spatial and spectral information. The proposed architecture enables effective integration of spatial structures and spectral discriminative features, resulting in improved classification accuracy and clearer field boundary delineation.
2. Study Area and Dataset
2.1. Study Area
This study focuses on five representative agricultural regions in northern China: Hebi City in Henan Province, Zhangjiakou City in Hebei Province, Panjin City in Liaoning Province, Da’an City in Jilin Province, and Hulunbuir City in Inner Mongolia, as shown in
Figure 1. These regions were selected to cover diverse crop types, planting structures, terrains, and climatic conditions, providing a representative test for evaluating spatial–spectral complementarity under heterogeneous agricultural scenarios.
Hebi City, Henan Province (Study Area HB): The terrain predominantly consists of flat and hilly landscapes, characterized by a warm temperate semi-humid monsoon climate. Corn is the dominant crop, typically planted in late June and harvested in October.
Zhangjiakou City, Hebei Province (Study Area ZJK): The region predominantly features a plateau terrain and is characterized by a temperate continental monsoon climate. The primary crops cultivated are corn and potato. Corn is planted in late April and attains maturity in October, while potato are sown in late April and harvested in the same month of October.
Panjin City, Liaoning Province (Study Area PJ): The predominant terrain is characterized by flatland, subjected to a temperate monsoon climate. The primary crops cultivated are corn and rice. Corn is typically sown in early May and harvested in October, while rice is transplanted in May and harvested in early October.
Da’an City, Jilin Province (Study Area DA): The terrain is predominantly flat and characterized by a temperate continental monsoon climate. The primary crops cultivated are corn and rice. Corn is sown in early May and harvested in October, while rice is transplanted in May and harvested in early October.
Hulunbuir City, Inner Mongolia (Study Area HLBE): The terrain is characterized by plateaus, mountains, and plains, and experiences a climate that integrates the features of both temperate continental monsoon and temperate steppe climates.The main crops in this region are corn, wheat, and potato. Corn is planted in late April and matures in September; wheat is planted in March and matures in August; and potato are planted in early May and mature in August.
The five study areas collectively reflect the diversity of crop types, growth patterns, and environmental conditions in northern China. Phenological characteristics play an important role in crop identification; however, this study does not explicitly model temporal dynamics.
As shown in
Table 1, the growth periods of major crops in the study areas are summarized, where E, M, and L denote the early, middle, and late stages of each month, respectively. It can be observed that key growth and development stages of typical crops such as corn, rice, wheat, and potato mainly occur from July to September, during which crops exhibit relatively stable and discriminative spatial and spectral characteristics. Therefore, imagery from these months was selected to ensure phenological consistency rather than to perform explicit temporal modeling.
2.2. Remote Sensing Data
This study employs optical remote sensing imagery acquired from the GF-2 and Sentinel-2 satellites. GF-2 is a high-resolution Earth observation satellite developed by China. Equipped with two imaging sensors, it includes a 1 m panchromatic sensor and a 4 m multi-spectral sensor consisting of four spectral bands (blue, green, red, and near-infrared). GF-2 data used in this study were obtained from the National Remote Sensing Data and Application Service Platform(CPEOS)
https://www.cpeos.org.cn. Standard preprocessing steps, including orthorectification, geometric registration, and pan-sharpening, were applied to generate multi-spectral imagery at a spatial resolution of 1 m.
In addition, multi-spectral imagery from the Sentinel-2 constellation operated by the European Space Agency was used to provide complementary spectral information. The Sentinel-2 system consists of two satellites, each carrying a multi-spectral instrument with 13 spectral bands, achieving a nominal revisit period of five days. Sentinel-2 Level-2A products can be publicly accessed via the Google Earth Engine (GEE) platform. Images acquired at dates close to the corresponding GF-2 acquisition times were selected to ensure temporal consistency. After cloud screening, mosaicing, and spatial cropping, Sentinel-2 imagery covering the study areas was obtained. For regions with persistent cloud contamination, including PJ and HLBE, monthly composite images were used instead.
It is worth noting that, due to its wider swath and higher revisit frequency, Sentinel-2 imagery provides greater flexibility for temporal sampling. In this study, however, Sentinel-2 data are primarily utilized for their rich spectral information, while temporal analysis is left for future extensions.
In some regions (e.g., PJ), exact temporal alignment between GF-2 and Sentinel-2 imagery is constrained by cloud contamination and data availability. The selected Sentinel-2 images still correspond to the main crop growth season and provide stable spectral characteristics for crop discrimination.
The multi-spectral information provided by Sentinel-2 offers significant advantages for crop identification due to the distinct spectral reflection characteristics of vegetation in the visible, red-edge, near-infrared, and shortwave infrared wavelengths. Based on an analysis of band sensitivity for crop discrimination, ten Sentinel-2 spectral bands were selected for subsequent experiments, as summarized in
Table 2. Sentinel-2 data were geometrically registered to GF-2 imagery. The purpose of controlling acquisition time is to reduce phenological-induced appearance variations, rather than to model crop growth trajectories. The acquisition dates of both GF-2 and Sentinel-2 imagery for each study area are listed in
Table 3.
2.3. Reference Samples
A set of labeled reference samples to support model training and quantitative evaluation was constructed in the study. The reference samples were generated through a combination of field survey records and visual interpretation based on high-resolution Google Earth imagery, conducted by experts in a controlled office environment.
During the labeling process, meter-level high-spatial-resolution images from Gaofen-2 (GF-2) were used as the primary reference base map for delineating crop parcels and assigning crop types. The labeled samples were distributed across five study areas in northern China and covered five crop categories: corn, rice, wheat, potato, and others.
In total, 10,680 parcel samples were labeled, including 6011 corn samples, 1988 rice samples, 855 wheat samples, 1334 potato samples, and 492 samples of other crop types. The spatial distribution and statistical summary of the labeled samples across different study areas are reported in
Table 4.
2.4. SSCR-Agri
To investigate cross-resolution spatial–spectral fusion for fine-grained crop classification, we constructed the Spatial–Spectral Complementary Resolution Agricultural Dataset (SSCR-Agri). The dataset integrates meter-level high spatial resolution imagery from Gaofen-2 (GF-2) and coarser-resolution multi-band imagery from Sentinel-2, covering representative agricultural regions in northern China. In order to facilitate pixel-wise learning and cross-source alignment, Sentinel-2 images were upsampled to a spatial resolution of 1 m and geometrically aligned with the GF-2 imagery. It should be noted that this upsampling operation is performed solely for spatial alignment purposes, while the original spectral characteristics of Sentinel-2 are preserved.
Each data sample in SSCR-Agri has a spatial size of pixels at 1m resolution and consists of three components: (1) GF-2 images, as high-resolution (HR) imagery providing fine-grained spatial structural information, (2) Sentinel-2 multi-band images, as coarser multi-spectral (MS) imagery, providing complementary spectral cues, and (3) corresponding crop labels. The dataset includes five crop categories: corn, rice, wheat, potato, and others.
The SSCR-Agri dataset is divided into training and test subsets with a ratio of 7:3, containing 1229 training samples and 528 test samples, respectively, for a total of 1757 image patches. An example of the SSCR-Agri dataset is illustrated in
Figure 2.
The processed dataset and related experimental resources can be obtained upon reasonable request.
5. Discussion
5.1. Structural Necessity of Spatial–Spectral Joint Features
The experimental results indicate that jointly utilizing spatial and spectral information consistently leads to improved crop classification performance compared with using either information source alone (
Table 7). This phenomenon is closely related to the intrinsic characteristics of fine-grained crop segmentation tasks.
Agricultural parcels exhibit strong internal spatial consistency, with relatively homogeneous appearance within a field and sharp transitions at field boundaries. High spatial resolution imagery is therefore essential for preserving field geometry and boundary integrity. However, crops with similar planting patterns and field shapes often remain difficult to distinguish when relying solely on spatial cues. Conversely, spectral information encodes crop-specific biochemical and physiological properties, enabling discrimination between visually similar crops, yet its coarser spatial resolution and mixed-pixel effects may blur fine boundary details. Although boundary-aware metrics could provide additional insights into segmentation behavior, the objective of this study is multi-class crop classification rather than explicit field boundary extraction. Object-based pipelines, which first segment field boundaries and then perform parcel-level classification, provide an alternative paradigm for agricultural mapping. However, such approaches require reliable parcel boundaries and may suffer from error propagation between stages. In contrast, the proposed framework performs end-to-end spatial–spectral feature learning directly at the pixel level.
These complementary characteristics make spatial–spectral joint modeling structurally necessary for fine crop classification. Effective segmentation requires both accurate boundary delineation and reliable crop-type discrimination. The consistent performance gains observed when MS images and HR images are jointly used suggest that spatial and spectral features provide non-redundant information that cannot be fully captured by single-source inputs.
Although variations in crop composition and regional planting complexity may influence the absolute classification accuracy, these factors do not alter the fundamental necessity of jointly modeling spatial structures and spectral characteristics for fine-grained crop segmentation.
5.2. Role of Spectral Band Complementarity in Crop Discrimination
The band-level experiments further elucidate how spectral diversity contributes to fine-grained crop classification (
Figure 9 and
Table 8). Results obtained using simplified spectral representations, such as grayscale imagery or a single near-infrared band, demonstrate reduced discriminative capability, particularly for crops with overlapping phenological characteristics.
While dominant crops such as corn and rice can often be identified with limited spectral information, more challenging categories—including wheat, potato, and mixed “others”—require richer spectral cues for reliable separation. Multi-band spectral inputs capture complementary information related to vegetation structure, chlorophyll content, and moisture conditions, which are critical for distinguishing crops with similar spatial appearances.
The superior performance achieved by the full spectral configuration indicates that effective crop classification relies not on individual bands, but on the complementary interaction among multiple spectral channels. These findings highlight the importance of incorporating rich spectral representations into spatial–spectral frameworks, especially in complex agricultural environments.
5.3. Effectiveness of the Dual-Branch Architecture and Attention Mechanisms
To analyze the contribution of different components in the proposed architecture, we conduct an ablation study by selectively enabling or disabling the spatial attention and spectral attention modules. The ablation experiments provide insight into the contribution of the proposed architectural components (
Table 9). Removing either spatial attention or spectral attention results in a noticeable decline in performance, while simultaneously enabling both mechanisms yields the best overall accuracy.
Spatial attention enhances the model’s ability to focus on structurally important regions, such as crop parcels and boundary areas, promoting spatial coherence in segmentation results. Spectral attention selectively emphasizes informative spectral channels, facilitating discrimination among crops with subtle spectral differences. The combination of both mechanisms enables coordinated yet decoupled feature learning across spatial and spectral domains.
These results suggest that the performance improvements of SSF-TransUnet are not merely due to increased network complexity, but rather arise from its explicit design for spatial–spectral decoupling and interaction. The dual-branch architecture allows domain-specific features to be preserved while enabling effective cross-domain integration, which is particularly beneficial under heterogeneous resolution conditions. Also, adopting only the spectral branch yields slightly better performance, indicating that spectral information plays a more dominant role in fine-grained crop discrimination, while spatial information mainly contributes to boundary refinement.
6. Conclusions
This study investigates fine-grained crop classification from a spatial–spectral perspective and addresses the challenge of jointly exploiting heterogeneous remote sensing information under practical resolution constraints. Two main contributions are summarized as follows.
First, this study proposes SSF-TransUnet, a dual-branch spatial–spectral joint modeling framework designed to explicitly decouple and coordinate spatial structure extraction and spectral discriminability learning. By jointly utilizing high spatial resolution imagery and multi-spectral observations within a unified network architecture, the proposed method effectively preserves crop boundary integrity while enhancing crop-type separability. Extensive experiments across representative agricultural regions in northern China demonstrate that SSF-TransUnet consistently outperforms conventional CNN-based and hybrid CNN–Transformer models in fine-grained crop classification tasks.
Second, this study constructs the SSCR-Agri dataset, a spatial–spectral complementary resolution agricultural dataset integrating meter-level GF-2 imagery and multi-spectral Sentinel-2 data. The dataset covers multiple crop types and diverse agricultural environments, providing a practical benchmark for evaluating spatial–spectral joint modeling approaches. Through comprehensive qualitative and quantitative analyses, the effectiveness of joint spatial–spectral utilization is systematically validated.
Despite the promising results, several directions shows further investigation. From a modeling perspective, improving training efficiency and reducing computational cost remain important challenges when handling large-scale high-resolution remote sensing data. Future work may explore lightweight architectures and more efficient training strategies to enhance scalability. From a data perspective, expanding the dataset to include additional regions, crop types, and seasonal variations would further improve model generalization and robustness. In addition, deeper integration with ground-based observations and in-situ monitoring data could provide stronger validation and calibration of model outputs, thereby enhancing reliability for operational agricultural applications.
Overall, this study demonstrates the potential of spatial–spectral joint modeling for fine-grained crop classification and provides a solid foundation for future research in precision agriculture and large-scale agricultural monitoring.