OCCA-Seg: Object and Channel Context Aggregation for Semantic Segmentation of Remote Sensing Images
Authors: Gang Yang, Si Chen, Quan Zhou, Jiangchuan Li
Organizations: Beijing Key Laboratory of Urban Spatial Intelligent Sensing and Digital Governance, Beijing Institute of Survey and Mapping, Beijing 100038, China
Semantic segmentation, which assigns a class label to each pixel, is a key task in computer vision. However, semantic segmentation of remote sensing images (RSIs) remains challenging because of complex scenes and objects at multiple scales, which limits segmentation accuracy. To address these challenges, we propose a context aggregation scheme called object and channel context aggregation (OCCA), consisting of three components: object contextual attention module (OCAM), channel contextual attention module (CCAM), and aggregation module (AM). Firstly, motivated by the observation that each pixel shares the class label of the object to which it belongs, object-level context represents each pixel through aggregating context from its corresponding object class. Secondly, because feature channels are correlated with object categories, channel-wise context models channel-wise contextual dependencies conditioned on object categories. Finally, the context information from OCAM and CCAM are fed into AM and used to weight and modulate the object context, enhancing the discriminative ability of the segmentation model. The experiments on several public remote sensing datasets including LoveDA, UAVid, ISPRS Potsdam, and Vaihingen datasets demonstrate competitive improvements over existing methods.
Figures & tables
Fig. 1: Overall architecture of OCCA-Seg
Fig. 2: The architecture of MSF
Fig. 3: The architecture of OCAM and CCAM
Method
Dataset
IS(%)
BL(%)
LV(%)
TE(%)
CA(%)
mIoU(%)
mF1(%)
OA(%)
YOLO26n-SEM
Potsdam
81.4
87.6
71.5
70.6
79.2
78.1
88.0
87.5
YOLO26n-OCCA
Potsdam
84.0
91.2
73.2
74.4
83.3
81.2
89.8
89.5
YOLO26n-SEM
Vaihingen
79.8
85.7
64.4
74.0
59.1
72.6
83.7
86.4
YOLO26n-OCCA
Vaihingen
80.6
87.3
66.1
74.8
64.8
74.7
85.3
87.2
TABLE I: Performance comparison on the ISPRS Potsdam and Vaihingen dataset
Method
IS(%)
BL(%)
LV(%)
TE(%)
CA(%)
mIoU(%)
mF1(%)
OA(%)
FarSeg [ 29 ]
85.28
91.33
76.46
77.36
91.37
84.36
91.21
89.87
FarSeg++ [ 30 ]
87.77
93.88
77.21
79.64
92.65
86.23
91.99
91.22
ISNet [ 31 ]
87.53
93.68
78.60
80.03
93.06
86.58
92.67
91.27
UNetFormer [ 32 ]
87.58
94.23
79.45
80.18
91.27
86.54
92.77
91.46
EfficientVit [ 33 ]
84.37
91.49
79.66
77.43
88.20
84.23
90.11
89.61
PEM [ 34 ]
86.86
93.68
77.34
79.65
90.23
85.55
91.73
90.48
TABLE II: Performance comparison on the ISPRS Potsdam dataset
Method
IS(%)
BL(%)
LV(%)
TE(%)
CA(%)
mIoU(%)
mF1(%)
OA(%)
FarSeg [ 29 ]
84.10
89.27
71.10
80.10
71.1
79.14
87.88
89.57
FarSeg++ [ 30 ]
86.47
90.86
74.39
82.87
76.88
82.29
89.77
90.91
ISNet [ 31 ]
85.91
90.89
72.96
81.93
80.01
82.36
90.19
90.52
UNetFormer [ 32 ]
88.14
91.47
71.23
81.46
79.22
82.30
90.31
90.82
ConvNeXt [ 20 ]
87.13
91.56
73.81
83.48
78.37
82.87
90.50
91.36
EfficientViT [ 33 ]
87.26
90.42
69.14
78.41
77.37
80.52
87.56
89.41
TABLE III: Performance comparison on the ISPRS Vaihingen dataset
Method
Background (%)
Building (%)
Road (%)
Water (%)
Barren (%)
Forest (%)
Agriculture (%)
mIoU (%)
TransUNet [ 37 ]
43.0
56.1
53.7
78.0
9.3
44.9
56.9
48.9
DC-Swin [ 38 ]
41.3
54.5
56.2
78.1
14.5
47.2
62.4
50.6
UNetFormers [ 32 ]
44.7
58.8
54.9
79.6
20.1
46.0
62.5
52.4
AerialFormer [ 39 ]
47.8
60.7
59.3
81.5
17.9
47.9
64.0
54.1
SFA-Net [ 26 ]
48.4
60.3
59.1
81.9
24.1
46.2
64.0
54.9
MIFNet [ 40 ]
49.6
56.3
50.3
58.9
25.7
34.2
52.7
46.8
TABLE IV: Performance comparison on the LoveDA dataset
Method
Clutter (%)
Building (%)
Road (%)
Tree (%)
Vegetation (%)
Moving Car (%)
Static Car (%)
Human (%)
mIoU (%)
DANet [ 42 ]
64.9
58.9
77.9
68.3
61.5
59.6
47.4
9.1
55.9
ABCNet [ 43 ]
67.4
86.4
81.2
79.9
63.1
69.8
48.4
13.9
63.8
BANet [ 44 ]
66.7
85.4
80.7
78.9
62.1
69.3
52.8
21.0
64.6
SegFormer [ 45 ]
66.6
86.3
80.1
79.6
62.3
72.5
52.5
28.5
66.0
UNetFormer [ 32 ]
68.4
87.4
81.5
80.2
63.5
73.6
56.4
31.0
67.8
SFA-Net [ 26 ]
70.2
89.0
82.7
80.8
64.6
77.5
67.5
30.7
70.4
TABLE V: Comparison of semantic segmentation performance on the UAVid dataset.
Fig. 4: Visualization results of SOTA methods on ISPRS Potsdam dataset.
Figure 10
Si Chen received her master’s degree in Urban Planning and Design from Beijing Institute of Civil Engineering and Architecture. In 2021, she was awarded the title of Senior Engineer at the Beijing Institute of Surveying and Mapping. Her research interests include conservation of historical and cultural cities, geographic information systems (GIS), and realistic 3D geospatial representation.
Table 11
Quan Zhou received his B.S. degree from Capital Normal University, China, in 2015 and his M.S. degree from the University of Twente, Netherlands in 2018. Since 2018 he has been an engineer at Beijing Institute of Surveying and Mapping. His research interests are in smart city, remote sensing, and system architecture design.
Table 12
Jiangchuan Li received his B.S. and M.S. degrees from Beijing University of Civil Engineering and Architecture, China, in 2019 and 2022, respectively. Since 2022, he has been an assistant engineer at Beijing Institute of Surveying and Mapping. His research interests are in GIS and remote sensing.
Faculty of Data Science, City University of Macau, 999078, SAR Macao, China · Chair of Data Science in Earth Observation, Technical University of Munich (TUM), Germany · Munich Center for Machine Learning, Munich, Germany