13.07.2015 Views

Efficient energies and algorithms for parametric snakes - EPFL

Efficient energies and algorithms for parametric snakes - EPFL

Efficient energies and algorithms for parametric snakes - EPFL

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

d22d sOCFig. 6.Computation of the elemental angleB. Loop detection <strong>and</strong> recoveryThe optimization process can sometimes lead to looping curves. The probability of loops isgreatly reduced by the introduction of the curvilinear reparameterization energy; without thisterm, the knots tend to bunch together, eventually resulting in loops (c.f. Fig. 5).Despite the use of the new internal energy, looping may still arise occasionally 6 when theimage energy <strong>for</strong>ces some knots to move faster than the others. This compromises our approachsince we use Green’s theorem which assumes simply connected regions. In the case of polygonalrepresentation (linear spline curve), Chesnaud et. al. proposed to per<strong>for</strong>m crossing tests to detectthe presence of loops [24]. Un<strong>for</strong>tunately, this method is time consuming <strong>and</strong> not directlyapplicable to general scaling function curves. Hence, we devised a fast method <strong>for</strong> loop detection.We compute the total tangential angle 7 :whereθ total =∫ M0dθ (t) dt, (46)dθ (t) = x′ (t) y ′′ (t) − y ′ (t) x ′′ (t)x ′ (t) 2 + y ′ (t) 2 . (47)We show in the Appendix-D that the value of the integral (46) is 2 (n − m) π, where m <strong>and</strong> nare the number of loops in the clockwise <strong>and</strong> anti-clockwise direction respectively. Hence, <strong>for</strong>a simply connected curve, we expect ±2π (depending on the direction in which the curve isdescribed). We approximate (46) by a discrete sum over the parameter t.Note that our criterion can give a value 2π even if the curve is looping (when n + 1 = m),which implies that it is not completely foolproof. In principle, it is possible to detect these cases6 In our experiments, looping arise in about 10% of the cases.7 For a plane curve, the tangential angle θ is defined by dθ = κ |dr| [39].Submitted to IEEE Trans. Image Processing, January 7, 2004.DRAFT

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!