An Improved Algorithm Based on the GVF-Snake for Effective Concavity Edge Detection

Mengmeng Zhang, Qianqian Li, Lei Li, Peirui BaiJournal of Software Engineering and Applications 2013

Abstract

Image segmentation is an important research area in Computer Vision and the GVF-snake is an effective segmentation algorithm presented in recent years. Traditional GVF-snake algorithm has a large capture range and can deal with boundary concavities. However, when interesting object has deep concavities, traditional GVF-snake algorithm can’t converge to true boundaries exactly. In this paper, a novel improved scheme was proposed based on the GVF-snake. The central idea is introduce dynamic balloon force and tangential force to strengthen the static GVF force. Experimental results of synthetic image and real image all demonstrated that the improved algorithm can capture boundary concavities better and detect complex edges more accurately.

Introduction

In computer vision, "snakes" or active contour models are curves that evolve under the influence of internal and external forces to segment objects within an image. While the original snakes introduced in 1988 were revolutionary, they suffered from a limited "capture range" and struggled to settle into concave boundaries.

The Gradient Vector Flow (GVF) snake addressed many of these issues by using a vector field to pull the contour toward concavities from a distance. However, GVF snakes still face challenges with deep concavities, such as narrow "U" shapes. In these regions, static GVF forces often become too weak or misdirected, causing the snake to "bridge" across the opening rather than converging to the true deep boundary.

Proposed Methodology

To overcome the limitations of the standard GVF-snake, this research proposes a hybrid force balance equation that augments the traditional static GVF force with two dynamic components:

  1. Dynamic Balloon Force ($F_{ext}^{(n)}$): This force acts like internal pressure, pushing the contour outward (or pulling it inward). This increases the capture range and accelerates convergence when the snake is far from the target edge.
  2. Tangential Force ($F_{ext}^{(q)}$): This component allows the snake to "slide" along the boundary. It is critical for deep concavities, ensuring the contour doesn't get stuck on the "shoulders" of a curve.

The Adaptive Mechanism

The algorithm employs an adaptive threshold ($T$) based on the average gradient value of a 9-pixel neighborhood around each control point. When the local average is below $T$ (indicating the snake is far from the edge), the balloon force dominates to drive the snake quickly toward the object. Once the average exceeds $T$ (indicating proximity to the edge), the tangential force takes over to refine the fit and ensure the contour reaches into deep concave pockets.

Experimental Results

The algorithm was evaluated using a synthetic $64 \times 64$ pixel "U-shape" image and a real-world medical image. The results were compared against the traditional GVF-snake using Mean Error (MN) and computation time.

Comparison of segmentation results on a medical image: (a) traditional GVF-snake and (b) the proposed improved algorithm.

As shown in the medical image comparison above, the improved algorithm (b) successfully captures complex organic boundaries that the standard GVF-snake (a) skips over. Quantitatively, the Mean Error for the medical image dropped from 4.9346 to 4.9093.

Detailed view of the contour convergence in a deep U-shape concavity.

In the synthetic U-shape test, the improved algorithm demonstrated a significant qualitative advantage, converging deep into the concavity where the standard model failed. Despite the added complexity of the dynamic forces, the total computation time remained nearly identical (15.01s vs 15.04s), proving the efficiency of the adaptive logic.

Conclusion and Future Work

The integration of dynamic balloon and tangential forces allows the GVF-snake to handle complex geometries with high precision. By making the forces local and adaptive, the model achieves better boundary convergence without a significant computational penalty.

Future research will focus on addressing "leakage" in low-contrast or blurry edges and adapting the model to handle topological changes, such as a single contour splitting to segment multiple interlaced objects.

Summary updated

BibTeX
@article{zhang2013improved,
  author = {Mengmeng Zhang and Qianqian Li and Lei Li and Peirui Bai},
  title = {{An Improved Algorithm Based on the GVF-Snake for Effective Concavity Edge Detection}},
  journal = {Journal of Software Engineering and Applications},
  year = {2013},
  doi = {10.4236/jsea.2013.64022},
}
Figure