Fast Single-shot Ship Instance Segmentation Based on Polar Template Mask in Remote Sensing Images

Zhenhang Huang, Shihao Sun, Ruirui Li

Introduction

Instance segmentation in remote sensing imagery presents unique challenges, particularly for maritime surveillance. Ships are typically characterized by high aspect ratios ("shuttle-shaped") and often appear in dense clusters within harbors. Traditional two-stage methods like Mask R-CNN, while accurate, suffer from high computational overhead due to the generation of numerous region proposals. Conversely, existing single-shot methods like PolarMask often fail to accurately capture the sharp contours of a ship's bow and stern due to uniform angular sampling.

Methodology: SSS-Net Architecture

To address these limitations, we propose SSS-Net, an anchor-free, single-shot framework optimized for ship segmentation. The architecture utilizes a ResNet backbone coupled with a Feature Pyramid Network (FPN) to extract multi-scale features.

The SSS-Net architecture featuring a ResNet backbone, Feature Pyramid Network (FPN), and specialized detection heads for classification, centerness, angle, and mask regression.

As shown in the architecture diagram, the model branches into two main components:

  1. Detection Head: Predicts object category, centerness, and the "main angle" (orientation) of the ship.
  2. Mask Regression Head: Regresses the distances for the Polar Template Mask rays.

The Polar Template Mask (PTM)

The core innovation of SSS-Net is the Polar Template Mask (PTM). Unlike standard polar-based methods that sample rays at uniform intervals, PTM employs a non-uniform sampling strategy. By identifying the ship's longitudinal axis, the model increases sampling density at the narrow ends (bow and stern) and reduces it along the flatter sides.

Comparison of Polar Template Mask (PTM) and standard PolarMask (PM). PTM concentrates sampling rays at the bow and stern to better capture ship geometry.

This shape-aware prior allows the model to represent the complex geometry of a ship hull more precisely with the same number of parameters. To support this, a specialized Non-uniform Polar IoU Loss was developed to optimize the predicted masks during training.

Experimental Results

SSS-Net was evaluated on the Airbus Ship Detection Challenge and the iSAID dataset.

Performance and Efficiency

The model demonstrates a significant improvement in inference speed, achieving 16.0 FPS on an RTX 2080Ti—approximately 30% faster than Mask R-CNN (10.8 FPS). In terms of accuracy, SSS-Net achieved an F2 score of 80.0 on the Airbus private leaderboard, outperforming the original PolarMask (55.5) and approaching the performance of the more complex Mask R-CNN (81.4).

Qualitative Improvements

Visual analysis confirms that PTM produces smoother, more realistic ship contours compared to the "blocky" artifacts often seen in uniform sampling methods. This is particularly evident in high-resolution imagery where the precise shape of the hull is visible.

Conclusion

SSS-Net provides a compelling balance between speed and accuracy for maritime remote sensing. By incorporating geometric priors into the sampling process, it overcomes the resolution limitations of standard single-shot polar methods. Future work will focus on closing the accuracy gap for extremely small ship targets and exploring the integration of PTM into two-stage architectures.

Summary updated

BibTeX
@inproceedings{huang2020fast,
  author = {Zhenhang Huang and Shihao Sun and Ruirui Li},
  title = {{Fast Single-shot Ship Instance Segmentation Based on Polar Template Mask in Remote Sensing Images}},
  booktitle = {IGARSS},
  year = {2020},
  url = {https://openreview.net/forum?id=FMzPeUHXqK},
}
Figure