Computing motion between images

Slides:



Advertisements
Similar presentations
CSCE 643 Computer Vision: Template Matching, Image Pyramids and Denoising Jinxiang Chai.
Advertisements

Medical Image Registration Kumar Rajamani. Registration Spatial transform that maps points from one image to corresponding points in another image.
Investigation Into Optical Flow Problem in the Presence of Spatially-varying Motion Blur Mohammad Hossein Daraei June 2014 University.
CSE 473/573 Computer Vision and Image Processing (CVIP)
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Computer Vision Optical Flow
Tracking Features with Large Motion. Abstract Problem: When frame-to-frame motion is too large, KLT feature tracker does not work. Solution: Estimate.
Medical Imaging Mohammad Dawood Department of Computer Science University of Münster Germany.
Motion Tracking. Image Processing and Computer Vision: 82 Introduction Finding how objects have moved in an image sequence Movement in space Movement.
Automatic Image Alignment (direct) : Computational Photography Alexei Efros, CMU, Fall 2006 with a lot of slides stolen from Steve Seitz and Rick.
Motion Estimation I What affects the induced image motion? Camera motion Object motion Scene structure.
1 Interest Operators Find “interesting” pieces of the image –e.g. corners, salient regions –Focus attention of algorithms –Speed up computation Many possible.
(1) Feature-point matching by D.J.Duff for CompVis Online: Feature Point Matching Detection,
Announcements Quiz Thursday Quiz Review Tomorrow: AV Williams 4424, 4pm. Practice Quiz handout.
Segmentation Divide the image into segments. Each segment:
1 Interest Operator Lectures lecture topics –Interest points 1 (Linda) interest points, descriptors, Harris corners, correlation matching –Interest points.
Announcements Project1 artifact reminder counts towards your grade Demos this Thursday, 12-2:30 sign up! Extra office hours this week David (T 12-1, W/F.
Feature matching and tracking Class 5 Read Section 4.1 of course notes Read Shi and Tomasi’s paper on.
Announcements Project 1 test the turn-in procedure this week (make sure your folder’s there) grading session next Thursday 2:30-5pm –10 minute slot to.
Tracking using the Kalman Filter. Point Tracking Estimate the location of a given point along a sequence of images. (x 0,y 0 ) (x n,y n )
Optical flow and Tracking CISC 649/849 Spring 2009 University of Delaware.
Lecture 3a: Feature detection and matching 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.
COMP 290 Computer Vision - Spring Motion II - Estimation of Motion field / 3-D construction from motion Yongjik Kim.
Image Primitives and Correspondence
Matching Compare region of image to region of image. –We talked about this for stereo. –Important for motion. Epipolar constraint unknown. But motion small.
KLT tracker & triangulation Class 6 Read Shi and Tomasi’s paper on good features to track
Motion Estimation I What affects the induced image motion? Camera motion Object motion Scene structure.
CSCE 641 Computer Graphics: Image Registration Jinxiang Chai.
Stockman MSU/CSE Math models 3D to 2D Affine transformations in 3D; Projections 3D to 2D; Derivation of camera matrix form.
1 Interest Operators Find “interesting” pieces of the image Multiple possible uses –image matching stereo pairs tracking in videos creating panoramas –object.
EE392J Final Project, March 20, Multiple Camera Object Tracking Helmy Eltoukhy and Khaled Salama.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Lecture 12 Stereo Reconstruction II Lecture 12 Stereo Reconstruction II Mata kuliah: T Computer Vision Tahun: 2010.
1 Interest Operators Harris Corner Detector: the first and most basic interest operator Kadir Entropy Detector and its use in object recognition SIFT interest.
Active Vision Key points: Acting to obtain information Eye movements Depth from motion parallax Extracting motion information from a spatio-temporal pattern.
The Brightness Constraint
Local invariant features Cordelia Schmid INRIA, Grenoble.
Reconstructing 3D mesh from video image sequences supervisor : Mgr. Martin Samuelčik by Martin Bujňák specifications Master thesis
#? rahul swaminathan (T-Labs) & professor patrick baudisch hci2 hasso-plattner institute determining depth.
Uses of Motion 3D shape reconstruction Segment objects based on motion cues Recognize events and activities Improve video quality Track objects Correct.
1 University of Texas at Austin Machine Learning Group 图像与视频处理 计算机学院 Motion Detection and Estimation.
Computer Vision Stereo Vision. Bahadir K. Gunturk2 Pinhole Camera.
Lecture 7: Features Part 2 CS4670/5670: Computer Vision Noah Snavely.
Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
Local invariant features Cordelia Schmid INRIA, Grenoble.
3D Imaging Motion.
Segmentation of Vehicles in Traffic Video Tun-Yu Chiang Wilson Lau.
Features, Feature descriptors, Matching Jana Kosecka George Mason University.
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 Estimation I What affects the induced image motion?
Correspondence and Stereopsis Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri]
An Improved Approach For Image Matching Using Principle Component Analysis(PCA An Improved Approach For Image Matching Using Principle Component Analysis(PCA.
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.
MOTION Model. Road Map Motion Model Non Parametric Motion Field : Algorithms 1.Optical flow field estimation. 2.Block based motion estimation. 3.Pel –recursive.
Paper – Stephen Se, David Lowe, Jim Little
Motion and Optical Flow
Robust Visual Motion Analysis: Piecewise-Smooth Optical Flow
Image Primitives and Correspondence
Feature description and matching
CSE 455 – Guest Lectures 3 lectures Contact Interest points 1
Motion Estimation Today’s Readings
Announcements more panorama slots available now
Image and Video Processing
Announcements Questions on the project? New turn-in info online
Announcements more panorama slots available now
Presentation transcript:

Computing motion between images The basics

Matching images We will deal with two similar tasks: A. Given a point in one image, find its matching point in the other image - feature matching/optical flow. B. Find the transformation mapping one image to the other - Image alignment/ Image Registration. Feature matching/ optical flow Alignment: Scale by 3/4

Why is it useful Camera stabilization Tracking moving objects Finding the camera motion and 3D reconstruction. Image processing by combining several images (mosaicing, super-resolution…) Compression. …..

Matching by sliding window A basic method to find matching points between images. (correspondence) a neighborhood of the point (Window) in image I1 is compared to several Windows in I2. The window with the best score wins. Various scores can be used.

Matching by sliding window The winning window The window in image 1 A sliding window in I2 I2 I2 I2

Matching Criteria - Difference Common matching criteria: SSD - Sum of Squared Differences k - the size of the window. p1 = (x1, y1) is the center of the window in I1. p2 = (x2, y2) is the center of the window in I2. SAD - Sum of Absolute Differences

Matching Criteria - Correlation Cross Correlation is similar to SSD, but can be implemented more efficiently: The window to search The image to search (I2) The maximum cross correlation score The cross correlation score

Handling illumination changes SSD, SAD and Cross Correlation assume constant brightness. On order to handle illumination changes, Normalized cross-correlation can be used. I1 I2

Normalized Cross Correlation When ordering the pixels in the windows in vectors v1, v2: The Normalized Cross Correlation is: Squared Vector norm Inner product

The aperture problem ? ? ?

The aperture problem (cont’) Easy to track in both directions. Hard to track vertically.

The aperture problem (cont’) T junction normal flow real motion

And what about smooth areas ? Use bigger windows: Less noise Smaller aperture problem Might include different motions Smooth the image ! ? ?

Using a Pyramid for optical flow Smoothing the images: we get an estimation of the motion in uniform regions. Handling large motions: Even if the motion in the original image is big, the motion in the small level is small. Once the solution was find in level k, there is only small motion to fix in the level k-1: The optical flow calculations become much faster ! Pyramid[1] Pyramid[2]

Auto-Correlation (and how does the SSD handle a combination of motions) The AC meaning: How similar does the image looks to it selves in different shifts. It has a strong connection with the aperture problem. The SSD should find the best motion – depending on the auto-correlation function.

Deformations The window matching assumes a pure image translation in small regions. Possible solutions for deformations: Invariant features Iterations of motion computations + warping

Limitations of Window Matching Accuracy: A pixel is always matched to integer location on the grid. The image motion is usually not integer. Neighborhood/Scene constraints: High level knowledge about the scene/camera may help in limiting the search, and reducing errors. (for example, the scene is planar)