Optical flow (motion vector) computation Course: Computer Graphics and Image Processing Semester:Fall 2002 Presenter:Nilesh Ghubade

Slides:



Advertisements
Similar presentations
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Advertisements

Investigation Into Optical Flow Problem in the Presence of Spatially-varying Motion Blur Mohammad Hossein Daraei June 2014 University.
Dynamic Occlusion Analysis in Optical Flow Fields
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Sliding Window Filters and Edge Detection Longin Jan Latecki Computer Graphics and Image Processing CIS 601 – Fall 2004.
December 5, 2013Computer Vision Lecture 20: Hidden Markov Models/Depth 1 Stereo Vision Due to the limited resolution of images, increasing the baseline.
Computer Vision Optical Flow
A New Block Based Motion Estimation with True Region Motion Field Jozef Huska & Peter Kulla EUROCON 2007 The International Conference on “Computer as a.
3D Computer Vision and Video Computing 3D Vision Topic 4 of Part II Visual Motion CSc I6716 Fall 2011 Cover Image/video credits: Rick Szeliski, MSR Zhigang.
Motion Tracking. Image Processing and Computer Vision: 82 Introduction Finding how objects have moved in an image sequence Movement in space Movement.
Optical Flow Methods 2007/8/9.
May 2004Motion/Optic Flow1 Motion Field and Optical Flow Ack, for the slides: Professor Yuan-Fang Wang Professor Octavia Camps.
E.G.M. PetrakisDynamic Vision1 Dynamic vision copes with –Moving or changing objects (size, structure, shape) –Changing illumination –Changing viewpoints.
Computing motion between images
CSc83029 – 3-D Computer Vision/ Ioannis Stamos 3-D Computational Vision CSc Optical Flow & Motion The Factorization Method.
CSSE463: Image Recognition Day 30 Due Friday – Project plan Due Friday – Project plan Evidence that you’ve tried something and what specifically you hope.
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Motion Computing in Image Analysis
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,
Information that lets you recognise a region.
3D Motion Estimation. 3D model construction Video Manipulation.
Motion from normal flow. Optical flow difficulties The aperture problemDepth discontinuities.
3D Computer Vision and Video Computing 3D Vision Topic 8 of Part 2 Visual Motion (II) CSC I6716 Spring 2004 Zhigang Zhu, NAC 8/203A
Motion and optical flow Thursday, Nov 20 Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys, S. Lazebnik.
Edge Detection Hao Huy Tran Computer Graphics and Image Processing CIS 581 – Fall 2002 Professor: Dr. Longin Jan Latecki.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
CSSE463: Image Recognition Day 30 This week This week Today: motion vectors and tracking Today: motion vectors and tracking Friday: Project workday. First.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Computer Vision, Robert Pless Lecture 11 our goal is to understand the process of multi-camera vision. Last time, we studies the “Essential” and “Fundamental”
Image Processing Jitendra Malik. Different kinds of images Radiance images, where a pixel value corresponds to the radiance from some point in the scene.
December 9, 2014Computer Vision Lecture 23: Motion Analysis 1 Now we will talk about… Motion Analysis.
Course 11 Optical Flow. 1. Concept Observe the scene by moving viewer Optical flow provides a clue to recover the motion. 2. Constraint equation.
Motion Analysis using Optical flow CIS750 Presentation Student: Wan Wang Prof: Longin Jan Latecki Spring 2003 CIS Dept of Temple.
Vehicle Segmentation and Tracking From a Low-Angle Off-Axis Camera Neeraj K. Kanhere Committee members Dr. Stanley Birchfield Dr. Robert Schalkoff Dr.
3D Imaging Motion.
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.
Segmentation of Vehicles in Traffic Video Tun-Yu Chiang Wilson Lau.
Copyright © 2012 Elsevier Inc. All rights reserved.. Chapter 19 Motion.
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
True FOE Computed FOE Recovering the observer’s rotation Velocity component due to observer’s translation Velocity component due to observer’s rotation.
CSSE463: Image Recognition Day 29 This week This week Today: Surveillance and finding motion vectors Today: Surveillance and finding motion vectors Tomorrow:
Motion / Optical Flow II Estimation of Motion Field Avneesh Sud.
Image-Based Rendering Geometry and light interaction may be difficult and expensive to model –Think of how hard radiosity is –Imagine the complexity of.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
Optical flow and keypoint tracking Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Sliding Window Filters Longin Jan Latecki October 9, 2002.
1 Computational Vision CSCI 363, Fall 2012 Lecture 29 Structure from motion, Heading.
Image Motion. The Information from Image Motion 3D motion between observer and scene + structure of the scene –Wallach O’Connell (1953): Kinetic depth.
11/25/03 3D Model Acquisition by Tracking 2D Wireframes Presenter: Jing Han Shiau M. Brown, T. Drummond and R. Cipolla Department of Engineering University.
Visual motion Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
3D Vision Topic 4 of Part II Visual Motion CSc I6716 Fall 2009
3D Motion Estimation.
Range Imaging Through Triangulation
Presented by: Cindy Yan EE6358 Computer Vision
CSSE463: Image Recognition Day 29
Course 7 Motion.
Image and Video Processing
CSSE463: Image Recognition Day 30
CSSE463: Image Recognition Day 29
CSSE463: Image Recognition Day 30
CSSE463: Image Recognition Day 29
CSSE463: Image Recognition Day 30
CSSE463: Image Recognition Day 29
Optical flow and keypoint tracking
Presentation transcript:

Optical flow (motion vector) computation Course: Computer Graphics and Image Processing Semester:Fall 2002 Presenter:Nilesh Ghubade Advisor: Dr Longin Jan Latecki Dept:Computer and Information Science, Temple University, Philadelphia, PA-19122

Motion Analysis Three groups of motion-related problems: 1. Motion detection Registers any detected motion. Registers any detected motion. Single static camera. Single static camera. Used for security purposes. Used for security purposes. 2. Moving object detection and location Determination of object trajectory. Determination of object trajectory. Static camera, moving objects OR Moving camera, static objects OR Both camera and objects moving. Static camera, moving objects OR Moving camera, static objects OR Both camera and objects moving. 3. Deriving 3D properties Use of set of 2D projections acquired at different time instants of object motion. Use of set of 2D projections acquired at different time instants of object motion.

Object motion assumptions Maximum velocity. Maximum velocity. Small acceleration. Small acceleration. Common motion of object points. Common motion of object points. Mutual correspondence. Mutual correspondence. C max * dt t0t0 t1t1 t2t2

Differential motion analysis Simple subtraction of images acquired at different instants in time makes motion detection possible, assuming stationary camera position and constant illumination. Simple subtraction of images acquired at different instants in time makes motion detection possible, assuming stationary camera position and constant illumination. Difference image is a binary image  subtract two consecutive images. Difference image is a binary image  subtract two consecutive images. Cumulative difference image: Cumulative difference image: Reveals motion direction. Reveals motion direction. Time related motion properties. Time related motion properties. Slow motion and small object motion. Slow motion and small object motion. Constructed from sequence of ‘n’ images taking first image as the reference image.

Example Motion in front of a security camera. Sobel filter edge detection.

Motion Detection- Sobel filter 10 frames/second15 frames/second 25 frames/second

Optical Flow Optical Flow reflects the image changes due to motion during a time interval dt. Optical Flow reflects the image changes due to motion during a time interval dt. Optical flow field is the velocity field that represents the 3D motion of object points across a 2D image. Optical flow field is the velocity field that represents the 3D motion of object points across a 2D image. It should not be sensitive to illumination changes and motion of unimportant objects (e.g. shadows) It should not be sensitive to illumination changes and motion of unimportant objects (e.g. shadows) Exceptions: Exceptions: 1. Non-zero optical flow  fixed sphere illuminated by a moving source. 2. Zero optical flow  smooth sphere under constant illumination, although there is rotational motion and true non- zero motion field.

Optical Flow (continued…) Aim is to determine optical flow that corresponds with true motion field. Aim is to determine optical flow that corresponds with true motion field. Necessary pre-condition of subsequent higher level motion processing  stationary or moving camera. Necessary pre-condition of subsequent higher level motion processing  stationary or moving camera. Provides tools to determine motion parameters, relative distances of objects in the image etc.. Provides tools to determine motion parameters, relative distances of objects in the image etc.. Example: Example: t1 t2

Assumptions Optical flow computation is based on two assumptions: 1. The observed brightness of any object point is constant over time. 2. Nearby points in the image plane move in a similar manner (the velocity smoothness constraint).

Optical flow computation The optical flow field represented in the form of Velocity vector: Length of the vector determines the magnitude of velocity. Length of the vector determines the magnitude of velocity. Direction of the vector determines the direction of motion. Direction of the vector determines the direction of motion. Global optical flow estimation— Local constraints are propagated globally. Local constraints are propagated globally. But errors also propagate across the solution. But errors also propagate across the solution. Local optical flow estimation— Divide image into smaller regions. Divide image into smaller regions. But inefficient in the areas where spatial gradients change slowly  here use global method, neighboring image parts contribute. But inefficient in the areas where spatial gradients change slowly  here use global method, neighboring image parts contribute.

Forms of motion Translation at constant distance from the observer. Set of parallel motion vectors. Translation in depth relative to the observer. Set of vectors having common focus of expansion. Rotation at constant distance from view axis. Set of concentric motion vectors. Rotation of planar object perpendicular to the view axis. One or more sets of vectors starting from straight line segments.

Representation Locate the position of a pixel (row,col) in the current image by computing shortest Euclidean distance with respect to 5-by-5 neighborhood in the next consecutive frame

Experiments 3-by-3 neighborhood

Experiments (contd…) 5-by-5 neighborhood

Experiments (contd…)

Applications of optical flow Object motion detection. Object motion detection. Action recognition. Action recognition. Active vision or structure of motion – Active vision or structure of motion – Reconstruction of 3D object by computing depth information. Reconstruction of 3D object by computing depth information. If you have distance (depth) maps, you can reconstruct surface of the object. If you have distance (depth) maps, you can reconstruct surface of the object. Facial expression recognition: reference  Facial expression recognition: reference 

Thank you Thank you