1 / 51

Deformable Contours

Deformable Contours. Dr. E. Ribeiro. Thresholding. Edge detection. Classical Methods. An image of blood vessel . Slide by: Chunming Li, Vanderbilt University. An Advanced Method: Active Contour Model. Slide by: Chunming Li, Vanderbilt University. Edges vs. boundaries.

morey
Download Presentation

Deformable Contours

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. Deformable Contours Dr. E. Ribeiro

  2. Thresholding Edge detection Classical Methods An image of blood vessel Slide by: Chunming Li, Vanderbilt University

  3. An Advanced Method: Active Contour Model Slide by: Chunming Li, Vanderbilt University

  4. Edges vs. boundaries Edges useful signal to indicate occluding boundaries, shape. Here the raw edge output is not so bad… …but quite often boundaries of interest are fragmented, and we have extra “clutter” edge points. Images from D. Jacobs

  5. Deformable contours a.k.a. active contours, snakes Given: initial contour (model) near desired object (Single frame) [Snakes: Active contour models, Kass, Witkin, & Terzopoulos, ICCV1987] Fig: Y. Boykov

  6. Deformable contours a.k.a. active contours, snakes Given: initial contour (model) near desired object Goal: evolve the contour to fit exact object boundary (Single frame) [Snakes: Active contour models, Kass, Witkin, & Terzopoulos, ICCV1987] Fig: Y. Boykov

  7. Why do we want to fit deformable shapes? • Non-rigid, deformable objects can change their shape over time, e.g. lips, hands. Figure from Kass et al. 1987

  8. Why do we want to fit deformable shapes? • Some objects have similar basic form but some variety in the contour shape.

  9. Deformable contours: intuition Image from http://www.healthline.com/blogs/exercise_fitness/uploaded_images/HandBand2-795868.JPG Figure from Shapiro & Stockman

  10. initial intermediate final Deformable contours a.k.a. active contours, snakes • How is the current contour adjusted to find the new contour at each iteration? • Define a cost function (“energy” function) that says how good a possible configuration is. • Seek next configuration that minimizes that cost function.

  11. Snakes energy function The total energy (cost) of the current snake is defined as: Internal energy: encourage prior shape preferences: e.g., smoothness, elasticity, particular known shape. External energy (“image” energy): encourage contour to fit on places where image structures exist, e.g., edges. A good fit between the current deformable contour and the target shape in the image will yield a low value for this cost function.

  12. Parametric curve representation (continuous case) Fig from Y. Boykov

  13. External energy: intuition • Measure how well the curve matches the image data • “Attract” the curve toward different image features • Edges, lines, etc.

  14. External image energy How do edges affect “snap” of rubber band? Think of external energy from image as gravitational pull towards areas of high contrast Magnitude of gradient - (Magnitude of gradient)

  15. External image energy • Image I(x,y) • Gradient images and • External energy at a point v(s) on the curve is • External energy for the whole curve:

  16. Internal energy: intuition A priori, we want to favor smooth shapes, contours with low curvature, contours similar to a known shape, etc. to balance what is actually observed (i.e., in the gradient image). http://www3.imperial.ac.uk/pls/portallive/docs/1/52679.JPG

  17. Internal energy For a continuous curve, a common internal energy term is the “bending energy”. At some point v(s) on the curve, this is: The more the curve bends  the larger this energy value is. The weights α and β dictate how much influence each component has. Elasticity, Tension Stiffness, Curvature Internal energy for whole curve:

  18. Dealing with missing data • The smoothness constraint can deal with missing data: [Figure from Kass et al. 1987]

  19. Total energy(continuous form) // bending energy // total edge strength under curve

  20. Parametric curve representation(discrete form) • Represent the curve with a set of n points …

  21. Discrete energy function:external term • If the curve is represented byn points Discrete image gradients

  22. Summary: elastic snake • A simple elastic snake is defined by • A set of n points, • An internal elastic energy term • An external edge based energy term • To use this to locate the outline of an object • Initialize in the vicinity of the object • Modify the points to minimize the total energy

  23. zero level zero level Level Set Representation of Curves Slide by: Chunming Li, Vanderbilt University

  24. Level set formulation: N Level Set Method (Osher and Sethian, 1988) • Curve evolution: • where F is the speed function, N is normal vector to the curve C Slide by: Chunming Li, Vanderbilt University

  25. Geodesic active contour

  26. Geodesic active contour

  27. Geodesic active contour

  28. Segmentation using statistical models (Rousson and Deriche, 2002) Energy functional Probability describing the pixel values inside region i

  29. Segmentation using statistical models (Rousson and Deriche, 2002) Energy functional Probability describing the pixel values inside region i The energy functional can be rewritten as:

  30. Two-phase case

  31. Two-phase case Energy functional Level set function

  32. Two-phase case Energy functional Heaviside step function Length term Smooth approximation

  33. Indicator functions (partitions)

  34. Indicator functions (partitions)

  35. Distance function (level set function)

  36. Two-phase case Estimating the Parameters of the Gaussian densities

  37. Two-phase case

  38. Experiments

  39. Gray level

  40. Color and Texture

  41. Results Slide by: Chunming Li, Vanderbilt University

  42. 3D Segmentation of Corpus Callosum Slide by: Chunming Li, Vanderbilt University

  43. Result Synthetic noisy image Slide by: Chunming Li, Vanderbilt University

  44. 2D Segmentation of Real Color Images A real image of potatoes Slide by: Chunming Li, Vanderbilt University

  45. 2D Vessel Segmentation Slide by: Chunming Li, Vanderbilt University

  46. Segmentation of White Matter in MR images Slide by: Chunming Li, Vanderbilt University

  47. Without level set regularization Final zero level contour Final level set function Effect of the Level Set Regularization Slide by: Chunming Li, Vanderbilt University

  48. 3D Vessel Segmentation MRA Vessel Segmentation Slide by: Chunming Li, Vanderbilt University

  49. 3-D Ultrasound http://mrcas.mpe.ntu.edu.sg/research/imgpro/3d_level_set.htm

More Related