Computer Vision I. Announcements

Similar documents
Announcements. Tracking. Comptuer Vision I. The Motion Field. = ω. Pure Translation. Motion Field Equation. Rigid Motion: General Case

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

Computer Vision Motion

Optical flow. Subhransu Maji. CMPSCI 670: Computer Vision. October 20, 2016

Optical Flow, KLT Feature Tracker.

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

Lucas-Kanade Optical Flow. Computer Vision Carnegie Mellon University (Kris Kitani)

Motion Estimation (I) Ce Liu Microsoft Research New England

Motion Estimation (I)

6.869 Advances in Computer Vision. Prof. Bill Freeman March 1, 2005

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

Methods in Computer Vision: Introduction to Optical Flow

Introduction to motion correspondence

Optical Flow, Motion Segmentation, Feature Tracking

Edge Detection. Computer Vision P. Schrater Spring 2003

Lecture 12. Local Feature Detection. Matching with Invariant Features. Why extract features? Why extract features? Why extract features?

Instance-level l recognition. Cordelia Schmid INRIA

Interest Operators. All lectures are from posted research papers. Harris Corner Detector: the first and most basic interest operator

Edge Detection PSY 5018H: Math Models Hum Behavior, Prof. Paul Schrater, Spring 2005

What is Motion? As Visual Input: Change in the spatial distribution of light on the sensors.

Image Alignment and Mosaicing

Instance-level recognition: Local invariant features. Cordelia Schmid INRIA, Grenoble

Lecture 8: Interest Point Detection. Saad J Bedros

Elaborazione delle Immagini Informazione multimediale - Immagini. Raffaella Lanzarotti

Lecture 8: Interest Point Detection. Saad J Bedros

Determining the Translational Speed of a Camera from Time-Varying Optical Flow

INTEREST POINTS AT DIFFERENT SCALES

CSCI 250: Intro to Robotics. Spring Term 2017 Prof. Levy. Computer Vision: A Brief Survey

Instance-level recognition: Local invariant features. Cordelia Schmid INRIA, Grenoble

Instance-level recognition: Local invariant features. Cordelia Schmid INRIA, Grenoble

Invariant local features. Invariant Local Features. Classes of transformations. (Good) invariant local features. Case study: panorama stitching

Sec. 1.1: Basics of Vectors

. This is the Basic Chain Rule. x dt y dt z dt Chain Rule in this context.

Image matching. by Diva Sian. by swashford

Edge Detection. Introduction to Computer Vision. Useful Mathematics Funcs. The bad news

Visual Object Recognition

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

Optic Flow Computation with High Accuracy

y,z the subscript y, z indicating that the variables y and z are kept constant. The second partial differential with respect to x is written x 2 y,z

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

Corners, Blobs & Descriptors. With slides from S. Lazebnik & S. Seitz, D. Lowe, A. Efros

Image Analysis. Feature extraction: corners and blobs

Advances in Computer Vision. Prof. Bill Freeman. Image and shape descriptors. Readings: Mikolajczyk and Schmid; Belongie et al.

Local Features (contd.)

Feature extraction: Corners and blobs

CS4670: Computer Vision Kavita Bala. Lecture 7: Harris Corner Detec=on

Lecture 6: Edge Detection. CAP 5415: Computer Vision Fall 2008

Partial differentiation. Background mathematics review

Determining Constant Optical Flow

Lecture Outline. Basics of Spatial Filtering Smoothing Spatial Filters. Sharpening Spatial Filters

CS 3710: Visual Recognition Describing Images with Features. Adriana Kovashka Department of Computer Science January 8, 2015

Edge Detection. CS 650: Computer Vision

EDGES AND CONTOURS(1)

Feature detectors and descriptors. Fei-Fei Li

Feature Tracking. 2/27/12 ECEn 631

Vlad Estivill-Castro (2016) Robots for People --- A project for intelligent integrated systems

PHYS 1441 Section 002 Lecture #19

Scale & Affine Invariant Interest Point Detectors

Additional Pointers. Introduction to Computer Vision. Convolution. Area operations: Linear filtering

Overview. Introduction to local features. Harris interest points + SSD, ZNCC, SIFT. Evaluation and comparison of different detectors

Feature detectors and descriptors. Fei-Fei Li

Edge Detection in Computer Vision Systems

and ( x, y) in a domain D R a unique real number denoted x y and b) = x y = {(, ) + 36} that is all points inside and on

Image Alignment and Mosaicing Feature Tracking and the Kalman Filter

Mathematical Notation Math Calculus & Analytic Geometry III

Laplacian Filters. Sobel Filters. Laplacian Filters. Laplacian Filters. Laplacian Filters. Laplacian Filters

Lecture 13: Tracking mo3on features op3cal flow

Multigrid Acceleration of the Horn-Schunck Algorithm for the Optical Flow Problem

Math 461 Homework 8. Paul Hacking. November 27, 2018

Lecture 5. Epipolar Geometry. Professor Silvio Savarese Computational Vision and Geometry Lab. 21-Jan-15. Lecture 5 - Silvio Savarese

0,0 B 5,0 C 0, 4 3,5. y x. Recitation Worksheet 1A. 1. Plot these points in the xy plane: A

Vision par ordinateur

Introduction to Algebraic and Geometric Topology Week 14

TRACKING and DETECTION in COMPUTER VISION Filtering and edge detection

Math 461 Homework 8 Paul Hacking November 27, 2018

Lecture 05 Point Feature Detection and Matching

CMSC427 Parametric curves: Hermite, Catmull-Rom, Bezier

Part I: Thin Converging Lens

Discrete Wavelet Analysis for Fast Optic Flow Computation

Chapter 4 Imaging. Lecture 21. d (110) Chem 793, Fall 2011, L. Ma

Mat 267 Engineering Calculus III Updated on 9/19/2010

Midterm Exam. CS283, Computer Vision Harvard University. Nov. 20, 2009

Physics 207, Lecture 4, Sept. 15

Review of Prerequisite Skills for Unit # 2 (Derivatives) U2L2: Sec.2.1 The Derivative Function

IMP 2007 Introductory math course. 5. Optimization. Antonio Farfán Vallespín

Keypoint extraction: Corners Harris Corners Pkwy, Charlotte, NC

Additional exercises in Stationary Stochastic Processes

Definition of Derivative

Hypergeometric Filters For Optical Flow and Ane Matching. Carnegie Mellon University. Pittsburgh, PA matching problems.

Tangent Line Approximations

CURVILINEAR MOTION: GENERAL & RECTANGULAR COMPONENTS APPLICATIONS

RIGID BODY MOTION (Section 16.1)

A Simple Explanation of the Sobolev Gradient Method

5. Nonholonomic constraint Mechanics of Manipulation

2. Conservation of Mass

VECTORS IN THREE DIMENSIONS

1 Relative degree and local normal forms

Instance-level l recognition. Cordelia Schmid & Josef Sivic INRIA

Extreme Values of Functions

EE2007: Engineering Mathematics II Vector Calculus

Transcription:

Announcements Motion II No class Wednesda (Happ Thanksgiving) HW4 will be due Frida 1/8 Comment on Non-maximal supression CSE5A Lecture 15 Shi-Tomasi Corner Detector Filter image with a Gaussian. Compute the gradient everwhere. Move window over image and construct C over the window. # I x I x I & C(x, ) = % ( $ % I x I I '( Use linear algebra to ind λ 1 and λ. I the are both large, we have a corner. 1. Let e(x,) = min(λ 1 (x,), λ (x,)). (x,) is a corner i it s local maximum o e(x,) and e(x,) > τ Parameters: Gaussian std. dev, window size, threshold Non-maximum suppression Local max o magnitude o the gradient in the direction o the gradient Using normal at q, ind two points p and r on adjacent rows (or columns). We have a maximum i the value is larger than those at both p and at r. Interpolate to get values. Motion undertsanding From two or more images, motion understanding allows us to 1. Segment objects. Track moving objects 3. Estimate egomotion 4. Estimate 3D scene structure 5. Estimate multiple motions and non-rigid motion Tpical -rame wide-baseline SFM approach 1. Detect corners/eature points in each image. Hpothesize matches between pairs based on image descriptors or SSD 3. From collection o nois pairs, estimate Essential (Fundamental) matrix using RANSAC 4. Compute Epipolar geometr rom inliers. 5. Estimate 3D structure as sparse (or dense) stereo vision Two imaging situations Continuous motion (small, ininitesimal) Large Motion (discrete, widebaseline) 1

Small Motion Motion When objects move at equal speed, those more remote seem to move more slowl. - Euclid, 300 BC The Motion Field Where in the image did a point move? The Motion Field Down and let What causes a motion ield? THE MOTION FIELD 1. Camera moves (translates, rotates). Object s in scene move rigidl 3. Objects articulate (pliers, humans, animals) 4. Objects bend and deorm (ish) 5. Blowing smoke, clouds 6. Multiple movements The instantaneous velocit o all points in an image LOOMING The Focus o Expansion (FOE) Intersection o velocit vector with image plane With just this inormation it is possible to calculate: 1. Direction o motion. Time to collision

Rigid Motion: General Case p! P General Motion Let (x,,z) be unctions o time (x(t), (t), z(t)). The velocit [du/dt, dv/dt] T o the projection o (x,,z) is: Position and orientation o a rigid bod Rotation Matrix & Translation vector!p = T + Ω p Rigid Motion Velocit Vector: T Angular Velocit Vector: ω (or Ω) Ω : Speed o rotation ˆΩ : Direction o rotation Substituting where p=(x,,z) T ields: Motion Field Equation Pure Translation T u zu Tx ω uv ω x u! = ω + ωzv + Tzv T ωuv ωxv v! = + ωx ωzu T: Components o 3-D linear motion ω: Angular velocit vector (u,v): Image point coordinates : depth : ocal length For pure translation, there is no rotation or ω = 0 T u zu Tx ω uv ω x u! = ω + ωzv + Tzv T ωuv ωxv v! = + ωx ωzu Forward Translation & Focus o Expansion [Gibson, 1950] Pure Translation Radial about FOE Parallel ( FOE point at ininit) T = 0 Motion parallel to image plane 3

Sidewas Translation [Gibson, 1950] Pure Rotation: T=0 T u zu Tx ω uv ω x u! = ω + ωzv + Tzv T ωuv ωxv v! = + ωx ωzu Parallel motion vectors ( FOE point at ininit) T = 0 Motion parallel to image plane Independent o T x T T z Independent o Onl unction o (u,v), and ω Rotational MOTION FIELD Pure Rotation: Motion Field on Sphere The instantaneous velocit o points in an image PURE ROTATION ω = (0,0,1) T Motion Field Equation: Estimating Depth u = T zu T x ω +ω z v + ω xuv ω u v = T zv T +ω x ω z u ω uv ω xv Motion I T, ω, and are known or measured, then or each image point (u,v), one can solve or the depth given measured motion (du/dt, dv/dt) at (u,v). = T z u T x u +ω ω z v ω uv x + ω u 4

Problem Deinition: Optical Flow Estimating the motion ield rom images 1. Feature-based (Sect. 8.4. o Trucco & Verri) 1. Detect Features (corners) in an image. Search or the same eatures nearb (Feature tracking). How to estimate pixel motion rom image H to image I? Find pixel correspondences Given a pixel in H, look or nearb pixels o the same color in I. Dierential techniques (Sect. 8.4.1) Ke assumptions color constanc: a point in H looks the same in image I For grascale images, this is brightness constanc small motion: points do not move ver ar Optical Flow Optical Flow Constraint Equation Motion Field ( x + u δt, + v δt ) ( x, ) ( x, ) time t + δt time t Optical Flow: Velocities (u, v) Displacement: (δx, δ ) = (u δt, v δt ) Assume brightness o patch remains same in both images: I(x + u δt, + v δt,t + δt) = I(x,,t) Assume small motion: (Talor expansion o LHS up to irst order) Motion ield exists but no optical low No motion ield but shading changes I(x,,t) + δx + δ + δt = I(x,,t) x t Optical Flow Constraint Equation Elements o Optical Flow Equation dx d + + =0 dt x dt t ( x + u δt, + v δt ) ( x, ) time t ( x, ) time t + δt Optical Flow: Velocities (u, v) Displacement: (δx, δ ) = (u δt, v δt ) Subtracting I(x,,t) rom both sides and dividing b dx d, is the velocit vector o point (x,), e.g., dt dt (u, v) = optical low at (x, ) δt x corner detection Assume small interval, this becomes: I =, is the image gradient at (x,), as used in edge and δx δ + + =0 δt x δt t dx d + + =0 dt x dt t is the dierence between successive images at (x,) t 5

Solving or low Optical low constraint equation : We can measure We want to solve or x,, t dx d, dt dt One equation, two unknowns Measurements I x = x, I =, I t = t Flow vector dx u =, dt d v = dt The component o the optical low in the direction o the image gradient. Optical Flow Constraint Normal Flow Illusion Works Barber Pole Illusion Apparentl an aperture problem Resolving the aperture problem 1. Global consistenc. Compute over window 6

What is the correspondence o P & P Two was to get low 1. Think globall, and regularize over image Contour plots o image intensit in two images Brightness is same along C and along C. Look over window and assume constant motion in the window Horn & Schunck algorithm Additional smoothness constraint : es (( ux + u ) + ( vx + v )) dxd, = besides OF constraint equation term ec ( I xu + I v + = I ) dxd, t de( u, v) = du de( u, v) = dv I I ( I u + I v + I ) x x ( I u + I v + I ) x t t = 0 = 0 minimize es+λec 7

Coarse-to-ine optical low estimation run iterative L-K warp & upsample run iterative L-K... image J H Gaussian pramid o image H image I Gaussian pramid o image I 8