Coupled Horn-Schunck and Lukas-Kanade for image processing

Slides:



Advertisements
Similar presentations
Andrew Cosand ECE CVRR CSE
Advertisements

Motion.
Investigation Into Optical Flow Problem in the Presence of Spatially-varying Motion Blur Mohammad Hossein Daraei June 2014 University.
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.
Motion Estimation I What affects the induced image motion? Camera motion Object motion Scene structure.
LUCAS KANADE FEATURE TRACKER a pyramidal implementation
Announcements Quiz Thursday Quiz Review Tomorrow: AV Williams 4424, 4pm. Practice Quiz handout.
Optical Flow Methods 2007/8/9.
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.
CSc83029 – 3-D Computer Vision/ Ioannis Stamos 3-D Computational Vision CSc Optical Flow & Motion The Factorization Method.
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.
Optical Flow
CSSE463: Image Recognition Day 30 Due Friday – Project plan Due Friday – Project plan Evidence that you’ve tried something and what specifically you hope.
Optical flow and Tracking CISC 649/849 Spring 2009 University of Delaware.
Motion Computing in Image Analysis
Lecture 3a: Feature detection and matching CS6670: Computer Vision Noah Snavely.
Optical Flow Estimation
Lecture 19: Optical flow CS6670: Computer Vision Noah Snavely
Optical Flow Estimation using Variational Techniques Darya Frolova.
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.
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.
Announcements Project1 due Tuesday. Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Supplemental:
CSCE 641 Computer Graphics: Image Registration Jinxiang Chai.
MSU Fall Computing Motion from Images Chapter 9 of S&S plus otherwork.
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.
Optical Flow Donald Tanguay June 12, Outline Description of optical flow General techniques Specific methods –Horn and Schunck (regularization)
Motion Segmentation By Hadas Shahar (and John Y.A.Wang, and Edward H. Adelson, and Wikipedia and YouTube) 1.
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.
An Efficient Search Strategy for Block Motion Estimation Using Image Features Digital Video Processing 1 Term Project Feng Li Michael Su Xiaofeng Fan.
December 9, 2014Computer Vision Lecture 23: Motion Analysis 1 Now we will talk about… Motion Analysis.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #16.
Motion Analysis using Optical flow CIS750 Presentation Student: Wan Wang Prof: Longin Jan Latecki Spring 2003 CIS Dept of Temple.
Effective Optical Flow Estimation
Pyramidal Implementation of Lucas Kanade Feature Tracker Jia Huang Xiaoyan Liu Han Xin Yizhen Tan.
3D Imaging Motion.
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.
Miguel Tavares Coimbra
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?
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.
1 Motion Estimation Readings: Ch 9: plus papers change detection optical flow analysis Lucas-Kanade method with pyramid structure Ming Ye’s improved.
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 estimation Digital Visual Effects, Spring 2005 Yung-Yu Chuang 2005/3/23 with slides by Michael Black and P. Anandan.
Advanced Computer Vision Chapter 8
CPSC 641: Image Registration
Horn-Schunk Optical Flow
Motion and Optical Flow
Range Imaging Through Triangulation
Motion Estimation Today’s Readings
What I learned in the first 2 weeks
Announcements more panorama slots available now
CSSE463: Image Recognition Day 30
Announcements Questions on the project? New turn-in info online
CSSE463: Image Recognition Day 30
Announcements more panorama slots available now
Optical flow Computer Vision Spring 2019, Lecture 21
CSSE463: Image Recognition Day 30
Optical flow and keypoint tracking
Presentation transcript:

Coupled Horn-Schunck and Lukas-Kanade for image processing Tamaz Sepiashvili, Mari Jananashvili Supervisors: Ramaz Botchorishvili, Tinatin Davitashvili Ivane Javakhishvili Tbilisi State University 24/08/2018

Mathematic interpretation and methods coupled algorithm Outline Optical Flow Mathematic interpretation and methods coupled algorithm

What is Optical Flow ? The pattern of apparent motion of objects, surfaces, and edges in a visual scene caused by the relative motion between an observer and a scene https://docs.opencv.org/3.4/d7/d8b/tutorial_py_lucas_kanade.html

Examples http://tcr.amegroups.com/article/view/3200/html

Examples https://www.codeproject.com/Articles/1192205/Capturing-motion-from-video-using-the-Emgu-CV-libr

Combining overlapping images Robot navigation , etc. Uses of Optical Flow Practical Uses Object tracking Video compression Structure from motion Segmentation Combining overlapping images Robot navigation , etc.

Problem Statement: Optical Flow https://courses.cs.washington.edu/courses/cse455/16wi/notes/14_Optical_Flow.pdf How to estimate pixel motion from image J to image I? Find pixel correspondences Given a pixel in J, look for nearby pixels of the same color in I Main assumptions A point in J looks “the same” in image I Points do not move far

Optical Flow Equation Assumptions: Displacement: Optical Flow: www.cs.cmu.edu/afs/cs/academic/class/15385-s06/lectures/ppts/lec-16.ppt Displacement: Optical Flow: Assumptions: Brightness remains same in both images: Small motion: (Taylor series expansion of right-hand side)

Optical Flow Equation Divide by and take the limit Constraint Equation: must lie on a blue line. compute partial derivatives. cannot be found uniquely.

Finding Gradients y t x j+1 k+1 j k i i+1 http://image.diku.dk/imagecanon/material/HornSchunckOptical_Flow.pdf

Finding Gradients

Aperture Problem Points around have the same intensity. Impossible to determine which point from match point http://www.sci.utah.edu/~gerig/CS6320-S2013/Materials/CS6320-CV-S2012-OpticalFlow-I.pdf

Aperture Problem https://wolfe4e.sinauer.com/wa08.02.html

Algorithms for Computing Optical Flow Horn-Schunck(Global Method) Lucas-Kanade(Local Method) Phase correlation Block-based method Buxton-Buxton method Black-Jepson method, etc.

Computing Optical Flow: Horn-Schunck method Error in Optical Flow Constraint: Smoothness Constraint: Usually motion field varies smoothly in the image: Find (u,v) at each image point that minimizes: Weighting Factor

Horn-Schunck method Consider image pixel Departure from Smoothness Constraint: Error in Optical Flow constraint equation: We need to minimize:

Horn-Schunck method Finally: Differentiating by and setting to zero: are averages of around pixel Finally:

Lucas-Kanade method Pixels inside the window The local image flow vector is constant and satisfy Pixels inside the window partial derivatives of the image , evaluated at the point at the current time. The Optical Flow Field/Caltech, Oct. 2004/Lihi Zelnik-Manor

The method of least squares Lucas-Kanade method Minimize The method of  least squares

Lucas-Kanade method

The Shi-Tomasi Corner Detector The score is calculated like this: and are eignevalues Green: λ1 and λ2 are greater than a certain value. -For pixels "accepted" as corners. Blue and gray : λ1 or λ2 is less than required minimum. -Equivalent to the "edge" areas. Red region: λ1 and λ2 are less than the required minimum. -This region is for "flat" areas. http://aishack.in/tutorials/shitomasi-corner-detector/

OpenCV Library Three libraries in one: “CV” – Computer Vision Algorithms “CXCORE” – Linear Algebra Raw matrix support, etc. “HIGHGUI” – Media/Window Handling It’s created and maintained by Intel

Estimations Original Photos 2nd Frame 1st Frame Simple Lucas-Kanade Horn-Schunck

Estimations Original Photos 1st Frame 2nd Frame Simple Lucas-Kanade Horn-Schunck

Estimations Original Photos 1st Frame 2nd Frame Simple Lucas-Kanade Horn-Schunck

The main idea of combining Combination of both local and global methods for the following requirements: • Need dense flow estimate • Robust to noise

The result of combination Calculations are much more reliable Unlike horn-Schunck method, Lukas-Kanade algorithm is not detecting those edges, which are not growing

Thank you!