Amir Yavariabdi Introduction to the Calculus of Variations and Optical Flow.

Slides:



Advertisements
Similar presentations
Chapter 17 Multivariable Calculus.
Advertisements

Chapter 11-Functions of Several Variables
Chapter 9: Vector Differential Calculus Vector Functions of One Variable -- a vector, each component of which is a function of the same variable.
ESSENTIAL CALCULUS CH11 Partial derivatives
Active Contours, Level Sets, and Image Segmentation
VECTOR CALCULUS Stokes’ Theorem In this section, we will learn about: The Stokes’ Theorem and using it to evaluate integrals. VECTOR CALCULUS.
PARTIAL DERIVATIVES 14. PARTIAL DERIVATIVES 14.6 Directional Derivatives and the Gradient Vector In this section, we will learn how to find: The rate.
Visual Recognition Tutorial
Optimization in Engineering Design 1 Lagrange Multipliers.
Calculus of Variations
Introduction to Calculus of Variations Ron Kimmel Computer Science Department Technion-Israel Institute of Technology Geometric.
Optical Flow Methods 2007/8/9.
15 PARTIAL DERIVATIVES.
Optical Flow Brightness Constancy The Aperture problem Regularization Lucas-Kanade Coarse-to-fine Parametric motion models Direct depth SSD tracking.
Optical flow and Tracking CISC 649/849 Spring 2009 University of Delaware.
APPLICATIONS OF THE DERIVATIVE
Optical Flow Brightness Constancy The Aperture problem Regularization Lucas-Kanade Coarse-to-fine Parametric motion models Direct depth SSD tracking.
Optical Flow Estimation using Variational Techniques Darya Frolova.
Theoretical Mechanics - PHY6200 Chapter 6 Introduction to the calculus of variations Prof. Claude A Pruneau, Physics and Astronomy Department Wayne State.
Numerical Solutions of Ordinary Differential Equations
Chapter 16 – Vector Calculus
Lesson 5 Method of Weighted Residuals. Classical Solution Technique The fundamental problem in calculus of variations is to obtain a function f(x) such.
Differential Equations
Today Wrap up of probability Vectors, Matrices. Calculus
Scientific Computing Partial Differential Equations Poisson Equation Calculus of Variations.
Mathematics for Business (Finance)
Section 11.3 Partial Derivatives
Optimization Techniques Methods for maximizing or minimizing an objective function Examples –Consumers maximize utility by purchasing an optimal combination.
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
Physics 430: Lecture 14 Calculus of Variations Dale E. Gary NJIT Physics Department.
Section 2: Finite Element Analysis Theory
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
5.c – The Fundamental Theorem of Calculus and Definite Integrals.
Vector Calculus CHAPTER 9.1 ~ 9.4. Ch9.1~9.4_2 Contents  9.1 Vector Functions 9.1 Vector Functions  9.2 Motion in a Curve 9.2 Motion in a Curve  9.3.
Curve-Fitting Regression
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
SECTION 13.8 STOKES ’ THEOREM. P2P213.8 STOKES ’ VS. GREEN ’ S THEOREM  Stokes ’ Theorem can be regarded as a higher- dimensional version of Green ’
3. Fundamental Theorem of Calculus. Fundamental Theorem of Calculus We’ve learned two different branches of calculus so far: differentiation and integration.
Course 11 Optical Flow. 1. Concept Observe the scene by moving viewer Optical flow provides a clue to recover the motion. 2. Constraint equation.
USSC3002 Oscillations and Waves Lecture 10 Calculus of Variations Wayne M. Lawton Department of Mathematics National University of Singapore 2 Science.
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
D Nagesh Kumar, IIScOptimization Methods: M2L4 1 Optimization using Calculus Optimization of Functions of Multiple Variables subject to Equality Constraints.
Example Ex. Find Sol. So. Example Ex. Find (1) (2) (3) Sol. (1) (2) (3)
Sheng-Fang Huang. 1.1 Basic Concepts Modeling A model is very often an equation containing derivatives of an unknown function. Such a model is called.
Dr. Wang Xingbo Fall , 2005 Mathematical & Mechanical Method in Mechanical Engineering.
Optical Flow. Distribution of apparent velocities of movement of brightness pattern in an image.
USSC3002 Oscillations and Waves Lecture 10 Calculus of Variations Wayne M. Lawton Department of Mathematics National University of Singapore 2 Science.
Tangent Planes and Normal Lines
4.1 Extreme Values of Functions
Differential Equations
Copyright © Cengage Learning. All rights reserved. 16 Vector Calculus.
Directional Derivatives. Example…What ’ s the slope of at (0,1/2)? What’s wrong with the way the question is posed? What ’ s the slope along the direction.
Copyright © Cengage Learning. All rights reserved. 14 Partial Derivatives.
Dr. Wang Xingbo Fall , 2005 Mathematical & Mechanical Method in Mechanical Engineering 1/3304/03/ :41.
1 Introduction Optimization: Produce best quality of life with the available resources Engineering design optimization: Find the best system that satisfies.
Announcements Topics: -sections 6.4 (l’Hopital’s rule), 7.1 (differential equations), and 7.2 (antiderivatives) * Read these sections and study solved.
CHAPTER 9.10~9.17 Vector Calculus.
Copyright © Cengage Learning. All rights reserved.
1.1 Basic Concepts. Modeling
Physics 312: Lecture 2 Calculus of Variations
CHAPTER III LAPLACE TRANSFORM
Copyright © Cengage Learning. All rights reserved.
Contents 9.1 Vector Functions 9.2 Motion in a Curve
Quantum Two.
Calculus of Variations
Sec 21: Analysis of the Euler Method
Copyright © Cengage Learning. All rights reserved.
Chapter 7 Functions of Several Variables
16.2: Line Integrals 16.3: The Fundamental Theorem for Line Integrals
Presentation transcript:

Amir Yavariabdi Introduction to the Calculus of Variations and Optical Flow

Agenda 1. CALCULUS OF VARIATIONS  Introduction  Strong and Weak Extrema  Mixed Partial Derivatives  Chain Rule for Several Variables  Statement of Problems  Euler-Lagrange and Beltrami Identity 2. Optical Flow  Estimating the Partial Derivatives  Estimating the Laplacian of the Flow Velocities  Minimization

Introduction Calculus of variations is a field of mathematics that deals with extremizing functionals, as opposed to ordinary calculus which deals with functions. A functional is usually a mapping from a set of functions to the real numbers and often formed as definite integrals involving unknown functions and their derivatives.

Weak and Strong Extrema In order to define local optimality, we must select a norm. There are two natural candidates for the norms: Extrema of J with respect to the 0-norm are called strong extrema and those with respect to the 1-norm are called weak extrema. J: real value of functional defined on v v: vector space of functions equipped with a norm

Mixed Partial Derivatives Derivative of f(x) at x = a For a function of several variable the total derivative of a function is: Mixed Partial Derivative

The Chain Rule Suppose f(x) is a differentiable function of x and x=x(t) is differentiable of t. By the chain rule theorem, the composite function z(t) is differentiable function of t By a chain rule theorem for functions of several variables The hypothesis for the chain rule theorem require the function z = f(x; y) to have continuous partial derivatives and for x(t) and y(t) to be differentiable.

Statement of Problem The arc length of the curve y(x) is given by integral If there are no constraint, the curve which minimizes the arc-length is the straight line. However, if the curve is constrained to lie on a surface, then the solution is less obvious (geodesics). It is not obvious what choice of y(x) will result in minimizing this integral.

Statement of Problem the integrals can be viewed as special kinds of functions, functions whose inputs are functions and whose outputs are real numbers. F is actually called a functional and f is an ordinary function of the variables x, y and y’. Suppose the functional F obtains a minimum (or maximum) value. How do we determine the curve y(x) which produces such a minimum (maximum) value for F?

Euler- Lagrange Equation If y(x) is a curve which minimizes the functional. then the following differential equation must be satisfied: The proof of above equation relies on three things: 1) The Leibniz rule 2) Integration by parts 3) Lemma 1 Let M(x) be a continuous function on the interval [a; b] Suppose that for any continuous function h(x) with h(a) = h(b) = 0 we have Then M(x) is identically zero3 on [a; b].

Beltrami Identity Often in applications, the function f which appears in the integrand does not depend directly on the variable x Beltrami Identity:

Optical Flow The Horn–Schunck method of estimating optical flow is a global method which introduces a global constraint of smoothness to solve the aperture problem. Steps: 1. Estimating the Partial Derivatives 2. Estimating the Laplacian of the Flow Velocities 3. Minimization

Estimating Partial Derivatives While there are many formulas for approximate differentiation. They used a set which gives them an estimate of Ex, Ey and Et at a point in the centre of a cube formed by eight measure.

Estimating the Laplacian of the Flow Velocities The local average of u and v are defined as follows

Minimizing The flow is formulated as a global energy functional which is then sought to be minimized. This function is given for two-dimensional image streams as: V [u(x,y), v(x,y)] is the optical flow vector, and the parameter α is a regularization constant. Larger values of α lead to a smoother flow. This functional can be minimized by solving the associated Euler–Lagrange equations. where L is the integrand of the energy expression

Minimizing where subscripts again denote partial differentiation and denotes the Laplace operator. where is a weighted average of u calculated in a neighbourhood around the pixel at location (x,y).

Minimizing which is linear in u and v and may be solved for each pixel in the image. However, since the solution depends on the neighbouring values of the flow field, it must be repeated once the neighbours have been updated. The following iterative scheme is derived: where the superscript k+1 denotes the next iteration, which is to be calculated and k is the last calculated result.

Advantage and Disadvantage the Horn–Schunck algorithm include that it yields a high density of flow vectors. it is more sensitive to noise than local methods.