Automatic building extraction from high-resolution aerial and satellite images has many practical applications, such as urban planning and disaster management. However, the complex appearance and various scales of buildings in remote-sensing images bring a challenge for building extraction. In this study, we developed a novel multiscale building extraction method based on refined attention pyramid networks (RAPNets). We built an encoder–decoder structure, and combine atrous convolution, deformable convolution, attention mechanism, and pyramid pooling module to improve the performance of feature extraction in the encoding path. Moreover, the salient multiscale features were extracted by embedding the convolutional block attention module into the lateral connections. Finally, the refined feature pyramid structure was adopted in the decoding path to fuse the multiscale features to obtain the final extraction results. Experiments on two standard data sets (Inria aerial image labeling data set and xBD data set) show that our method achieves reliable results and outperforms the comparing methods.
Aiming at the problems in the semantic segmentation of remote sensing images, such as missed detection of multi-scale targets and rough segmentation boundary, we propose a method of building change detection for aerial images based on an attention pyramid network. The method adopts an encoding-decoding configuration. In the encoding phase, we utilize ResNet101 as the basic network to extract the features and apply dilated convolutions to improve the receptive field in partial residual modules. Meanwhile, the pyramid pooling structure is selected as the last layer of the encoding network to extract multi-scale features of the images. In the decoding phase, the attention mechanism is employed in lateral connection to highlight significant features, and the procedure of top-down dense connection is used to calculate the feature pyramid and then to fuse the features with different resolutions at different phases. Furthermore, the verification experiments are performed on the dataset of building change detection, and the results indicate that our method has good adaptability to different-size-building change detection and has certain advantages in comparison with the classical semantic segmentation networks.