An active contour model is a deformable curve method that evolves to fit boundaries in images, such as tissues or organs.Active contour models (snakes) are a boundary-based segmentation method. A deformable spline, defined parametrically as v(s) = (x(s), y(s)), evolves under the influence of internal forces (elasticity, bending) and external forces (image gradients, intensity). Minimization of total energy (E = ∫ (E_int + E_ext) ds) leads to convergence at object boundaries. Extensions such as geodesic active contours use level sets to handle topology changes.
Kass, Witkin, and Terzopoulos (1988) formulated the snake model. In 1995, Caselles et al. proposed geodesic active contours, linking curve evolution to energy minimization via level sets. Chan and Vese (2001) created a gradient-free region-based model based on the Mumford–Shah functional. Active contours influenced many segmentation methods before the era of deep learning dominance.
The curve is defined parametrically: v(s) = (x(s), y(s)). Energy: E = ∫₀¹ (α|v'(s)|² + β|v''(s)|²) + E_ext(v(s)) ds. The first term controls tension, the second stiffness. External energy is typically –|∇I|² for edge attraction. The snake is optimized variationally: ∂v/∂t = αv'' – βv'''' – ∇E_ext. Discretization yields a system of equations solved iteratively. Level set methods: the curve is the zero level of a function φ, evolution: ∂φ/∂t = g|∇φ| div(∇φ/|∇φ|) + ∇g·∇φ.
Segmentation of cell boundaries in microscopy or outlining organs in ultrasound images.
Snakes work iteratively: they start from an initial guess and can 'get stuck' if the start is far from the true boundary, much like a blind person feeling their way around an object.















