registration deformation models
play

Registration Deformation models Marcel Lthi Graphics and Vision - PowerPoint PPT Presentation

> DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Registration Deformation models Marcel Lthi Graphics and Vision Research Group Department of Mathematics and Computer Science University of Basel University of Basel > DEPARTMENT OF


  1. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Registration – Deformation models Marcel LΓΌthi Graphics and Vision Research Group Department of Mathematics and Computer Science University of Basel

  2. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Registration as analysis by synthesis Comparison: π‘ž 𝐽 π‘ˆ πœ„, 𝐽 𝑆 ) Prior πœ’[πœ„] ∼ π‘ž(πœ„) 𝐽 π‘ˆ 𝐽 𝑆 ∘ πœ’[πœ„] Parameters πœ„ Update using π‘ž(πœ„|𝐽 π‘ˆ , 𝐽 𝑆 ) Synthesis πœ’[πœ„]

  3. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Priors Define the Gaussian process 𝑣 ∼ 𝐻𝑄 𝜈, 𝑙 with mean function Characteristics 𝜈: Ξ© β†’ ℝ 2 of deformation fields and covariance function 𝑙: Ξ© Γ— Ξ© β†’ ℝ 2Γ—2 .

  4. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example prior: Smooth 2D deformations Zero mean: 𝜈 𝑦 = 0 0 Squared exponential covariance function (Gaussian kernel) s 1 exp βˆ’ 𝑦 βˆ’ 𝑦 β€² 2 0 2 𝜏 1 𝑙 𝑦, 𝑦 β€² = s 2 exp βˆ’ 𝑦 βˆ’ 𝑦 β€² 2 0 2 𝜏 2

  5. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example prior: Smooth 2D deformations 𝑑 1 = 𝑑 2 small, 𝜏 1 = 𝜏 2 large

  6. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example prior: Smooth 2D deformations 𝑑 1 = 𝑑 2 small, 𝜏 1 = 𝜏 2 small

  7. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example prior: Smooth 2D deformations 𝑑 1 = 𝑑 2 large, 𝜏 1 = 𝜏 2 large

  8. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Why are priors interesting? πœ„ βˆ— = arg max π‘ž πœ’ πœ„ π‘ž(𝐽 π‘ˆ |𝐽 𝑆 , πœ’[πœ„]) πœ„ πœ„

  9. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Why are priors interesting? πœ„ βˆ— = arg max π‘ž πœ’ πœ„ π‘ž(𝐽 π‘ˆ |𝐽 𝑆 , πœ’[πœ„]) πœ„ πœ„

  10. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Intermezzo – The space of samples 10

  11. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Gaussian processes - Deeper Insights

  12. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Scalar-valued Gaussian processes Sc Scalar-valu lued (m (more common) Vector-valu lued (th (this is cou ourse) β€’ Samples f are real-valued functions β€’ Samples u are deformation fields: 𝑔 ∢ ℝ π‘œ β†’ ℝ 𝑣: ℝ π‘œ β†’ ℝ 𝑒

  13. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE The space of samples 𝑣 ∼ 𝜈 + Οƒ 𝑗 𝛽 𝑗 πœ‡ 𝑗 𝜚 𝑗 = Οƒ 𝑗 𝛾 𝑗 𝑙(𝑦 𝑗 ,β‹…) for some 𝛾 Argument: β€’ Covariance function 𝑙 is symmetric and positive definite β€’ For any finite sample it holds that: => the covariance matrix is symmetric => rowspace = columnspace = eigenspace Samples are linear combinations of the β€œ row s” of 𝑙 18

  14. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example: Gaussian kernel β€’ Click to edit Master text styles 𝑙 𝑦, 𝑦 β€² = exp βˆ’ 𝑦 βˆ’ 𝑦 β€² 2 𝜏 2 β€’ Second level β€’ Third level β€’ Fourth level β€’ Fifth level 19

  15. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example: Gaussian kernel 𝑙 𝑦, 𝑦 β€² = exp βˆ’ 𝑦 βˆ’ 𝑦 β€² 2 𝜏 2 Οƒ = 3 20

  16. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Multi-scale signals 2 2 𝑦 β€² 𝑦 β€² β€’ k x, x β€² = exp βˆ’ 𝑦 βˆ’ + 0.1 exp βˆ’ 𝑦 βˆ’ 1 0.1 21

  17. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Periodic kernels cos 𝑦 β€’ Define 𝑣 𝑦 = sin(𝑦) ‖𝑦 βˆ’π‘¦ β€² β€– β€’ 𝑙 𝑦, 𝑦 β€² = exp(βˆ’β€–(𝑣 𝑦 βˆ’ 𝑣 𝑦 β€² β€– 2 = exp(βˆ’4 sin 2 ) 𝜏 2 22

  18. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Symmetric kernels β€’ Enforce that f(x) = f(-x) β€’ 𝑙 𝑦, 𝑦 β€² = 𝑙 βˆ’π‘¦, 𝑦 β€² + 𝑙(𝑦, 𝑦 β€² ) 23

  19. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Changepoint kernels β€’ 𝑙 𝑦, 𝑦 β€² = 𝑑 𝑦 𝑙 1 𝑦, 𝑦 β€² 𝑑 𝑦 β€² + (1 βˆ’ 𝑑 𝑦 )𝑙 2 (𝑦, 𝑦 β€² )(1 βˆ’ 𝑑 𝑦 β€² ) 1 β€’ s 𝑦 = 1+exp( βˆ’π‘¦) 24

  20. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Combining existing functions 𝑙 𝑦, 𝑦 β€² = 𝑔 𝑦 𝑔 𝑦 β€² f x = x 25

  21. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Combining existing functions 𝑙 𝑦, 𝑦 β€² = 𝑔 𝑦 𝑔 𝑦 β€² f x = sin(x) 26

  22. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Combining existing functions 𝑙 𝑦, 𝑦 β€² = ෍ 𝑗 (𝑦 β€² ) 𝑔 𝑗 𝑦 𝑔 𝑗 {f 1 x = x, f 2 x = sin(x)} 27

  23. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Statistical models … 𝑣 π‘œ ∢ Ξ© β†’ ℝ 2 𝑣 1 ∢ Ξ© β†’ ℝ 2 𝑣 2 ∢ Ξ© β†’ ℝ 2 π‘œ 𝜈 𝑦 = 𝑣 𝑦 = 1 𝑣 𝑗 (𝑦) π‘œ ෍ π‘—βˆ’1 π‘œ 1 π‘ˆ 𝑙 𝑇𝑁 𝑦, 𝑦 β€² = (𝑣 𝑗 𝑦 βˆ’ 𝑣(𝑦)) 𝑣 𝑗 𝑦′ βˆ’ 𝑣(𝑦′) π‘œ βˆ’ 1 ෍ 𝑗 Statistical shape models are linear combinations of example deformations 𝑣 1 , … 𝑣 π‘œ .

  24. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Gaussian process regression β€’ Given: observations {(𝑦 1 , 𝑧 1 ), … , 𝑦 π‘œ , 𝑧 π‘œ } β€’ Model: 𝑧 𝑗 = 𝑔 𝑦 𝑗 + πœ—, 𝑔 ∼ 𝐻𝑄(𝜈, 𝑙) β€’ Goal: compute p( 𝑧 βˆ— |𝑦 βˆ— , 𝑦 1 , … , 𝑦 π‘œ , 𝑧 1 , … , 𝑧 π‘œ ) 𝑧 π‘œ 𝑧 1 𝑧 βˆ— 𝑧 2 𝑦 π‘œ 𝑦 1 𝑦 2 29 𝑦 βˆ—

  25. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Gaussian process regression β€’ Solution given by posterior process 𝐻𝑄 𝜈 π‘ž , 𝑙 π‘ž with 𝜈 π‘ž (𝑦 βˆ— ) = 𝐿 𝑦 βˆ— , π‘Œ 𝐿 π‘Œ, π‘Œ + 𝜏 2 𝐽 βˆ’1 𝑧 βˆ’ 𝐿 𝑦 βˆ— , π‘Œ 𝐿 π‘Œ, π‘Œ + 𝜏 2 𝐽 βˆ’1 𝐿 π‘Œ, 𝑦 βˆ— β€² 𝑙 π‘ž 𝑦 βˆ— , 𝑦 βˆ— β€² = 𝑙 𝑦 βˆ— , 𝑦 βˆ— β€² β€’ The covariance is independent of the value at the training points β€’ Structure of posterior GP determined solely by kernel. β€’ The most likely solution is a linear combination of kernels evaluated at the training points β€’ This is known as the Rep epresenter er Th Theorem in machine learning. β€’ Structure of solution determined solely by kernel. 30

  26. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Illustration: Representer theorem 31

  27. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples 32

  28. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β€’ Gaussian kernel ( 𝜏 = 1) 33

  29. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β€’ Gaussian kernel ( 𝜏 = 5) 34

  30. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β€’ Periodic kernel 35

  31. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β€’ Changepoint kernel 36

  32. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β€’ Symmetric kernel 37

  33. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Examples β€’ Linear kernel 38

  34. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Deformation models for registration 39

  35. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Basic assumption: Deformation fields are smooth β€’ Typical assumption: β€’ Deformation field is smooth β€’ GP approach β€’ Choose smooth kernel functions 𝑙 𝑦, 𝑦 β€² = 𝑑 exp(βˆ’ 𝑦 βˆ’ 𝑦 β€² 2 ) 𝜏 2 β€’ Regularization operators β€’ Penalize large derivatives π‘œ 𝑆𝑣 2 = ෍ 𝛽 𝑗 𝐸 𝑗 𝑣 2 β„› 𝑣 = 𝑗=0

  36. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Green’s functions and covariance functions π‘œ 𝑆𝑣 2 = ෍ 𝛽 𝑗 𝐸 𝑗 𝑣 2 β„› 𝑣 = 𝑗=0 Corresponding covariance function for GP is the Greens function G: 𝑆 βˆ— 𝑆𝐻 𝑦, 𝑧 = πœ€(𝑦 βˆ’ 𝑧) β€’ We can define Gaussian processes, which mimic typical regularization operators. T. Poggio and F. Girosi; Networks for Approximation and Learning, Proceedings of the IEEE, 1990

  37. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example: Gaussian kernel 𝑙 𝑦, 𝑦 β€² = exp(βˆ’ 𝑦 βˆ’ 𝑦 β€² 2 ) 𝜏 2 ∞ 𝜏 2𝑗 𝑆𝑣 2 = ෍ 𝑗! 2 𝑗 𝐸 𝑗 𝑣 2 β„› 𝑣 = 𝑗=0 β€’ Non-zero functions are penalized β€’ pushes functions to zero away from data Yuille, A. and Grzywacz M. A mathematical analysis of the motion coherence theory. International Journal of Computer vision

  38. University of Basel > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE Example: Exponential kernel (1D case) 𝑙 𝑦, 𝑦 β€² = 1 2𝛽 exp(βˆ’π›½ 𝑦 βˆ’ 𝑦 β€² ) 𝑆𝑣 2 = 𝛽 2 𝑣 + 𝐸 1 𝑣 2 β„› 𝑣 = Rasmussen, Carl Edward, and Christopher KI Williams. Gaussian processes for machine learning . Vol. 1. Cambridge: MIT press, 2006.

Recommend


More recommend