1 / 51

B- Spline Snake : A Flexible Tool for Parametric Contour Detection

P. Brigger , J. Hoeg , and M. Unser Presented by Yu- Tseh Chi. B- Spline Snake : A Flexible Tool for Parametric Contour Detection. Snake revisited B- Spline curve B-Snake B- Spline Snake Cubic B- Spline snake = Snake Implicit smoothness constraints Results and Discussion

kellan
Download Presentation

B- Spline Snake : A Flexible Tool for Parametric Contour Detection

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. P. Brigger, J. Hoeg, and M. Unser Presented by Yu-Tseh Chi B-Spline Snake: A Flexible Tool for Parametric Contour Detection

  2. Snake revisited • B-Spline curve • B-Snake • B-Spline Snake • Cubic B-Spline snake = Snake • Implicit smoothness constraints • Results and Discussion • Conclusion Outlines

  3. An energy minimizing parametric curve guided by external and internal forces. Internal energy enforce the continuity constraint. α |s’|2 + β |s’’|2 Snake

  4. External energy (data term) attracts the curve to the image features such as edges and corners. Snake

  5. Slow convergence due to large number of coefficients Difficulty in determining weights associated with smoothness constraints Eint = α |s’|2 + β |s’’|2 Description of the curve by a finite set of disconnected points. High-order derivatives on the discrete curve may not be accurate in noisy environments. Disadvantage of Snake

  6. Snake revisited • B-Spline curve • B-Snake • B-Spline Snake • Cubic B-Spline snake = Snake • Implicit smoothness constraints • Results and Discussion • Conclusion Outlines

  7. A piece-wise polynomial defined by Ci : control points : basis function of degree d B-Spline Curve C1 C2 C4 C0 C3 C5

  8. uiare called knot values Number of knot values =Number of ctrl pts + degree +1 Basis function C1 C2 C4 C0 C3 C5

  9. Different ratios between knot intervals define different curve For a degree 3 B-Spline curve with 5 control points: u1=[0 1 2 3 4 5 6 7 8] andu2=[0 2 4 6 8 10 12 14 16] define the same curve. Basis Function

  10. Basis function C1 C2 C4 C0 C3 C5

  11. Important properties • Defined by only few parameters • Cd-1 continuityA degree 3 B-Spline curve is C2continuousDuplicate knot values decrease continuity by 1 B-Spline curve C0C1C2C3C4C5 C1 C2 C4 C0 C3 C5

  12. Important properties • Defined by only few parameters • Cd-1 continuityA degree 3 B-Spline curve is C2continuousDuplicate knot values decrease continuity by 1 B-Spline curve C0C1C2C3C4C5

  13. Important properties • Defined by only few parameters • Cd-1 continuity • Locality B-Spline curve C0C1C2C3C4C5

  14. For a degree d B-Spline curve, add d duplicate control points in the end. Add knot values according. Closed Curve C8 C2 C1 C7 C3 C4 C0 C5 C6

  15. Snake revisited • B-Spline curve • B-Snake • B-Spline Snake • Cubic B-Spline snake = Snake • Implicit smoothness constraints • Results and Discussion • Conclusion Outlines

  16. Slow convergence due to large number of coefficients Difficulty in determining weights associated with smoothness constraints Eint = α |s’|2 + β |s’’|2 Description of the curve by a finite set of disconnected points. High-order derivatives on the discrete curve may not be accurate in noisy environments. Disadvantage of Snake

  17. Proposed by Medioni et. al. • Curve is replaced by its B-Spline approximation • Advantages of this formulation • Local Control • Continuity • Less points to apply optimization B-Snake

  18. Energy function of B-Snake • is the derivative of the basis function = • F(S(u))is the data term as defined in the orginal Snake.

  19. Calculate the ctrl points based on some points sampled from the user-defined curve. Update the ctrl pointsCik+1= Cik + η*∂E/ ∂Cik algorithm

  20. Does not take advantage of the implicit smoothness constraint of B-Spline curve. Still have the regularization term explicitly Disadvantage of B-Snake

  21. Snake revisited • B-Spline curve • B-Snake • B-Spline Snake • Cubic B-Spline snake = Snake • Implicit smoothness constraints • Results and Discussion • Conclusion Outlines

  22. Proposed by Unser et. al. Same formulation as B-SnakeUsing to outline contour in an image. B-Spline Snake

  23. Optimal solution for Snake (a curvature-constrained E ) is a cubic spline. Specify initial contour by node points of a B-spline curve instead of control points. Enforce smoothness constraint implicitly. Improve speed and robutsness by using a multi-resolution scheme. Contributions

  24. Similar formulation to the one of Snake S* is the optimal solution V is the data term. S(k) some points on the curve S(u) 2nd term is the smoothness constraint. Snake = cubic spline

  25. Define Sint(u)is the cubic spline interpolation of the Snake S(u) and Sint(ui)=S(ui) Above equation can be rewritten as Snake = cubic spline

  26. Using first integral equation, 2nd term can be rewritten as Snake = Cubic Spline

  27. S* is the optimal solution s.t. the energy function is minimized. The energy function can be minimized if and only if the 3rd term is minimized. Snake = Cubic Spline

  28. By intergrading twice, S(u) – Sint(u) = au+b Because of the interpolation condition S(ui) = Sint(ui) , a = 0 and b=0  S(u) = Sint(u) Snake = Cubic Spline

  29. Another way to prove it Take the Euler-Lagrange of the 2nd term.  S(u) is a cubic spline. All Splines can be represented by a B-Spline. The optimal solution for Snake is a cubic B-Spline Snake = Cubic Spline

  30. Optimal solution for Snake (a curvature-constrained E ) is a cubic spline. Specify initial contour by node points of a B-spline curve instead of control points. Enforce smoothness constraint implicitly. Improve speed and robutsness by using a multi-resolution scheme. Contributions

  31. Provide more intuitive user interaction. Specify a B-spline curve from user defined node points. Nodes Points

  32. Node points are points on the B-SplineS(u) where u = ui ( are knot values of the B-Spline) To calculate ctrl points based on given node points, we use Node Points Control points Node Points when u =ui N = B*C  C=B-1*N

  33. Optimal solution for Snake (a curvature-constrained E ) is a cubic spline. Specify initial contour by node points of a B-spline curve instead of control points. Impose smoothness constraint implicitly. Improve speed and robutsness by using a multi-resolution scheme. Contributions

  34. 2nd term is the smoothness constraint. Ignore 2nd term, by introducing smoothness factor h. Implicit Smoothness Constraint

  35. Original parameterization with u =[0 1 2 3 …. N+3] We sample points S(ui) on the curve to do the optimization. Implicit Smoothness Constraint

  36. New parameterization with u =[0 1h 2h …. (N+3)h] Sample points on S(u) where u is a integer h decides how dense we want to sample from the curve Implicit Smoothness Constraint h=1 h=2 h=4 h=8

  37. h acts as the regularization factor in Snake. Implicit Smoothness Constraint

  38. h acts as the regularization factor in Snake. Implicit Smoothness Constraint

  39. Optimal solution for Snake (a curvature-constrained E ) is a cubic spline. Specify initial contour by node points of a B-spline curve instead of control points. Impose smoothness constraint implicitly. Improve speed and robutsness by using a multi-resolution scheme. Contributions

  40. Used in many Research topic. Image pyramid scheme. To increase speed and prevent local minimum. Multi-Resolution scheme

  41. Energy function g(S(i)) is the external potential function . Smoothed gradient of the input image. Φ is a smoothing kernel (Guassian) Energy Formulation

  42. Optimization

  43. Use steepest descent algorithm to obtain new control points.

  44. Snake revisited • B-Spline curve • B-Snake • B-Spline Snake • Cubic B-Spline snake = Snake • Implicit smoothness constraints • Results and Discussion • Conclusion Outlines

  45. Results

  46. Results

  47. Results

  48. Results

  49. Snake revisited • B-Spline curve • B-Snake • B-Spline Snake • Cubic B-Spline snake = Snake • Implicit smoothness constraints • Results and Discussion • Conclusion Outlines

  50. Snake = cubic B-spline Improvement of optimization speed by introducing # of free parameters of Snake curve. Intuitive user-interaction. Conclusions

More Related