Using the Split Bregman Algorithm to Solve the Self-repelling Snakes Model

Huizhu Pan, Jintao Song, Wanquan Liu, Ling Li, Guanglu Zhou, Lu Tan, Shichu Chen

Introduction

In image segmentation, maintaining the correct topology of objects—ensuring they do not merge or split incorrectly—is a critical challenge. The Self-repelling Snakes (SR) model addresses this by adding a non-local repulsion term to standard active contours, effectively pushing the contour away from itself to prevent self-intersection. While effective, the traditional numerical solver for this model, Additive Operator Splitting (AOS), is computationally expensive and memory-intensive. This paper introduces a more efficient framework using the Split Bregman algorithm to make complex topology-preserving segmentation practical for real-world applications.

The Problem: Computational Bottlenecks

The SR model's primary drawback has been its reliance on AOS, which requires building and storing massive coefficient matrices that scale quadratically ($O((MN)^2)$) with the number of pixels. This makes the model slow and difficult to use for high-resolution or 3D images, such as medical CT scans or complex biological samples where structures are tightly packed.

Methods: The Split Bregman Approach

The authors propose a shift to the Split Bregman method, a technique widely used in compressed sensing for solving $L^1$-regularized problems. The core innovation lies in variable splitting, which breaks the complex energy minimization problem into simpler, manageable sub-problems:

  1. Frequency Domain Solving: The level set function update is solved using a Fast Fourier Transform (FFT). This approach is more stable than traditional discretization and allows for larger time steps in the contour's evolution.
  2. Soft Thresholding: Handling the gradient is simplified through a generalized soft thresholding formula, which is computationally inexpensive.
  3. Narrow-Band Regularization: By modifying the Heaviside function to smooth the contour only within a narrow band, the authors prevent the repulsion force from causing instability across the entire image.
  4. Memory Efficiency: This approach reduces memory requirements from $O((MN)^2)$ to $O(MN)$, allowing the algorithm to run on standard hardware rather than requiring specialized high-memory systems.

Experimental Results

The algorithm was evaluated on synthetic, medical, and agricultural datasets. In a head-to-head speed comparison using a "two circles" test, the Split Bregman algorithm (implemented in MATLAB) took only 6.10 seconds, while the traditional AOS algorithm (implemented in C) took 36.18 seconds.

Evolution of the SR model on two synthetic circles, demonstrating topology preservation as the contour avoids merging.

Beyond speed, the model demonstrated superior qualitative results. It successfully segmented touching wheat grains and cell clusters that standard models would have merged. It also maintained the distinct topology of complex shapes, such as the fingers of a hand or the intricate structure of a human mandible in 3D.

Final segmentation of a synthetic hand image, where the SR model successfully keeps individual fingers distinct.

Conclusion and Future Work

By leveraging the Split Bregman algorithm, the authors have significantly improved the efficiency and stability of the Self-repelling Snakes model. This framework enables high-performance, topology-preserving segmentation that scales linearly with image size. Future research will focus on automating parameter selection to make the tool more accessible for non-expert users in fields like medical imaging and biology.

Summary updated

BibTeX
@article{pan2022using,
  author = {Huizhu Pan and Jintao Song and Wanquan Liu and Ling Li and Guanglu Zhou and Lu Tan and Shichu Chen},
  title = {{Using the Split Bregman Algorithm to Solve the Self-repelling Snakes Model}},
  journal = {J. Math. Imaging Vis.},
  year = {2022},
  doi = {10.1007/s10851-021-01065-9},
}
Figure