Optical Flow Estimation using Variational Techniques Darya Frolova.

Slides:



Advertisements
Similar presentations
CISC 489/689 Spring 2009 University of Delaware
Advertisements

Various Regularization Methods in Computer Vision Min-Gyu Park Computer Vision Lab. School of Information and Communications GIST.
Chapter 9: Vector Differential Calculus Vector Functions of One Variable -- a vector, each component of which is a function of the same variable.
Introduction to Variational Methods and Applications
Active Contour Models (Snakes) 건국대학교 전산수학과 김 창 호.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Computer Vision Optical Flow
Motion Tracking. Image Processing and Computer Vision: 82 Introduction Finding how objects have moved in an image sequence Movement in space Movement.
Motion Estimation I What affects the induced image motion? Camera motion Object motion Scene structure.
Martin Burger Institut für Numerische und Angewandte Mathematik European Institute for Molecular Imaging CeNoS Total Variation and Related Methods II.
Optical Flow Methods 2007/8/9.
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.
Background vs. foreground segmentation of video sequences = +
Optical Flow Brightness Constancy The Aperture problem Regularization Lucas-Kanade Coarse-to-fine Parametric motion models Direct depth SSD tracking.
Unconstrained Optimization Problem
Motion Computing in Image Analysis
Optical Flow Estimation
Lecture 19: Optical flow CS6670: Computer Vision Noah Snavely
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Numerical Recipes (Newton-Raphson), 9.4 (first.
Motion Field and Optical Flow. Outline Motion Field and Optical Flow Definition, Example, Relation Optical Flow Constraint Equation Assumptions & Derivation,
COMP 290 Computer Vision - Spring Motion II - Estimation of Motion field / 3-D construction from motion Yongjik Kim.
Image Primitives and Correspondence
3D Rigid/Nonrigid RegistrationRegistration 1)Known features, correspondences, transformation model – feature basedfeature based 2)Specific motion type,
Matching Compare region of image to region of image. –We talked about this for stereo. –Important for motion. Epipolar constraint unknown. But motion small.
Lesson 5 Method of Weighted Residuals. Classical Solution Technique The fundamental problem in calculus of variations is to obtain a function f(x) such.
Motion from normal flow. Optical flow difficulties The aperture problemDepth discontinuities.
Computer Vision Optical Flow Marc Pollefeys COMP 256 Some slides and illustrations from L. Van Gool, T. Darell, B. Horn, Y. Weiss, P. Anandan, M. Black,
Motion and optical flow Thursday, Nov 20 Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys, S. Lazebnik.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
UNIVERSITI MALAYSIA PERLIS
Section 2: Finite Element Analysis Theory
Optical Flow Donald Tanguay June 12, Outline Description of optical flow General techniques Specific methods –Horn and Schunck (regularization)
1-1 Measuring image motion velocity field “local” motion detectors only measure component of motion perpendicular to moving edge “aperture problem” 2D.
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Uses of Motion 3D shape reconstruction Segment objects based on motion cues Recognize events and activities Improve video quality Track objects Correct.
December 9, 2014Computer Vision Lecture 23: Motion Analysis 1 Now we will talk about… Motion Analysis.
1 University of Texas at Austin Machine Learning Group 图像与视频处理 计算机学院 Motion Detection and Estimation.
1 Computational Vision CSCI 363, Fall 2012 Lecture 21 Motion II.
Effective Optical Flow Estimation
3D Imaging Motion.
March 24, 2006 Fixed Point Theory in Fréchet Space D. P. Dwiggins Systems Support Office of Admissions Department of Mathematical Sciences Analysis Seminar.
Joint Tracking of Features and Edges STAN BIRCHFIELD AND SHRINIVAS PUNDLIK CLEMSON UNIVERSITY ABSTRACT LUCAS-KANADE AND HORN-SCHUNCK JOINT TRACKING OF.
Optical Flow. Distribution of apparent velocities of movement of brightness pattern in an image.
1 Motion Analysis using Optical flow CIS601 Longin Jan Latecki Fall 2003 CIS Dept of Temple University.
AUTOMATIC CONTROL THEORY II Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Motion Estimation I What affects the induced image motion?
Introduction to Optimization
Linear & Nonlinear Programming -- Basic Properties of Solutions and Algorithms.
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Newton's method Wikpedia page
Motion / Optical Flow II Estimation of Motion Field Avneesh Sud.
Optical flow and keypoint tracking Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Amir Yavariabdi Introduction to the Calculus of Variations and Optical Flow.
Image Motion. The Information from Image Motion 3D motion between observer and scene + structure of the scene –Wallach O’Connell (1953): Kinetic depth.
MOTION Model. Road Map Motion Model Non Parametric Motion Field : Algorithms 1.Optical flow field estimation. 2.Block based motion estimation. 3.Pel –recursive.
Motion and Optical Flow
Complex Variables. Complex Variables Open Disks or Neighborhoods Definition. The set of all points z which satisfy the inequality |z – z0|
Image Primitives and Correspondence
Range Imaging Through Triangulation
Image and Video Processing
CSSE463: Image Recognition Day 30
Coupled Horn-Schunck and Lukas-Kanade for image processing
CSSE463: Image Recognition Day 30
Optical flow Computer Vision Spring 2019, Lecture 21
CSSE463: Image Recognition Day 30
Optical flow and keypoint tracking
Shape from Shading and Texture
1st semester a.y. 2018/2019 – November 22, 2018
Presentation transcript:

Optical Flow Estimation using Variational Techniques Darya Frolova

Part I Mathematical Preliminaries

Agenda Minimization problem: Investigate the existence of a solution with respect to reasonable assumptions on functional F and space A - conditions for A and F, - main theorem : existence and uniqueness of minimum Optical Flow - what is this? - different approaches - formulation of minimization problem for Optical Flow - existence of solution (using main theorem )

minimization problem: Theorem A is a compact set, function F is continuous on A. Then such that What happens when A is not a compact? What happens when functional F is not continuous? Does the minimum exist? a b x0x0 F (x)

New Theorem Theorem A is a compact set Then such that function F is continuous on A A = BV (Ω) – space of functions of bounded variation functional F is coercive and lower semicontinuous on A

Bounded Variation -1D case f has bounded variation over if exists const M such that for all Consider a x1x1 x2x2 x n -1 b …… Definition

Bounded Variation Definition The space of functions of bounded variation on Ω is denoted BV ( Ω ) Total variation of function f can be represented as follows: φ where - function φ is compactly supported (is zero outside of a compact set), -

If f is differentiable, then Supremum for and 1 f(x) sign(df/dx) Then variation of function f = Function f does not need to be differentiable

Bounded Variation – ND case bounded open subset, function Variation of over where φ

Bounded Variation – example 1) functions under integral are bounded on [0,1] 2) - problem at x = 0, 2 nd term is not bounded

Definitions Definition Banach space – complete, normed linear space Definition Space X is said to be complete, when any Cauchy sequence {x n } from X converges Definition Consider sequence {x n } from X. If natural, such that for any m, n > N, then {x n } - Cauchy sequence Space of functions of bounded variation BV(Ω) is a Banach space

Definition Functional f is coercive if Definition Consider sequence {x n }. Denote Then lower limit of sequence {x n } is a limit of sequence {X k }: ++ ++ x f (x)

Dual Space Let X denote a real Banach space. Dual space of X : X * – space of linear bounded operators X * = { f : X → R } Definition Linear operator: f (αx + βy) = α f (x) + β f (y) Bounded operator: bounded set converts to bounded set

Dual space Definition X is called reflexive if ( X *) * ReflexiveNot reflexive e.g. finite-dimensional (normed) spaces, Hilbert spaces e.g. the space of sequences ℓ ∞ ℓ∞ = {x n } : ( if bidual space of X is equal to X )

Topologies on X Definition Sequence {x n } from X strongly converges to point x if If sequence strongly converges, then it weakly converges Definition Sequence {x n } from X weakly converges to point x if for every functional f from X* ( if converges sequence of real numbers f (x n ) for any linear bounded f )

Topologies on X* Definition Sequence { f n } from X* strongly converges to f if Definition Sequence { f n } from X weakly converges to f if for every g from ( X* ) * (bidual space of X) Definition Sequence { f n } from X weakly* converges to f if for every x from X

Direct Method Problem f : X → R, where X is a Banach space inf f (x) xXxX Does the solution exist? The proof consists of three steps, which is called Direct Method of Variational Calculus

Theorem If functional f is coercive and lower semicontinuous on X, X is Banach and reflexive space Then functional f has its minimum on X :

Direct Method Step A Construct minimizing sequence {x n } for functional f : Step B a) If f is coercive, then minimizing sequence is bounded Step C If f is lower semicontinuous at point x 0 then x 0 is a point of minimum: b) If X is reflexive, then there exists weakly convergent subsequence of minimizing sequence:

Step A There exists an infimum of the set { f (x), x  X }  R and exists a sequence  R, which converges to this infimum { f (x), x  X }  R

Step B (a) If f is coercive, then minimizing sequence is bounded : Proof Consider minimizing sequence {x n }: Assume that it is not bounded: (equivalently, for any ball with radius C = 1,2… there exists an element outside this ball) If we form a subsequence of these, it will satisfy: f is coercive    But is subsequence of f (x n ), that is why So, unbounded { x n } cannot be minimizing sequence. To prove

Step B (b) we can conclude that exists x 0  X and exists subsequence such that: We proved that minimizing sequence is bounded. If X is reflexive ( ( X * )* = X ) then using theorem about weak sequential compactness, which states that: for any bounded sequence in reflexive Banach space there exists weakly convergent subsequence If X is reflexive, then there exists weakly convergent subsequence of minimizing sequence To prove Proof

Step C If f is lower semicontinuous at x 0  x 0 is a minimum point of f We proved the existence of such that: If there exists limit of f (x n ) then there exists a limit of its subsequence and these limits are equal: On the other hand, from the lower semicontinuity it follows that Hence This means that To prove Proof

Part II Optical Flow

Image Sequence Sequence of images contains information about the scene, We want to estimate motion (using variational formulation)

2D motion field Optical center 2D motion field Projection on the image plane of the 3D velocity of the scene 3D motion field Image intensity I1I1 I2I2 Motion vector - ?

Optical Flow What we are able to perceive is just an apparent motion, called Optical flow (motion, observable only through intensity variations) Intensity remains constant – no motion is perceived No object motion, moving light source produces intensity variations

Optical flow-methods Correlation-based techniques - compare parts of the first image with parts of the second in terms of the similarity in brightness patterns in order to determine the motion vectors Feature-based methods - compute and analyze Optical Flow at small number of well-defined image features Gradient-based methods - use spatiotemporal partial derivatives to estimate flow at each point

Brightness constancy Intensity of a point keeps constant along its trajectory ( reasonable for small displacements ) intensity of the pixelat time Start from point x 0 at time t 0. Trajectory → ( t, x (t) ) Differentiating → We will search the Optical Flow as the velocity field:

Brightness constancy Given sequence I (t, x) and time t 0 Find the velocity v (x) such that: We need to find the velocity field - 2 components We have 1 scalar equation Can find only “normal flow” Component in the direction of gradient I Optical Flow constraint (OFC)

Aperture problem

Solving the aperture problem Second order derivative constraint : conservation of along trajectories Rigid deformations are not considered (object moves locally in one direction) Sensitive to noise

Weighted least squares Velocities are constant in small window (spatial neighborhood) w (x) is a window function ( gives more influence to the constraint at the center of the neighborhood than at the periphery) Too local, no global regularity

Regularizing the velocity field smoothing term A (v) S (v) Velocity should change slowly in spatial domain (in image plain) Optical Flow constraint Horn and Schunck

Discontinuities But smoothing term does not allow to save discontinuities Discontinuities near edges are lost Synthetic example (method of Horn and Schunck)

Discontinuity-preserving approach Where function η permits noise removal and edge conservation [Black et.al, Cohen, Kumar, Balas, Tannenbaum, Blanc-Feraud] [Suter, Gupta and Prince, Guichard and Rudin]

Discontinuity-preserving approach summary Given : sequence I (t, x) Find: velocity field v that minimizes the energy functional E S (v) Smoothing term, we need to find conditions on η for saving discontinuities H (v) Is related to homogeneous regions A (v) L 1 norm of the Optical Flow constraint

Smoothing term Function η : R + → R + is strictly convex, nondecreasing η (0) = 0 (without loss of generality) η ( s )

Homogeneous term Idea : if there is no texture (there is no gradient), then there is no possibility to correctly estimate the flow field So, we may force it to be zero Without loss of generality:

Existence of solution Theorem Under the following hypotheses: η : R + → R + is strictly convex, nondecreasing, η (0) = 0 The minimization problem has a unique solution in BV( Ω )

Existence of a solution Proof Using direct method of Variational Calculus: Step A Construct minimizing sequence {v n } for functional E : Step B a) If E is coercive, then minimizing sequence is bounded b) If BV (Ω) is reflexive, then there exists weakly convergent subsequence of minimizing sequence: Step C If E is lower semicontinuous at point x 0 then x 0 is a point of minimum:

Existence of a solution +  c is bounded +  So, functional E is coercive

Existence of a solution Proof Using direct method of Variational Calculus: Step A Construct minimizing sequence {v n } for functional E : Step B a) If E is coercive, then minimizing sequence is bounded b) If BV (Ω) is reflexive, then there exists weakly convergent subsequence of minimizing sequence: Step C If E is lower semicontinuous at point x 0 then x 0 is a point of minimum:

Existence of a solution Space of functions of bounded variation is not reflexive: ( BV *)* ≠ BV But it has such a property that every bounded sequence I j from BV ( Ω ) has a subsequence that weakly* converges to some element I from BV ( Ω )

Existence of a solution Proof Using direct method of Variational Calculus: Step A Construct minimizing sequence {v n } for functional E : Step B a) If E is coercive, then minimizing sequence is bounded b) If BV (Ω) is reflexive, then there exists weakly convergent subsequence of minimizing sequence: Step C If E is lower semicontinuous at point x 0 then x 0 is a point of minimum:

The End