> 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
> DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Contents Landmarks Fitting Observed Landmarks in 2D Image Fitting Observed Image 2
> 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
> DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL 3D Face Reconstruction 4
οΏ½ οΏ½ > 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
> 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
> 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
οΏ½ οΏ½ > 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
> 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
οΏ½ > 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
> DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Landmarks: Samples 11
> 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
> 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
οΏ½ > 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β:
οΏ½ > 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
οΏ½ οΏ½ οΏ½ > 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
> 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
> 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
> DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Results: Image Yaw angle: 1.9 β Β± 0.2 β 19
> DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Image: Samples 20
> DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE PROBABILISTIC MORPHABLE MODELS | JUNE 2017 | BASEL Posterior Shape Variation Landmarks posterior, Image posterior, sd[mm] sd[mm] 21
> 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.
Recommend
More recommend