Abstract
This paper introduces a novel Structure Tensor (ST) representation for oriented object detection, addressing the inherent challenges of regressing raw angular parameters. By representing an Oriented Bounding Box (OBB) as a 2x2 symmetric matrix, the proposed method effectively resolves the boundary problem of angular periodicity and the ambiguity of symmetric objects. This representation is continuous, modular, and computationally efficient. Experimental results on aerial imagery and scene text datasets demonstrate that the ST representation achieves state-of-the-art precision with minimal overhead.
Introduction
Standard object detection typically utilizes horizontal bounding boxes. However, applications such as aerial surveillance, ship detection, and scene text recognition require Oriented Bounding Boxes (OBB) to accurately capture object geometry. Predicting the rotation angle $\theta$ is notoriously difficult for neural networks due to two primary issues:
- The Boundary Problem: Angles are periodic. A small change in orientation can result in a large numerical jump in the angle value (e.g., from $-89^\circ$ to $+91^\circ$), leading to training instability.
- Symmetry Ambiguities: Symmetric objects, such as squares or rectangles, appear identical under certain rotations ($90^\circ$ or $180^\circ$). This makes it difficult for networks to converge on a single orientation estimate.
Existing solutions often rely on complex angle-coders or Gaussian distributions, which can be computationally expensive or require extensive hyperparameter tuning.
Methodology
Structure Tensor Representation
The authors propose representing OBB orientation and shape using a Structure Tensor, a classical tool from computer vision. Instead of regressing $(x, y, w, h, \theta)$, the network predicts the center $(x, y)$ and the three unique components ($a, b, c$) of a 2x2 symmetric matrix $T$. This matrix is defined such that its eigenvectors align with the object's principal axes and its eigenvalues correspond to the box's dimensions.
This representation is continuous; as an object rotates, the tensor components vary smoothly, eliminating the discontinuities associated with raw angles. During inference, the predicted tensor is decomposed back into standard OBB parameters using basic linear algebra.
Breaking Symmetry with Anisotropy
A key contribution of this work is the handling of isotropic objects (e.g., squares). Because a perfect square lacks a principal direction, networks often produce inconsistent orientation estimates. To provide a clear optimization path, the authors introduce a small amount of artificial anisotropy during training. By treating "square-like" objects as having a preferred 2:1 aspect ratio in the tensor space, the network receives a consistent gradient to learn orientation.
Experimental Evaluation
The method was evaluated across several benchmarks:
- DOTA: Large-scale aerial imagery.
- HRSC2016: High-resolution ship detection.
- ICDAR2015 & MSRA-TD500: Oriented scene text.
- C19TD: A new dataset of COVID-19 test strip images, featuring highly symmetric regions requiring precise orientation for automated reading.
Key Results
- Accuracy: On the DOTA dataset, the ST representation achieved an mAP50 of 71.3, outperforming established methods like CSL and KLD.
- Angular Precision: The method achieved remarkably low angular errors, such as 0.019 radians on the HRSC2016 dataset.
- Efficiency: The ST approach uses a simple L1 loss on tensor components, adding virtually no computational overhead in terms of parameters or FLOPs.
Conclusion
The Structure Tensor representation provides a mathematically elegant and robust framework for oriented object detection. By leveraging classical geometric representations, the method overcomes the limitations of raw angle regression. While highly effective, future work could explore the optimal levels of artificial anisotropy for various object classes and the integration of this representation into transformer-based detection architectures.
Summary updated