2d face image analysis
play

2D Face Image Analysis Probabilistic Morphable Models Summer - PowerPoint PPT Presentation

> DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL 2D Face Image Analysis Probabilistic Morphable Models Summer School, June 2017 Sandro Schnborn University of Basel > DEPARTMENT OF


  1. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL 2D Face Image Analysis Probabilistic Morphable Models Summer School, June 2017 Sandro SchΓΆnborn University of Basel

  2. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Contents Landmarks Fitting Observed Landmarks in 2D Image Fitting Observed Image 2

  3. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL 2D Face Image Analysis Morphable Model adaptation to explain image Bayesian Inference Setup 𝑄 πœ„ 𝐽 ∝ β„“ πœ„; 𝐽 𝑄(πœ„) Image Likelihood Image as observation 𝐺 Face & Feature point detection Fast bottom-up methods 3

  4. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL 3D Face Reconstruction 4

  5. οΏ½ οΏ½ > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Fitting as Probabilistic Inference β€’ Probabilistic Inference Problem: 𝑄 πœ„ 𝐽) = 𝑄 𝐽 πœ„)𝑄(πœ„) 𝑂 𝐽 = ∫ 𝑄 𝐽 πœ„)𝑄(πœ„)dπœ„ 𝑂 𝐽 β€’ Prior : 𝑄 πœ„ β€’ Likelihood : 𝑄 𝐽 πœ„) Statistical face model Image is observation K 𝐽 Face shape & color (PPCA/GP models): 𝐢 𝑑 B = 𝜈 + 𝑉𝐸𝛽 𝛽~ 𝑂 0, 𝐽 J 𝐺 Scene: illumination, pose, camera 3 πœ„ , 𝜏 6 𝐽 7 β„“ πœ„; 𝐽 = / π’ͺ 𝐽 1 | 𝐽 1 / 𝑐 <= 𝐽 1 1∈: >∈? 5

  6. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL MH Inference of the 3DMM β€’ Target distribution is our β€œposterior”: M πœ„ 𝐽 = β„“ πœ„; 𝐽 𝑄 πœ„ 𝑄: 𝑄 β€’ Unnormalized β€’ Point-wise evaluation only β€’ Parameters β€’ Shape: 50 – 200, low-rank parameterized GP shape model β€’ Color: 50 – 200, low-rank parameterized GP color model β€’ Pose/Camera: 9 parameters, pin-hole camera model β€’ Illumination: 9*3 Spherical Harmonics illumination/reflectance β‰ˆ 300 dimensions (!!) 6

  7. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Metropolis Algorithm MH Algorithm filters samples with stochastic accept/reject steps Proposal Accept with probability 𝛽 = min 𝑄(πœ„ O |𝐽) 𝑄(πœ„|𝐽) , 1 draw proposal πœ„ O πœ„β€² 𝑄(πœ„ O |𝐽) 𝑅(πœ„ O |πœ„) Update πœ„ ← πœ„β€² 1 βˆ’ 𝛽 reject πœ„ β€’ Asymptotically generates samples πœ„ 1 ∼ 𝑄(πœ„|𝐽) : πœ„ X , πœ„ 6 , πœ„ 7 , … β€’ Markov chain Monte Carlo (MCMC) Method β€’ Works with unnormalized , point-wise posterior 7

  8. οΏ½ οΏ½ > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Proposals β€’ Choose simple Gaussian random walk proposals (Metropolis) "𝑅 πœ„ O |πœ„ = 𝑂(πœ„ O |πœ„, Ξ£ \ )" β€’ Normal perturbations of current state β€’ Block-wise to account for different parameter types 6 𝐹 ` ) β€’ Shape 𝑂(πœ·β€²|𝜷, 𝜏 ^ 6 𝐹 b ) β€’ Color 𝑂(πœΈβ€²|𝜸, 𝜏 b O |πœ„ d , 𝜏 d 6 ) β€’ Camera βˆ‘ 𝑂(πœ„ d οΏ½d 6 𝐹 e ) O |πœ„ e , 𝜏 e,1 βˆ‘ 𝑂(πœ„ e β€’ Illumination 1 In practice, we often add β€’ Large mixture distributions, e.g. more complicated proposals, e.g. shape scaling, a direct 2 3 𝑅 h πœ„ O πœ„ + 1 illumination estimation and e (πœ„ O |πœ„) 3 i πœ‡ 1 𝑅 1 decorrelation 1 8

  9. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Landmarks Fitting Face Model Target Landmarks Rendered Landmarks Projection Prior 𝑄 πœ„ l ∝ 𝑄 π’š l π’š πœ„ Likelihood β„“ πœ„; π’š Variable Parameters β€’ Pose Shape β€’ 9

  10. οΏ½ > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL 3DMM Landmarks Likelihood Simple models: Independen Independent Gaus ussians ns β€’ Observation of landmark locations in image β€’ Single landmark position model: 6m πœ„ = T op ∘ Pr ∘ T to ∘ β„Ž 𝜷 7m π’š 1 π’š 1 T to π’š = 𝑆 z,{,| π’š + 𝒖 π‘₯ 2 βˆ— 𝑦 𝑨 6m = 𝑂 π’š 6m πœ„ , 𝜏 vt (T op ∘ Pr)(π’š) = + 𝒖 Ζ’Ζ’ 6m |π’š 1 6 βˆ’ β„Ž 2 βˆ— 𝑧 β„“ 1 πœ„; π’š l 1 l 1 𝑨 β€’ Independent model 6m } 1 = / β„“ πœ„; π’š 6m β„“ πœ„; {π’š l 1 l 1 1 β€’ Independence and Gaussian are just simple models (questionable) 10

  11. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Landmarks: Samples 11

  12. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Results: Landmarks β€’ Landmarks posterior: Manual labelling: 𝜏 vt = 4 pix Image: 512x512 β€’ Certainty of pose fit β€’ Influence of ear points? β€’ Frontal better than sideview? Yaw, Οƒ 𝐌𝐍 = 4pix wi with ears w/ w/o ears 1.4 ∘ Β± 𝟏. 𝟘 ∘ βˆ’1.4 ∘ Β± πŸ‘. πŸ– ∘ Frontal 24.8 ∘ Β± πŸ‘. πŸ” ∘ 25.2 ∘ Β± πŸ“. 𝟏 ∘ Sideview Di Distance st stdev wi with ears w/ w/o ears Frontal 22cm 125cm Sideview 35cm 35cm 12

  13. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Face Model Fitting Reconstruction: Analysis-by-Synthesis Face Model Rendered Image 𝐽 πœ„ Target Image 𝐽 Parametric face model Likelihood β„“ πœ„; 𝐽 ∝ 𝑄 𝐽 𝐽 πœ„ πœ„ = 𝜘, 𝛽, 𝛾 : : 𝜘 Scene Parameters, 𝛽 Face shape, 𝛾 Face color 13

  14. οΏ½ > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Independent Pixels Likelihood Standard choice Corresponds to least squares fitting 𝐺 K = , 𝜏 6 𝐽 7 ) , 𝜏 6 𝐽 7 ) β„“ πœ„; 𝐽 π’ͺ( | π’ͺ( | βˆ— βˆ— β‹― 3 | 𝐽 1 πœ„ , 𝜏 6 𝐽 7 K = / π’ͺ 𝐽 1 β„“ πœ„; 𝐽 14 1∈:

  15. οΏ½ > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Background Model The face model covers only a small part of the complete target image K = / β„“ 1 πœ„; 𝐽 1 3 β„“ πœ„; 𝐽 1∈: What to do outside face region? β€’ Ignore β†’ strong artifacts β€’ Explicit model Shrinking Misalignment 15

  16. οΏ½ οΏ½ οΏ½ > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Explicit Background Model Add explicit likelihood for background Arbitrary background: The explicit background model K = / β„“ β€Ί πœ„; 𝐽 1 3 3 β„“ πœ„; 𝐽 / 𝑐 <= 𝐽 1 needs to be based on generic 1∈: >∈? and simple assumptions: Why is ignoring bad? Constant model K = / β„“ β€Ί πœ„; 𝐽 1 3 β„“ πœ„; 𝐽 3 = 1 𝑐 <= 𝐽 1 1∈: Histogram model Implicit background model is al alway ays present but might be inappropriate β†’ better make it explicit! SchΓΆnborn et al. Β«Background modeling for generative image modelsΒ», Computer Vision and Image Understanding, Volume 136, July 2015, Pages 117–127, doi:10.1016/j.cviu.2015.01.008 16

  17. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Collective Likelihood β€’ Independence is not a good assumption Too many observations (100k+): overconfident βˆ’ Colors are correlated 𝑒 = β€’ Model distribution of image distance Fit to empirical histogram or use model Can be any measure extracted on images β„Ž(𝑒) β€’ Most-likely solutions match the image with the expected noise level A perfect reconstruction is unlikely 17

  18. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Posterior Samples: Fitting Result β€’ Model instances with comparable reconstruction quality β€’ Remaining uncertainty of model representation β€’ Integration of uncertain detection directly into model adaptation 0.076 d I <d I > 0.075 RMS Image Distance 0.074 0.073 0.072 0 200000 400000 600000 800000 1e+06 Sample Posterior using collective likelihood 18

  19. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Results: Image Yaw angle: 1.9 ∘ ± 0.2 ∘ 19

  20. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Image: Samples 20

  21. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Posterior Shape Variation Landmarks posterior, Image posterior, sd[mm] sd[mm] 21

  22. > DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Fitting Results LFW AFLW Images from: Huang, Gary B., et al. Labeled faces in the Images from: KΓΆstinger, Martin, et al. "Annotated wild: A database for studying face recognition in facial landmarks in the wild: A large-scale, real-world unconstrained environments . Vol. 1. No. 2. Technical database for facial landmark localization." Computer Report 07-49, University of Massachusetts, Amherst, 2007. Vision Workshops (ICCV Workshops), 2011 IEEE 22 International Conference on . IEEE, 2011.

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