Digital Matting. Outline. Introduction to Digital Matting. Introduction to Digital Matting. Compositing equation: C = α * F + (1- α) * B

Size: px
Start display at page:

Download "Digital Matting. Outline. Introduction to Digital Matting. Introduction to Digital Matting. Compositing equation: C = α * F + (1- α) * B"

Transcription

1 Digital Matting Outline. Introduction to Digital Matting. Bayesian Matting 3. Poisson Matting 4. A Closed Form Solution to Matting Presenting: Alon Gamliel,, Tel-Aviv University, May 006 Introduction to Digital Matting Goal: Separate a foreground object from the background Introduction to Digital Matting Problem: Intricate boundaries hair strands and fur. Original Photo Object with new background Introduction to Digital Matting Compositing equation: Solution: Opacity Alpha Matte Image = * + * C = α * F + (- * B

2 Compositing equation: Blue Screen Matting C= αf + (- B CR = α * FR + ( α ) * BR CG = α * FG + ( α ) * BG CB = α * FB + ( α ) * BB Solve: Given C, find (F, for each pixel The Problem: 3 equations, 7 unknowns Chroma Keying, Blue Screen Matting Statistical Methods Berman et al. 000, Ruzon and Tomasi 000, Chuang et al. 00 Known Background Controlled Scene Input User Supplied Trimap Alpha Matte Image Compositing Statistical Methods Color Model Acquisition - Summary. gather statistical information from user trimap Given image Calculate B) Calculate F). solve for F, α in the unknown region Unknown region Rely on good separation in color space Blue Screen Geometric Model Natural Matting Geometric Model Natural Matting Probabilistic Model Natural Matting Bayesian Model

3 Bayesian Matting Bayesian Matting Overview Video Matting of Complex Scenes,, SIGGRAPH 00 A A Bayesian Approach to Digital Matting,, CVPR 00. Start with a user trimap Chuang, Agarwala, Curless, Salesin, Szeliski. Solve for boundaries of the unknown region Estimate F,α using probabilistic framework, relying on nearest pixels from trimap 3. Refine trimap 4. Back to () Bayesian Matting Bayesian Matting Details ( F, = arg max F, α C) F, α = arg max C F, F) B) α ) / C) F, α = arg max C F, F) B) F, α = arg max L( C F, α ) + L( F) + L( B) + L( F, α Find most likely (F, ) values for each pixel. Apply Bayes Rule C) is constant with F, α Use log-likelihood likelihood Estimating L(C C F, F, This log-likelihood models error in the measurement of C and corresponds to a gaussian probability distribution centered at μ=αf+(- B with standard deviation σ C Estimating Color Correspondence The probability that color c agree with gaussian color model, parameterized with μ, Σ ( π ) T ( c μ ) Σ ( c μ ) f( c μ, Σ ) = exp d det( ) Σ Taking the maximum logarithm (in respect to c) T ( ) ( ) Lc ( μ, Σ ) = c μ Σ c μ Bayesian Matting Details Estimating L(F),L(B) How well estimated F,B correspond to F/B color model Nearest known F points (weighted) L(F) 3

4 Bayesian Matting Details Bayesian Matting Eliminating L( With no other good assumption, assume L( ) is constant for every possible α Solving: Derive from argmax(l( L(C C F,+L(F)+L(B)) two sets of linear equations Solve iteratively, alternating the sets, assuming that α or F/B are constant each iteration Video Matting Problem Bayesian matting requires a trimap for each frame Drawing trimaps is labor-intensive Solution Draw trimaps only for key-frames Interpolate trimaps between key-frames How to interpolate? Optical Flow Optical Flow C i + ( x ) = Ci ( x + u) C(x) ) : color at pixel coord.. x u(x) ) : velocity of the pixel at x called flow field Video Result Poisson Matting Poisson Matting,, SIGGRAPH 004 Sun, Jia,, Tang, Shum 4

5 Poisson Matting Overview Initializing Iterative Process Assumption: The matting gradients mimic the image gradients. Start with a user trimap. Estimate alpha values in unknown area, based on image gradients and known alpha values 3. Refine trimap 4. Back to () Start from a user-defined trimap For each p in Ω,, measure F&B from the nearest pixels in ΩF & ΩB Ω ΩF ΩB Estimating Matting Field I = ( F B) + α F + ( Assume smooth foreground & background We get: I = αf + (-B α F + ( << ( F B) I F B Calculating α Ω unknown area ΩF trimap foreground area ΩB trimap background area Solve: F p /B p are taken from nearest pixels at ΩF / ΩB Calculating α Minimizing is equivalent to solving the Poisson equation: α α I Δα = + = div x y F B Assuming Dirichlet boundary condition Refinement ΩF+ = { p in Ω, s.t. αp > 0.95 (IP ~ FP) F ) } ΩB+ = { p in Ω, s.t. αp < 0.05 (IP ~ BP) B ) } Generate a new trimap F, B and I are measured in grayscale Solve linear system Iterate for few iterations 5

6 Bayesian Poisson Given Image Error Effects I = ( F B) + α F + ( α F + ( << ( F B) α = ) F B ( I α F ( α ) = A( I D) Calculating α in the local case Ω unknown area ΩF trimap foreground area ΩB trimap background area ΩL user selected area Calculating α in the local case Assuming Dirichlet boundary condition Solve: A = F B D = α F + ( αg was calculated at the global case No local discontinuity can be seen 6

7 A Closed Form Solution to Matting A A Closed Form Solution to Natural Image Matting,, CVPR 006 Levin, Lischinski,, Weiss Recall Poisson Matting Estimating Matting Field I = ( F B) + α F + ( Assume smooth foreground & background We get: I = αf + (-B α F + ( << ( F B) I F B I = αf + (-B Assume smooth foreground & background For every window W α i ai i + b for each i in W W I I I3 I4 I5 I6 I7 I8 I9 a = /(F-B) b = -B/(F-B) B) Estimating Matting Field Minimize J: Closed Form Solution It can be proven that: Where L is NxN matrix, and computed directly: ε is a regulation term δ delta function μ, σ window parameters 7

8 Moving to Color Images For every window W α i a R I R i + a G I G i + a B I B i + b for each i in W W I I I3 I4 I5 I6 I7 I8 I9 Derive a R, a G, a B, b from : F = βf + (- β)f B = γb + (- γ)b This relaxes the assumption that foreground & background are smooth Moving to Color Images L is still NxN matrix, but computed differently: δ delta function μ, Σ window parameters Solving for α,, F, B Solving for α,, based on user constraints (scribbles) Can be transformed to Aα = B linear problem Solving for α,, F, B To find F, solve a set of linear equations Correspondence term (for each pixel) ( αf + ( B I) Smoothness terms (for each pixel) α F( x, y) F( x+, y) + α F( x, y) F( x, y+ ) + ( Bxy (, ) Bx ( +, y) + ( Bxy (, ) Bx ( +, y) Scribbles Scribbles Bayesian Poisson This Scribbles This 8

9 More details We wish to solve: Which is like: = * T α arg min( α L i i α = s i S arg min α T Lα + λ ( α i s i ) λ i S Differentiate: L+ λd α = λb ( ) D is a diagonal matrix, where d ii == iff i in S B is a vector, where B i ==known alpha value iff i in S Cholesky Decomposition: T RR α = λ B Future Work (my thesis) Interactive Matting Incorporate additional user scribbles directly into Aα = B linear problem Integrating global color model Statistical analysis of user scribbles Based on this analysis add more alpha constraints Solving for video Goal: Keep a minimal user interface framework Suggestion: Feature-based expansion of user scribbles Goal: Retrieving coherent results between frames Suggestion: Globally solve for frame pairs Live presentation Summary Bayesian Poisson Closed Form Hints Local color analysis Image gradients Image windows Assumptions User Data Color separation, camera quality Trimap Locally smooth foreground and background Trimap Locally linear foreground and background Scribbles Solving Method Iterative Iterative Direct Computation Time (640x480) ~30 secs ~5 secs ~60 secs 9

Poisson Matting. Abstract. 1 Introduction. Jian Sun 1 Jiaya Jia 2 Chi-Keung Tang 2 Heung-Yeung Shum 1

Poisson Matting. Abstract. 1 Introduction. Jian Sun 1 Jiaya Jia 2 Chi-Keung Tang 2 Heung-Yeung Shum 1 Poisson Matting Jian Sun 1 Jiaya Jia 2 Chi-Keung Tang 2 Heung-Yeung Shum 1 1 Microsoft Research Asia 2 Hong Kong University of Science and Technology Figure 1: Pulling of matte from a complex scene. From

More information

Spectral Matting. Anat Levin 1,2 Alex Rav-Acha 1,3 Dani Lischinski 1. The Hebrew University of Jerusalem MIT. The Weizmann Institute of Science

Spectral Matting. Anat Levin 1,2 Alex Rav-Acha 1,3 Dani Lischinski 1. The Hebrew University of Jerusalem MIT. The Weizmann Institute of Science 1 Spectral Matting Anat Levin 1,2 Alex Rav-Acha 1,3 Dani Lischinski 1 1 School of CS & Eng The Hebrew University of Jerusalem 2 CSAIL MIT 3 CS & Applied Math The Weizmann Institute of Science 2 Abstract

More information

Spectral Matting. Anat Levin 1,2 Alex Rav-Acha 1 Dani Lischinski 1 1 School of CS & Eng 2 CSAIL. The Hebrew University. Abstract. 1.

Spectral Matting. Anat Levin 1,2 Alex Rav-Acha 1 Dani Lischinski 1 1 School of CS & Eng 2 CSAIL. The Hebrew University. Abstract. 1. Spectral Matting Anat Levin 1,2 Alex Rav-Acha 1 Dani Lischinsi 1 1 School of CS & Eng 2 CSAIL The Hebrew University MIT Abstract We present spectral matting: a new approach to natural image matting that

More information

A Background Layer Model for Object Tracking through Occlusion

A Background Layer Model for Object Tracking through Occlusion A Background Layer Model for Object Tracking through Occlusion Yue Zhou and Hai Tao UC-Santa Cruz Presented by: Mei-Fang Huang CSE252C class, November 6, 2003 Overview Object tracking problems Dynamic

More information

Random walks and anisotropic interpolation on graphs. Filip Malmberg

Random walks and anisotropic interpolation on graphs. Filip Malmberg Random walks and anisotropic interpolation on graphs. Filip Malmberg Interpolation of missing data Assume that we have a graph where we have defined some (real) values for a subset of the nodes, and that

More information

Gradient-domain image processing

Gradient-domain image processing Gradient-domain image processing http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 10 Course announcements Homework 3 is out. - (Much) smaller

More information

Modern Geometry Homework.

Modern Geometry Homework. Modern Geometry Homework 1 Cramer s rule We now wish to become experts in solving two linear equations in two unknowns over our field F We first recall that a 2 2 matrix a b A = c b its determinant is

More information

Self-Tuning Semantic Image Segmentation

Self-Tuning Semantic Image Segmentation Self-Tuning Semantic Image Segmentation Sergey Milyaev 1,2, Olga Barinova 2 1 Voronezh State University sergey.milyaev@gmail.com 2 Lomonosov Moscow State University obarinova@graphics.cs.msu.su Abstract.

More information

Motion estimation. Digital Visual Effects Yung-Yu Chuang. with slides by Michael Black and P. Anandan

Motion estimation. Digital Visual Effects Yung-Yu Chuang. with slides by Michael Black and P. Anandan Motion estimation Digital Visual Effects Yung-Yu Chuang with slides b Michael Black and P. Anandan Motion estimation Parametric motion image alignment Tracking Optical flow Parametric motion direct method

More information

CSC411 Fall 2018 Homework 5

CSC411 Fall 2018 Homework 5 Homework 5 Deadline: Wednesday, Nov. 4, at :59pm. Submission: You need to submit two files:. Your solutions to Questions and 2 as a PDF file, hw5_writeup.pdf, through MarkUs. (If you submit answers to

More information

Level-Set Person Segmentation and Tracking with Multi-Region Appearance Models and Top-Down Shape Information Appendix

Level-Set Person Segmentation and Tracking with Multi-Region Appearance Models and Top-Down Shape Information Appendix Level-Set Person Segmentation and Tracking with Multi-Region Appearance Models and Top-Down Shape Information Appendix Esther Horbert, Konstantinos Rematas, Bastian Leibe UMIC Research Centre, RWTH Aachen

More information

Single Exposure Enhancement and Reconstruction. Some slides are from: J. Kosecka, Y. Chuang, A. Efros, C. B. Owen, W. Freeman

Single Exposure Enhancement and Reconstruction. Some slides are from: J. Kosecka, Y. Chuang, A. Efros, C. B. Owen, W. Freeman Single Exposure Enhancement and Reconstruction Some slides are from: J. Kosecka, Y. Chuang, A. Efros, C. B. Owen, W. Freeman 1 Reconstruction as an Inverse Problem Original image f Distortion & Sampling

More information

Photometric Stereo: Three recent contributions. Dipartimento di Matematica, La Sapienza

Photometric Stereo: Three recent contributions. Dipartimento di Matematica, La Sapienza Photometric Stereo: Three recent contributions Dipartimento di Matematica, La Sapienza Jean-Denis DUROU IRIT, Toulouse Jean-Denis DUROU (IRIT, Toulouse) 17 December 2013 1 / 32 Outline 1 Shape-from-X techniques

More information

Advanced Techniques for Mobile Robotics Least Squares. Wolfram Burgard, Cyrill Stachniss, Kai Arras, Maren Bennewitz

Advanced Techniques for Mobile Robotics Least Squares. Wolfram Burgard, Cyrill Stachniss, Kai Arras, Maren Bennewitz Advanced Techniques for Mobile Robotics Least Squares Wolfram Burgard, Cyrill Stachniss, Kai Arras, Maren Bennewitz Problem Given a system described by a set of n observation functions {f i (x)} i=1:n

More information

Nonparametric Bayesian Methods (Gaussian Processes)

Nonparametric Bayesian Methods (Gaussian Processes) [70240413 Statistical Machine Learning, Spring, 2015] Nonparametric Bayesian Methods (Gaussian Processes) Jun Zhu dcszj@mail.tsinghua.edu.cn http://bigml.cs.tsinghua.edu.cn/~jun State Key Lab of Intelligent

More information

Expectation Propagation Algorithm

Expectation Propagation Algorithm Expectation Propagation Algorithm 1 Shuang Wang School of Electrical and Computer Engineering University of Oklahoma, Tulsa, OK, 74135 Email: {shuangwang}@ou.edu This note contains three parts. First,

More information

Single-Image-Based Rain and Snow Removal Using Multi-guided Filter

Single-Image-Based Rain and Snow Removal Using Multi-guided Filter Single-Image-Based Rain and Snow Removal Using Multi-guided Filter Xianhui Zheng 1, Yinghao Liao 1,,WeiGuo 2, Xueyang Fu 2, and Xinghao Ding 2 1 Department of Electronic Engineering, Xiamen University,

More information

Conjugate gradient acceleration of non-linear smoothing filters Iterated edge-preserving smoothing

Conjugate gradient acceleration of non-linear smoothing filters Iterated edge-preserving smoothing Cambridge, Massachusetts Conjugate gradient acceleration of non-linear smoothing filters Iterated edge-preserving smoothing Andrew Knyazev (knyazev@merl.com) (speaker) Alexander Malyshev (malyshev@merl.com)

More information

Mean-Shift Tracker Computer Vision (Kris Kitani) Carnegie Mellon University

Mean-Shift Tracker Computer Vision (Kris Kitani) Carnegie Mellon University Mean-Shift Tracker 16-385 Computer Vision (Kris Kitani) Carnegie Mellon University Mean Shift Algorithm A mode seeking algorithm Fukunaga & Hostetler (1975) Mean Shift Algorithm A mode seeking algorithm

More information

Diffeomorphic Warping. Ben Recht August 17, 2006 Joint work with Ali Rahimi (Intel)

Diffeomorphic Warping. Ben Recht August 17, 2006 Joint work with Ali Rahimi (Intel) Diffeomorphic Warping Ben Recht August 17, 2006 Joint work with Ali Rahimi (Intel) What Manifold Learning Isn t Common features of Manifold Learning Algorithms: 1-1 charting Dense sampling Geometric Assumptions

More information

Iterative Image Registration: Lucas & Kanade Revisited. Kentaro Toyama Vision Technology Group Microsoft Research

Iterative Image Registration: Lucas & Kanade Revisited. Kentaro Toyama Vision Technology Group Microsoft Research Iterative Image Registration: Lucas & Kanade Revisited Kentaro Toyama Vision Technology Group Microsoft Research Every writer creates his own precursors. His work modifies our conception of the past, as

More information

Mixture Models and EM

Mixture Models and EM Mixture Models and EM Goal: Introduction to probabilistic mixture models and the expectationmaximization (EM) algorithm. Motivation: simultaneous fitting of multiple model instances unsupervised clustering

More information

Energy Minimization via Graph Cuts

Energy Minimization via Graph Cuts Energy Minimization via Graph Cuts Xiaowei Zhou, June 11, 2010, Journal Club Presentation 1 outline Introduction MAP formulation for vision problems Min-cut and Max-flow Problem Energy Minimization via

More information

The problem is to infer on the underlying probability distribution that gives rise to the data S.

The problem is to infer on the underlying probability distribution that gives rise to the data S. Basic Problem of Statistical Inference Assume that we have a set of observations S = { x 1, x 2,..., x N }, xj R n. The problem is to infer on the underlying probability distribution that gives rise to

More information

Intelligent Systems:

Intelligent Systems: Intelligent Systems: Undirected Graphical models (Factor Graphs) (2 lectures) Carsten Rother 15/01/2015 Intelligent Systems: Probabilistic Inference in DGM and UGM Roadmap for next two lectures Definition

More information

Recall that if X is a compact metric space, C(X), the space of continuous (real-valued) functions on X, is a Banach space with the norm

Recall that if X is a compact metric space, C(X), the space of continuous (real-valued) functions on X, is a Banach space with the norm Chapter 13 Radon Measures Recall that if X is a compact metric space, C(X), the space of continuous (real-valued) functions on X, is a Banach space with the norm (13.1) f = sup x X f(x). We want to identify

More information

Simultaneous Multi-frame MAP Super-Resolution Video Enhancement using Spatio-temporal Priors

Simultaneous Multi-frame MAP Super-Resolution Video Enhancement using Spatio-temporal Priors Simultaneous Multi-frame MAP Super-Resolution Video Enhancement using Spatio-temporal Priors Sean Borman and Robert L. Stevenson Department of Electrical Engineering, University of Notre Dame Notre Dame,

More information

Motion Estimation (I) Ce Liu Microsoft Research New England

Motion Estimation (I) Ce Liu Microsoft Research New England Motion Estimation (I) Ce Liu celiu@microsoft.com Microsoft Research New England We live in a moving world Perceiving, understanding and predicting motion is an important part of our daily lives Motion

More information

Noise, Image Reconstruction with Noise!

Noise, Image Reconstruction with Noise! Noise, Image Reconstruction with Noise! EE367/CS448I: Computational Imaging and Display! stanford.edu/class/ee367! Lecture 10! Gordon Wetzstein! Stanford University! What s a Pixel?! photon to electron

More information

PILCO: A Model-Based and Data-Efficient Approach to Policy Search

PILCO: A Model-Based and Data-Efficient Approach to Policy Search PILCO: A Model-Based and Data-Efficient Approach to Policy Search (M.P. Deisenroth and C.E. Rasmussen) CSC2541 November 4, 2016 PILCO Graphical Model PILCO Probabilistic Inference for Learning COntrol

More information

Gradient Domain High Dynamic Range Compression

Gradient Domain High Dynamic Range Compression Gradient Domain High Dynamic Range Compression Raanan Fattal Dani Lischinski Michael Werman The Hebrew University of Jerusalem School of Computer Science & Engineering 1 In A Nutshell 2 Dynamic Range Quantity

More information

Robot Mapping. Least Squares. Cyrill Stachniss

Robot Mapping. Least Squares. Cyrill Stachniss Robot Mapping Least Squares Cyrill Stachniss 1 Three Main SLAM Paradigms Kalman filter Particle filter Graphbased least squares approach to SLAM 2 Least Squares in General Approach for computing a solution

More information

MATHEMATICS FOR COMPUTER VISION WEEK 8 OPTIMISATION PART 2. Dr Fabio Cuzzolin MSc in Computer Vision Oxford Brookes University Year

MATHEMATICS FOR COMPUTER VISION WEEK 8 OPTIMISATION PART 2. Dr Fabio Cuzzolin MSc in Computer Vision Oxford Brookes University Year MATHEMATICS FOR COMPUTER VISION WEEK 8 OPTIMISATION PART 2 1 Dr Fabio Cuzzolin MSc in Computer Vision Oxford Brookes University Year 2013-14 OUTLINE OF WEEK 8 topics: quadratic optimisation, least squares,

More information

Taylor Series and Numerical Approximations

Taylor Series and Numerical Approximations Taylor Series and Numerical Approximations Hilary Weller h.weller@reading.ac.uk August 7, 05 An introduction to the concept of a Taylor series and how these are used in numerical analysis to find numerical

More information

Quasi-conformal maps and Beltrami equation

Quasi-conformal maps and Beltrami equation Chapter 7 Quasi-conformal maps and Beltrami equation 7. Linear distortion Assume that f(x + iy) =u(x + iy)+iv(x + iy) be a (real) linear map from C C that is orientation preserving. Let z = x + iy and

More information

Foundations of Nonparametric Bayesian Methods

Foundations of Nonparametric Bayesian Methods 1 / 27 Foundations of Nonparametric Bayesian Methods Part II: Models on the Simplex Peter Orbanz http://mlg.eng.cam.ac.uk/porbanz/npb-tutorial.html 2 / 27 Tutorial Overview Part I: Basics Part II: Models

More information

Video and Motion Analysis Computer Vision Carnegie Mellon University (Kris Kitani)

Video and Motion Analysis Computer Vision Carnegie Mellon University (Kris Kitani) Video and Motion Analysis 16-385 Computer Vision Carnegie Mellon University (Kris Kitani) Optical flow used for feature tracking on a drone Interpolated optical flow used for super slow-mo optical flow

More information

Statistical Filters for Crowd Image Analysis

Statistical Filters for Crowd Image Analysis Statistical Filters for Crowd Image Analysis Ákos Utasi, Ákos Kiss and Tamás Szirányi Distributed Events Analysis Research Group, Computer and Automation Research Institute H-1111 Budapest, Kende utca

More information

Machine Learning 4771

Machine Learning 4771 Machine Learning 4771 Instructor: Tony Jebara Topic 11 Maximum Likelihood as Bayesian Inference Maximum A Posteriori Bayesian Gaussian Estimation Why Maximum Likelihood? So far, assumed max (log) likelihood

More information

Fall, 2003 CIS 610. Advanced geometric methods. Homework 1. September 30, 2003; Due October 21, beginning of class

Fall, 2003 CIS 610. Advanced geometric methods. Homework 1. September 30, 2003; Due October 21, beginning of class Fall, 2003 CIS 610 Advanced geometric methods Homework 1 September 30, 2003; Due October 21, beginning of class You may work in groups of 2 or 3. Please, write up your solutions as clearly and concisely

More information

EE Camera & Image Formation

EE Camera & Image Formation Electric Electronic Engineering Bogazici University February 21, 2018 Introduction Introduction Camera models Goal: To understand the image acquisition process. Function of the camera Similar to that of

More information

Statistical and Learning Techniques in Computer Vision Lecture 1: Random Variables Jens Rittscher and Chuck Stewart

Statistical and Learning Techniques in Computer Vision Lecture 1: Random Variables Jens Rittscher and Chuck Stewart Statistical and Learning Techniques in Computer Vision Lecture 1: Random Variables Jens Rittscher and Chuck Stewart 1 Motivation Imaging is a stochastic process: If we take all the different sources of

More information

Tennis player segmentation for semantic behavior analysis

Tennis player segmentation for semantic behavior analysis Proposta di Tennis player segmentation for semantic behavior analysis Architettura Software per Robot Mobili Vito Renò, Nicola Mosca, Massimiliano Nitti, Tiziana D Orazio, Donato Campagnoli, Andrea Prati,

More information

Attributed Graph Matching for Image-Features Association using SIFT Descriptors

Attributed Graph Matching for Image-Features Association using SIFT Descriptors Attributed Graph Matching for Image-Features Association using SIFT Descriptors Gerard Sanromà, René Alquézar 2, and Francesc Serratosa Departament d Enginyeria Informàtica i Matemàtiques, Universitat

More information

CS 4495 Computer Vision Principle Component Analysis

CS 4495 Computer Vision Principle Component Analysis CS 4495 Computer Vision Principle Component Analysis (and it s use in Computer Vision) Aaron Bobick School of Interactive Computing Administrivia PS6 is out. Due *** Sunday, Nov 24th at 11:55pm *** PS7

More information

Bayes Classifiers. CAP5610 Machine Learning Instructor: Guo-Jun QI

Bayes Classifiers. CAP5610 Machine Learning Instructor: Guo-Jun QI Bayes Classifiers CAP5610 Machine Learning Instructor: Guo-Jun QI Recap: Joint distributions Joint distribution over Input vector X = (X 1, X 2 ) X 1 =B or B (drinking beer or not) X 2 = H or H (headache

More information

A Generative Model Based Approach to Motion Segmentation

A Generative Model Based Approach to Motion Segmentation A Generative Model Based Approach to Motion Segmentation Daniel Cremers 1 and Alan Yuille 2 1 Department of Computer Science University of California at Los Angeles 2 Department of Statistics and Psychology

More information

Scattering of internal gravity waves

Scattering of internal gravity waves Scattering of internal gravity waves S.B. Dalziel*, B.R. Sutherland s.dalziel@damtp.cam.ac.uk * DAMTP, University of Cambridge, Wilberforce Road, Cambridge CB3 0WA, ENGLAND Department of Mathematical &

More information

Face and Straight Line Detection in Equirectangular Images

Face and Straight Line Detection in Equirectangular Images 04-07 de Julho - FCT/UNESP - P. Prudente VI Workshop de Visão Computacional Face and Straight Line Detection in Equirectangular Images Leonardo K. Sacht, Paulo C. Carvalho, Luiz Velho Visgraf - IMPA Estrada

More information

On a multiscale representation of images as hierarchy of edges. Eitan Tadmor. University of Maryland

On a multiscale representation of images as hierarchy of edges. Eitan Tadmor. University of Maryland On a multiscale representation of images as hierarchy of edges Eitan Tadmor Center for Scientific Computation and Mathematical Modeling (CSCAMM) Department of Mathematics and Institute for Physical Science

More information

Preliminary Examination, Numerical Analysis, August 2016

Preliminary Examination, Numerical Analysis, August 2016 Preliminary Examination, Numerical Analysis, August 2016 Instructions: This exam is closed books and notes. The time allowed is three hours and you need to work on any three out of questions 1-4 and any

More information

Statistical Approaches to Learning and Discovery. Week 4: Decision Theory and Risk Minimization. February 3, 2003

Statistical Approaches to Learning and Discovery. Week 4: Decision Theory and Risk Minimization. February 3, 2003 Statistical Approaches to Learning and Discovery Week 4: Decision Theory and Risk Minimization February 3, 2003 Recall From Last Time Bayesian expected loss is ρ(π, a) = E π [L(θ, a)] = L(θ, a) df π (θ)

More information

CS4495/6495 Introduction to Computer Vision. 6B-L1 Dense flow: Brightness constraint

CS4495/6495 Introduction to Computer Vision. 6B-L1 Dense flow: Brightness constraint CS4495/6495 Introduction to Computer Vision 6B-L1 Dense flow: Brightness constraint Motion estimation techniques Feature-based methods Direct, dense methods Motion estimation techniques Direct, dense methods

More information

Understanding and evaluating blind deconvolution algorithms

Understanding and evaluating blind deconvolution algorithms Understanding and evaluating blind deconvolution algorithms Anat Levin,, Yair Weiss,3, Fredo Durand, William T. Freeman,4 MIT CSAIL, Weizmann Institute of Science, 3 Hebrew University, 4 Adobe Abstract

More information

Variational Bayesian Logistic Regression

Variational Bayesian Logistic Regression Variational Bayesian Logistic Regression Sargur N. University at Buffalo, State University of New York USA Topics in Linear Models for Classification Overview 1. Discriminant Functions 2. Probabilistic

More information

The Inversion Problem: solving parameters inversion and assimilation problems

The Inversion Problem: solving parameters inversion and assimilation problems The Inversion Problem: solving parameters inversion and assimilation problems UE Numerical Methods Workshop Romain Brossier romain.brossier@univ-grenoble-alpes.fr ISTerre, Univ. Grenoble Alpes Master 08/09/2016

More information

Linear Algebraic Equations

Linear Algebraic Equations Linear Algebraic Equations 1 Fundamentals Consider the set of linear algebraic equations n a ij x i b i represented by Ax b j with [A b ] [A b] and (1a) r(a) rank of A (1b) Then Axb has a solution iff

More information

Taylor and Laurent Series

Taylor and Laurent Series Chapter 4 Taylor and Laurent Series 4.. Taylor Series 4... Taylor Series for Holomorphic Functions. In Real Analysis, the Taylor series of a given function f : R R is given by: f (x + f (x (x x + f (x

More information

Tutorial on Gaussian Processes and the Gaussian Process Latent Variable Model

Tutorial on Gaussian Processes and the Gaussian Process Latent Variable Model Tutorial on Gaussian Processes and the Gaussian Process Latent Variable Model (& discussion on the GPLVM tech. report by Prof. N. Lawrence, 06) Andreas Damianou Department of Neuro- and Computer Science,

More information

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices. MATH 2050 Assignment 8 Fall 2016 [10] 1. Find the determinant by reducing to triangular form for the following matrices. 0 1 2 (a) A = 2 1 4. ANS: We perform the Gaussian Elimination on A by the following

More information

ECE 8201: Low-dimensional Signal Models for High-dimensional Data Analysis

ECE 8201: Low-dimensional Signal Models for High-dimensional Data Analysis ECE 8201: Low-dimensional Signal Models for High-dimensional Data Analysis Lecture 7: Matrix completion Yuejie Chi The Ohio State University Page 1 Reference Guaranteed Minimum-Rank Solutions of Linear

More information

Bayesian model selection for computer model validation via mixture model estimation

Bayesian model selection for computer model validation via mixture model estimation Bayesian model selection for computer model validation via mixture model estimation Kaniav Kamary ATER, CNAM Joint work with É. Parent, P. Barbillon, M. Keller and N. Bousquet Outline Computer model validation

More information

Lecture 9. d N(0, 1). Now we fix n and think of a SRW on [0,1]. We take the k th step at time k n. and our increments are ± 1

Lecture 9. d N(0, 1). Now we fix n and think of a SRW on [0,1]. We take the k th step at time k n. and our increments are ± 1 Random Walks and Brownian Motion Tel Aviv University Spring 011 Lecture date: May 0, 011 Lecture 9 Instructor: Ron Peled Scribe: Jonathan Hermon In today s lecture we present the Brownian motion (BM).

More information

Elaborazione delle Immagini Informazione multimediale - Immagini. Raffaella Lanzarotti

Elaborazione delle Immagini Informazione multimediale - Immagini. Raffaella Lanzarotti Elaborazione delle Immagini Informazione multimediale - Immagini Raffaella Lanzarotti OPTICAL FLOW Thanks to prof. Mubarak Shah,UCF 2 Video Video: sequence of frames (images) catch in the time Data: function

More information

MAT Inverse Problems, Part 2: Statistical Inversion

MAT Inverse Problems, Part 2: Statistical Inversion MAT-62006 Inverse Problems, Part 2: Statistical Inversion S. Pursiainen Department of Mathematics, Tampere University of Technology Spring 2015 Overview The statistical inversion approach is based on the

More information

Interactive Image Segmentation Using an Adaptive GMMRF Model

Interactive Image Segmentation Using an Adaptive GMMRF Model Interactive Image Segmentation Using an Adaptive GMMRF Model A. Blake, C. Rother, M. Brown, P. Perez, and P. Torr Microsoft Research Cambridge UK, 7 JJ Thomson Avenue, Cambridge CB3 0FB, UK. http://www.research.microsoft.com/vision/cambridge

More information

Markov Random Fields for Computer Vision (Part 1)

Markov Random Fields for Computer Vision (Part 1) Markov Random Fields for Computer Vision (Part 1) Machine Learning Summer School (MLSS 2011) Stephen Gould stephen.gould@anu.edu.au Australian National University 13 17 June, 2011 Stephen Gould 1/23 Pixel

More information

Quadratic Markovian Probability Fields for Image Binary Segmentation

Quadratic Markovian Probability Fields for Image Binary Segmentation Quadratic Markovian Probability Fields for Image Binary Segmentation Mariano Rivera and Pedro P. Mayorga Centro de Investigacion en Matematicas A.C. Apdo Postal 402, Guanajuato, Gto. 36000 Mexico mrivera@cimat.mx

More information

Edges and Scale. Image Features. Detecting edges. Origin of Edges. Solution: smooth first. Effects of noise

Edges and Scale. Image Features. Detecting edges. Origin of Edges. Solution: smooth first. Effects of noise Edges and Scale Image Features From Sandlot Science Slides revised from S. Seitz, R. Szeliski, S. Lazebnik, etc. Origin of Edges surface normal discontinuity depth discontinuity surface color discontinuity

More information

Filtering with the Crowd

Filtering with the Crowd Filtering with the Crowd LRI Benoît Groz, Ezra Levin, Isaco Meiljson, Tova Milo Tel-Aviv University Univ. Paris Saclay 15 Mars 1 1 Outline 1 The CrowdScreen framework Algorithms for computing good/optimal

More information

Motion Estimation (I)

Motion Estimation (I) Motion Estimation (I) Ce Liu celiu@microsoft.com Microsoft Research New England We live in a moving world Perceiving, understanding and predicting motion is an important part of our daily lives Motion

More information

Introduction to PDEs and Numerical Methods Tutorial 5. Finite difference methods equilibrium equation and iterative solvers

Introduction to PDEs and Numerical Methods Tutorial 5. Finite difference methods equilibrium equation and iterative solvers Platzhalter für Bild, Bild auf Titelfolie hinter das Logo einsetzen Introduction to PDEs and Numerical Methods Tutorial 5. Finite difference methods equilibrium equation and iterative solvers Dr. Noemi

More information

Numerical methods, midterm test I (2018/19 autumn, group A) Solutions

Numerical methods, midterm test I (2018/19 autumn, group A) Solutions Numerical methods, midterm test I (2018/19 autumn, group A Solutions x Problem 1 (6p We are going to approximate the limit 3/2 x lim x 1 x 1 by substituting x = 099 into the fraction in the present form

More information

Kernel Density Topic Models: Visual Topics Without Visual Words

Kernel Density Topic Models: Visual Topics Without Visual Words Kernel Density Topic Models: Visual Topics Without Visual Words Konstantinos Rematas K.U. Leuven ESAT-iMinds krematas@esat.kuleuven.be Mario Fritz Max Planck Institute for Informatics mfrtiz@mpi-inf.mpg.de

More information

Non-parametric Methods

Non-parametric Methods Non-parametric Methods Machine Learning Torsten Möller Möller/Mori 1 Reading Chapter 2 of Pattern Recognition and Machine Learning by Bishop (with an emphasis on section 2.5) Möller/Mori 2 Outline Last

More information

Shai Avidan Tel Aviv University

Shai Avidan Tel Aviv University Image Editing in the Gradient Domain Shai Avidan Tel Aviv Universit Slide Credits (partial list) Rick Szeliski Steve Seitz Alosha Eros Yacov Hel-Or Marc Levo Bill Freeman Fredo Durand Slvain Paris Image

More information

Algebraic Multigrid as Solvers and as Preconditioner

Algebraic Multigrid as Solvers and as Preconditioner Ò Algebraic Multigrid as Solvers and as Preconditioner Domenico Lahaye domenico.lahaye@cs.kuleuven.ac.be http://www.cs.kuleuven.ac.be/ domenico/ Department of Computer Science Katholieke Universiteit Leuven

More information

6/6/2008. Qualitative Influence Lines for Statically Indeterminate Structures: Muller-Breslau s Principle

6/6/2008. Qualitative Influence Lines for Statically Indeterminate Structures: Muller-Breslau s Principle Qualitative Influence Lines for Statically Indeterminate Structures: Muller-Breslau s Principle The influence line for a force (or moment) response function is given by the deflected shape of the released

More information

Covariance Matrix Simplification For Efficient Uncertainty Management

Covariance Matrix Simplification For Efficient Uncertainty Management PASEO MaxEnt 2007 Covariance Matrix Simplification For Efficient Uncertainty Management André Jalobeanu, Jorge A. Gutiérrez PASEO Research Group LSIIT (CNRS/ Univ. Strasbourg) - Illkirch, France *part

More information

Lecture 7. 1 Notations. Tel Aviv University Spring 2011

Lecture 7. 1 Notations. Tel Aviv University Spring 2011 Random Walks and Brownian Motion Tel Aviv University Spring 2011 Lecture date: Apr 11, 2011 Lecture 7 Instructor: Ron Peled Scribe: Yoav Ram The following lecture (and the next one) will be an introduction

More information

An IDL Based Image Deconvolution Software Package

An IDL Based Image Deconvolution Software Package An IDL Based Image Deconvolution Software Package F. Városi and W. B. Landsman Hughes STX Co., Code 685, NASA/GSFC, Greenbelt, MD 20771 Abstract. Using the Interactive Data Language (IDL), we have implemented

More information

Imaging In Challenging Weather Conditions

Imaging In Challenging Weather Conditions Imaging In Challenging Weather Conditions Guy Satat Computational Imaging for Self-Driving Vehicles @ CVPR 2018 Imaging Through Fog == Imaging Through Scattering? Why not RADAR? Visible X rays UV IR

More information

Multiview Geometry and Bundle Adjustment. CSE P576 David M. Rosen

Multiview Geometry and Bundle Adjustment. CSE P576 David M. Rosen Multiview Geometry and Bundle Adjustment CSE P576 David M. Rosen 1 Recap Previously: Image formation Feature extraction + matching Two-view (epipolar geometry) Today: Add some geometry, statistics, optimization

More information

Optimisation on Manifolds

Optimisation on Manifolds Optimisation on Manifolds K. Hüper MPI Tübingen & Univ. Würzburg K. Hüper (MPI Tübingen & Univ. Würzburg) Applications in Computer Vision Grenoble 18/9/08 1 / 29 Contents 2 Examples Essential matrix estimation

More information

Maximum Likelihood Estimation. only training data is available to design a classifier

Maximum Likelihood Estimation. only training data is available to design a classifier Introduction to Pattern Recognition [ Part 5 ] Mahdi Vasighi Introduction Bayesian Decision Theory shows that we could design an optimal classifier if we knew: P( i ) : priors p(x i ) : class-conditional

More information

Linear algebra and differential equations (Math 54): Lecture 7

Linear algebra and differential equations (Math 54): Lecture 7 Linear algebra and differential equations (Math 54): Lecture 7 Vivek Shende February 9, 2016 Hello and welcome to class! Last time We introduced linear subspaces and bases. Today We study the determinant

More information

SYDE 575: Introduction to Image Processing. Image Compression Part 2: Variable-rate compression

SYDE 575: Introduction to Image Processing. Image Compression Part 2: Variable-rate compression SYDE 575: Introduction to Image Processing Image Compression Part 2: Variable-rate compression Variable-rate Compression: Transform-based compression As mentioned earlier, we wish to transform image data

More information

MTH 202 : Probability and Statistics

MTH 202 : Probability and Statistics MTH 202 : Probability and Statistics Homework 3 3th January, 207 ( Any point in the interval [0, can be represented by its decimal expansion 0.x x 2.... Suppose a point is chosen at random from the interval

More information

Solving PDEs with Multigrid Methods p.1

Solving PDEs with Multigrid Methods p.1 Solving PDEs with Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department of Applied Mathematics, University of Colorado at Boulder Solving PDEs with Multigrid Methods p.1 Support and Collaboration

More information

Elements of linear algebra

Elements of linear algebra Elements of linear algebra Elements of linear algebra A vector space S is a set (numbers, vectors, functions) which has addition and scalar multiplication defined, so that the linear combination c 1 v

More information

Introduction to motion correspondence

Introduction to motion correspondence Introduction to motion correspondence 1 IPAM - UCLA July 24, 2013 Iasonas Kokkinos Center for Visual Computing Ecole Centrale Paris / INRIA Saclay Why estimate visual motion? 2 Tracking Segmentation Structure

More information

Super-Resolution. Shai Avidan Tel-Aviv University

Super-Resolution. Shai Avidan Tel-Aviv University Super-Resolution Shai Avidan Tel-Aviv University Slide Credits (partial list) Ric Szelisi Steve Seitz Alyosha Efros Yacov Hel-Or Yossi Rubner Mii Elad Marc Levoy Bill Freeman Fredo Durand Sylvain Paris

More information

Fundamentals. CS 281A: Statistical Learning Theory. Yangqing Jia. August, Based on tutorial slides by Lester Mackey and Ariel Kleiner

Fundamentals. CS 281A: Statistical Learning Theory. Yangqing Jia. August, Based on tutorial slides by Lester Mackey and Ariel Kleiner Fundamentals CS 281A: Statistical Learning Theory Yangqing Jia Based on tutorial slides by Lester Mackey and Ariel Kleiner August, 2011 Outline 1 Probability 2 Statistics 3 Linear Algebra 4 Optimization

More information

Lecture 5: Linear models for classification. Logistic regression. Gradient Descent. Second-order methods.

Lecture 5: Linear models for classification. Logistic regression. Gradient Descent. Second-order methods. Lecture 5: Linear models for classification. Logistic regression. Gradient Descent. Second-order methods. Linear models for classification Logistic regression Gradient descent and second-order methods

More information

CS 231A Section 1: Linear Algebra & Probability Review. Kevin Tang

CS 231A Section 1: Linear Algebra & Probability Review. Kevin Tang CS 231A Section 1: Linear Algebra & Probability Review Kevin Tang Kevin Tang Section 1-1 9/30/2011 Topics Support Vector Machines Boosting Viola Jones face detector Linear Algebra Review Notation Operations

More information

Probabilistic Machine Learning. Industrial AI Lab.

Probabilistic Machine Learning. Industrial AI Lab. Probabilistic Machine Learning Industrial AI Lab. Probabilistic Linear Regression Outline Probabilistic Classification Probabilistic Clustering Probabilistic Dimension Reduction 2 Probabilistic Linear

More information

Machine Learning. Lecture 4: Regularization and Bayesian Statistics. Feng Li. https://funglee.github.io

Machine Learning. Lecture 4: Regularization and Bayesian Statistics. Feng Li. https://funglee.github.io Machine Learning Lecture 4: Regularization and Bayesian Statistics Feng Li fli@sdu.edu.cn https://funglee.github.io School of Computer Science and Technology Shandong University Fall 207 Overfitting Problem

More information

Detection theory. H 0 : x[n] = w[n]

Detection theory. H 0 : x[n] = w[n] Detection Theory Detection theory A the last topic of the course, we will briefly consider detection theory. The methods are based on estimation theory and attempt to answer questions such as Is a signal

More information

Feature extraction: Corners and blobs

Feature extraction: Corners and blobs Feature extraction: Corners and blobs Review: Linear filtering and edge detection Name two different kinds of image noise Name a non-linear smoothing filter What advantages does median filtering have over

More information

Riemann integral and volume are generalized to unbounded functions and sets. is an admissible set, and its volume is a Riemann integral, 1l E,

Riemann integral and volume are generalized to unbounded functions and sets. is an admissible set, and its volume is a Riemann integral, 1l E, Tel Aviv University, 26 Analysis-III 9 9 Improper integral 9a Introduction....................... 9 9b Positive integrands................... 9c Special functions gamma and beta......... 4 9d Change of

More information