OBBSeg: Irregular Lesion Segmentation under Oriented Bounding Box Annotations

Jun Wei, Xinchang Liu, Yu Liu, Chuhua Yang, Shuhui Wang +1 more
7/7/2026
cs.CV

Official code: StarLxc3/OBBSeg (5 stars, Python, last commit 2026-06-30).

Abstract

Pixel-level annotation remains a major bottleneck in medical image segmentation, making weak supervision an attractive yet under-constrained alternative. We propose OBBSeg, an intermediate supervision paradigm guided by Oriented Bounding Boxes (OBBs) that bridges the gap between full and weak supervision.

Show full abstract

By jointly encoding spatial extent and orientation, OBBs provide compact geometric supervision that better aligns with elongated or anisotropic lesions, reducing the ambiguity of coarse box annotations. To mitigate the inherent rectangular bias of OBBs, we introduce a Mask-to-OBB loss, a differentiable formulation that enforces geometric consistency between predicted masks and OBB regions. Furthermore, we incorporate prompt-driven semantic guidance through two complementary modules-PAFE and DBFE-which enhance foreground representation and suppress background interference. Extensive experiments on 13 datasets across 5 imaging modalities show that OBBSeg not only outperforms existing weakly supervised methods but also achieves performance comparable to fully supervised approaches, demonstrating its potential for efficient and scalable medical image segmentation. The code is available at https://github.com/StarLxc3/OBBSeg.

View on arXivView PDF

Code Implementations(1)

StarLxc3/OBBSegOfficial100%

OBBSeg is a medical image segmentation project using prompt masks such as Box, Point, Scribble, and Circle.

51Python, ShellJun 22, 20265 months ago

Similar Papers

Cite this paper

@article{wei2026obbseg,
  title  = {OBBSeg: Irregular Lesion Segmentation under Oriented Bounding Box Annotations},
  author = {Jun Wei and Xinchang Liu and Yu Liu and Chuhua Yang and Shuhui Wang and Hui Huang},
  year   = {2026},
  eprint = {2607.06007},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.06007v1},
  journal = {ECCV 2026 2026}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.06007.svg)](https://codeofpaper.com/paper/2607.06007)

Discussion