NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bounded Labeling Function for Global Segmentation of Multi-part Objects with Geometric Constraints

Masoud S. Nosrati, Shawn Andrews, Ghassan Hamarneh

Bounded Labeling Function for Global Segmentation of Multi-part Objects with Geometric Constraints

Introduction

In medical and biological imaging, the spatial relationship between objects is often known a priori. For instance, a cell nucleus is invariably contained within the cytoplasm, which is itself bounded by a membrane. Despite this clear "anatomy," standard segmentation algorithms like the Mumford-Shah model frequently fail when contrast is weak or colors are similar, resulting in physically impossible "leaking" boundaries.

Previous attempts to incorporate geometric priors such as containment and detachment have faced significant hurdles. Discrete methods, such as Graph Cuts, suffer from "metrication errors" (jagged boundaries) and require excessive memory to enforce distance constraints. Conversely, continuous methods like Level Sets often struggle with global optimality or become computationally prohibitive when scaling to images containing dozens of individual objects.

Methodology: The Bounded Labeling Function

The authors introduce a continuous, convex optimization framework that utilizes a single labeling function $u(x)$ to segment multi-part objects while strictly enforcing geometric constraints.

Geometric constraints illustrating containment and minimum thickness $w$.

Instead of employing multiple binary functions, the range $[0, 1]$ is partitioned into intervals corresponding to different regions. For a three-region problem, the background might correspond to $0 \le u < 1/3$, the outer region to $1/3 \le u < 2/3$, and the inner region to $2/3 \le u \le 1$.

The core innovation lies in enforcing a "minimum thickness" $w$ for a region by bounding the spatial gradient of the labeling function: $|\nabla u| \le 1/3w$. This constraint ensures that the function cannot transition directly from the background to the innermost region without traversing the intermediate region for a specified distance. To solve the resulting non-convex data terms, the problem is "lifted" into a higher-dimensional space where the energy functional becomes convex, and optimization is performed in the dual space using efficient primal-dual algorithms.

Key Insights: Thickness as Gradient

The most significant theoretical contribution is the proof that spatial thickness constraints in the image domain are mathematically equivalent to gradient (slope) constraints on the labeling function. This leads to several advantages:

  • Memory Efficiency: Unlike graph-cut methods where increasing thickness $w$ requires adding more edges and increasing memory consumption, this method's memory footprint remains independent of the thickness value.
  • Scalability: A single labeling function can handle an arbitrary number of object instances (e.g., 50 cells in a single field of view) without the need to track each instance individually.
  • Ambiguity Resolution: By explicitly defining containment, the framework resolves common ambiguities where regions have nearly identical appearances.

Results and Performance

The framework was evaluated on synthetic nested objects and a dataset of 20 microscopy images featuring numerous cells.

  • Memory and Accuracy: In a 3-region synthetic test, the proposed method required only 0.80 MB of memory, compared to 7.92 MB for a 16-connectivity graph-cut method—a nearly 10x improvement. On real-world microscopy data, the method achieved a Dice Similarity Coefficient (DSC) of 0.9158, significantly outperforming versions without containment constraints (0.6478).
  • Visual Quality: The continuous nature of the framework eliminates the "staircase" artifacts typical of discrete methods, producing perfectly smooth boundaries.
  • Constraint Flexibility: By adjusting the thickness parameter $w$, the system can automatically filter out "abnormal" cells that do not meet predefined geometric criteria, such as those with membranes that are too thin.

Conclusion and Future Directions

While the current MATLAB implementation is approximately 2-3 times slower than highly optimized discrete solvers, the memory efficiency and global optimality offer a compelling trade-off. Current limitations include a reliance on a fixed, known hierarchy of regions. Future work aims to extend this framework to 3D volumetric data and explore more complex topological constraints beyond simple containment.

Summary updated

BibTeX
@inproceedings{nosrati2013bounded,
  author = {Masoud S. Nosrati and Shawn Andrews and Ghassan Hamarneh},
  title = {{Bounded Labeling Function for Global Segmentation of Multi-part Objects with Geometric Constraints}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2013},
  doi = {10.1109/iccv.2013.254},
}
Figure