active shape models
play

ACTIVE SHAPE MODELS Yogesh Singh Rawat SOC NUS September 19, 2012 - PowerPoint PPT Presentation

ACTIVE SHAPE MODELS Yogesh Singh Rawat SOC NUS September 19, 2012 Active Shape Models T.F.Cootes, C.J.Taylor, D.H.Cooper, J.Graham, Active Shape Models: Their Training and Application. Computer Vision and Image Understanding, V16,


  1. ACTIVE SHAPE MODELS Yogesh Singh Rawat SOC NUS September 19, 2012

  2. Active Shape Models  T.F.Cootes, C.J.Taylor, D.H.Cooper, J.Graham, “Active Shape Models: Their Training and Application.” Computer Vision and Image Understanding, V16, N1, January, pp. 38-59, 1995.

  3. What we will talk about ?  Modeling of objects which can change shape.

  4. Example Image Source - Google Images

  5. Example Image Source - Google Images

  6. Example Image Source - Google Images

  7. Example Image Source - Google Images

  8. Problem  Not a new problem, has been solved before.  New method to solve the problem.  Better then earlier methods.

  9. Possible Shapes of Human Body Image Source - Google Images

  10. Is This Possible ?

  11. Is This Possible ? Model - YES

  12. Is This Possible ? Real Life - NO

  13. Is This Possible ? Motivation for this work

  14. Existing Models  “Hand Crafted” Models  Articulated Models  Active Contour Models – “Snakes”  Fourier Series Shape Models  Statistical Models of Shape  Finite Element Models

  15. Problem with Existing Models  Nonspecific class deformation  An object should transform only as per the characteristics of the class.

  16. Problem with Existing Models  If two shape parameters are correlated over a set of shapes then their variation does not restrict shapes to any set of class.

  17. Problem with Existing Models No restriction on deformation Not a robust model

  18. Goals  Deform to characteristics of the class represented  “Learn” specific patterns of variability from a training set  Specific to ranges of variation  Searches images for represented structures  Classify shapes  Robust (noisy, cluttered, and occluded image)

  19. Point Distribution Model  Captures variability of training set by calculating mean shape and main modes of variation  Each mode changes the shape by moving landmarks along straight lines through mean positions  New shapes created by modifying mean shape with weighted sums of modes

  20. PDM Construction Manual Labeling Alignment Statistical Analysis

  21. Labeling the Training Set  Represent shapes by points  Useful points are marked called “ landmark points ”  Manual Process

  22. Aligning the Training Set  x i is a vector of n points describing the the i th shape in the set: x i =(x i0 , y i0 , x i1 , y i1 ,……, x ik , y ik ,……,x in-1 , y in-1 ) T  Minimize: “weighted sum of squares of distances between equivalent points”

  23. Aligning the Training Set  Minimize: E j = ( x i – M(s j , θ j )[ x k ] – t j ) T W ( x i – M(s j , θ j )[ x k ] – t j )  Weight matrix used: − 1   − = ∑ n 1   w V k R   kl = l 0  More significance is given to those points which are stable over the set.

  24. Alignment Algorithm  Align each shape to first shape by rotation, scaling, and translation  Repeat  Calculate the mean shape  Normalize the orientation, scale, and origin of the current mean to suitable defaults  Realign every shape with the current mean  Until the process converges

  25. Mean Normalization  Guarantees convergence  Not formally proved  Independent of initial shape aligned to

  26. Aligned Shape Statistics  PDM models “ cloud ” variation in 2n space  Assumptions:  Points lie within “ Allowable Shape Domain ”  Cloud is ellipsoid (2n-D)

  27. Statistics  Center of ellipsoid is mean shape N 1 ∑ = x x i N = i 1  Axes are found using PCA  Each axis yields a mode of variation  Defined as , the eigenvectors of covariance matrix p k , such that N 1 ∑ = T S d x d x i i N = ,where is the k th eigenvalue of S i 1 = λ λ Sp p k k k k

  28. Approximation  Most variation described by t- modes  Choose t such that a small number of modes accounts for most of the total variance 2 n ∑  If total variance = λ = λ and the T k = k 1 t ∑ λ = λ approximated variance = , then A i = i 1 λ ≅ λ A T

  29. Generating New Example Shapes  Shapes of training set approximated by: = + x x Pb

  30. Generating New Example Shapes  Shapes of training set approximated by: = + x x Pb P = where is the matrix of the first t ( p p ...p ) 1 2 t = eigenvectors and is a vector of weights T b ( b b ... b ) 1 2 t  Vary b k within suitable limits for similar shapes − λ ≤ ≤ λ 3 b 3 k k k

  31. Experiments  Applied to:  Resistors  “Heart”  Hand  “Worm” model

  32. Resistor Example Training Set

  33. Resistor Example  32 points  3 parameters capture variability

  34. Resistor Example (cont.’d)  Lacks structure  Independence of parameters b 1 and b 2  Will generate “legal” shapes

  35. Resistor Example (cont.’d)

  36. Resistor Example (cont.’d)

  37. Resistor Example (cont.’d)

  38. “Heart” Example  66 examples  96 points  Left ventricle  Right ventricle  Left atrium  Traced by cardiologists

  39. “Heart” Example

  40. “Heart” Example (cont.’d)

  41. “Heart” Example (cont.’d)  Varies Width  Varies Septum  Varies LV  Varies Atrium

  42. Hand Example  18 shapes  72 points  12 landmarks at fingertips and joints

  43. Hand Example (cont.’d)  96% of variability due to first 6 modes  First 3 modes  Vary finger movements

  44. “Worm” Example  84 shapes  Fixed width  Varying curvature and length

  45. “Worm” Example (cont.’d)  Represented by 12 point  Breakdown of PDM

  46. “Worm” Example (cont.’d)  Curved cloud  Mean shape:  Varying width  Improper length

  47. “Worm” Example (cont.’d)  Linearly independent  Nonlinear dependence

  48. “Worm” Example  Effects of varying first 3 parameters:  1 st mode is linear approximation to curvature  2 nd mode is correction to poor linear approximation  3 rd approximates 2 nd order bending

  49. PDM Improvements  Automated labeling  3D PDMs  Multi-layered PDMs  Chord Length Distribution Model

  50. PDMs to Search an Image - ASMs  Estimate initial position of model  Displace points of model to “better fit” data  Adjust model parameters  Apply global constraints to keep model “legal”

  51. Adjusting Model Points  Along normal to model boundary proportional to edge strength

  52. Adjusting Model Points  Vector of adjustments: = T X d ( dX , dY ,..., dX , dY ) − − 0 0 n 1 n 1

  53. Calculating Changes in Parameters = ( θ +  Initial position: X x X M s , )[ ] c  Move X as close to new position ( X + d X )  Calculate d x to move X by d X + θ θ + + + = + M ( s ( 1 ds ), ( , d )[ x d x ] ( X d X ) ( X d x ) c c = ( θ + − − = + − θ d θ − 1 y M s , )[ x } d X d X d x M (( s ( 1 ds )) , ( , ))[ y ] x , where c  Update parameters to better fit image  Not usually consistent with model constraints  Residual adjustments made by deformation

  54. Model Parameter Space  Transforms d x to parameter space giving allowable changes in parameters, d b = +  Recall: x x Pb + ≈ + +  Find d b such that x d x x P ( b d b ) + + − x +  = ( ) yields x P ( b d b ) d x Pb = T b P x d d  Update model parameters within limits

  55. ASM Application to Hand  72 points  Clutter and occlusions  8 degrees of freedom  Adjustments made finding strongest edge  100, 200, 350 iterations

  56. ASM Application to Hand

  57. ASM Application to Hand

  58. Applications  Medical  Industrial  Surveillance  Biometrics

  59. Conclusions  Object identification and location is robust.  Constraint to be similar to shapes of the training sets.

  60. Extension Active Appearance Model T.F.Cootes, G.J. Edwards and C.J.Taylor. "Active Appearance 1. Models", in Proc. European Conference on Computer Vision 1998 (H.Burkhardt & B. Neumann Ed.s). Vol. 2, pp. 484-498, Springer, 1998 T.F.Cootes, G.J. Edwards and C.J.Taylor. "Active Appearance 2. Models", IEEE PAMI, Vol.23, No.6, pp.681-685, 2001

  61. Active Appearance Model Model “texture” “Shape”

  62. Active Appearance Model

  63. T HANK Y OU

  64. References Cootes, Taylor, Cooper, Graham, “Active Shape Models: Their 1. Training and Application.” Computer Vision and Image Understanding, V16, N1, January, pp. 38-59, 1995. T.F.Cootes, G.J. Edwards and C.J.Taylor. "Active Appearance 2. Models", in Proc. European Conference on Computer Vision 1998 (H.Burkhardt & B. Neumann Ed.s). Vol. 2, pp. 484-498, Springer, 1998 T.F.Cootes, G.J. Edwards and C.J.Taylor. "Active Appearance 3. Models", IEEE PAMI, Vol.23, No.6, pp.681-685, 2001

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend