cs.CVSep 29, 2024

OrientedFormer: An End-to-End Transformer-Based Oriented Object Detector in Remote Sensing Images

Authors: Zeyu Ding, Yong Zhou, Jiaqi Zhao, Hancheng Zhu, Wen-Liang Du, Rui Yao, Abdulmotaleb El Saddik

Organizations: School of Computer Science and Technology, China University of Mining and Technology, and with Mine Digitization Engineering Research Center of the Ministry of Education, and also with Innovation Research Center of Disaster Intelligent Prevention and Emergency Rescue, China University of Mining and Technology, Xuzhou 221116, China · School of Electrical Engineering and Computer Science, University of Ottawa, Ottawa, ON K1N 6N5, Canada

Abstract

Oriented object detection in remote sensing images is a challenging task due to objects being distributed in multi-orientation. Recently, end-to-end transformer-based methods have achieved success by eliminating the need for post-processing operators compared to traditional CNN-based methods. However, directly extending transformers to oriented object detection presents three main issues: 1) objects rotate arbitrarily, necessitating the encoding of angles along with position and size; 2) the geometric relations of oriented objects are lacking in self-attention, due to the absence of interaction between content and positional queries; and 3) oriented objects cause misalignment, mainly between values and positional queries in cross-attention, making accurate classification and localization difficult. In this paper, we propose an end-to-end transformer-based oriented object detector, consisting of three dedicated modules to address these issues. First, Gaussian positional encoding is proposed to encode the angle, position, and size of oriented boxes using Gaussian distributions. Second, Wasserstein self-attention is proposed to introduce geometric relations and facilitate interaction between content and positional queries by utilizing Gaussian Wasserstein distance scores. Third, oriented cross-attention is proposed to align values and positional queries by rotating sampling points around the positional query according to their angles. Experiments on six datasets DIOR-R, a series of DOTA, HRSC2016 and ICDAR2015 show the effectiveness of our approach. Compared with previous end-to-end detectors, the OrientedFormer gains 1.16 and 1.21 AP50_{50} on DIOR-R and DOTA-v1.0 respectively, while reducing training epochs from 3×\times to 1×\times. The codes are available at https://github.com/wokaikaixinxin/ai4rs and https://github.com/wokaikaixinxin/OrientedFormer.

Figures & tables

Explore similar work

CardsList
  1. LOGOS: Language-guided Oriented Object Detection in Aerial Scenes

    Jul 9, 2026Trong-Thuan Nguyen, Minh-Triet TranAerial DatasetObject Detection

  2. A Unified Framework and Dataset for Oriented Object Visual Grounding in Remote Sensing

    Sep 23, 2026Zeyu Ding, Yong Zhou, Jiaqi Zhao +5Weak Visual GroundingRemote Sensing

  3. FGAA-FPN: Foreground-Guided Angle-Aware Feature Pyramid Network for Oriented Object Detection

    Feb 11, 2026Jialin MaFeature PyramidObject Detection