Robust Visual Motion Analysis: Piecewise-Smooth Optical Flow and Motion-Based Detection and Tracking Ming Ye Electrical Engineering, University of Washington.

Slides:



Advertisements
Similar presentations
Bayesian Belief Propagation
Advertisements

CSCE643: Computer Vision Bayesian Tracking & Particle Filtering Jinxiang Chai Some slides from Stephen Roth.
Change Detection C. Stauffer and W.E.L. Grimson, “Learning patterns of activity using real time tracking,” IEEE Trans. On PAMI, 22(8): , Aug 2000.
Analysis of Contour Motions Ce Liu William T. Freeman Edward H. Adelson Computer Science and Artificial Intelligence Laboratory Massachusetts Institute.
Spatial-Temporal Consistency in Video Disparity Estimation ICASSP 2011 Ramsin Khoshabeh, Stanley H. Chan, Truong Q. Nguyen.
Vision Based Control Motion Matt Baker Kevin VanDyke.
Forward-Backward Correlation for Template-Based Tracking Xiao Wang ECE Dept. Clemson University.
Adviser : Ming-Yuan Shieh Student ID : M Student : Chung-Chieh Lien VIDEO OBJECT SEGMENTATION AND ITS SALIENT MOTION DETECTION USING ADAPTIVE BACKGROUND.
Optimization & Learning for Registration of Moving Dynamic Textures Junzhou Huang 1, Xiaolei Huang 2, Dimitris Metaxas 1 Rutgers University 1, Lehigh University.
Francisco Barranco Cornelia Fermüller Yiannis Aloimonos Event-based contour motion estimation.
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.
1 Robust Video Stabilization Based on Particle Filter Tracking of Projected Camera Motion (IEEE 2009) Junlan Yang University of Illinois,Chicago.
Motion Detection And Analysis Michael Knowles Tuesday 13 th January 2004.
Recent progress in optical flow
Computing motion between images
Object Detection and Tracking Mike Knowles 11 th January 2005
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,
1 Integration of Background Modeling and Object Tracking Yu-Ting Chen, Chu-Song Chen, Yi-Ping Hung IEEE ICME, 2006.
Effective Gaussian mixture learning for video background subtraction Dar-Shyang Lee, Member, IEEE.
Linear Solution to Scale and Rotation Invariant Object Matching Professor: 王聖智 教授 Student : 周 節.
Presented by Pat Chan Pik Wah 28/04/2005 Qualifying Examination
COMP 290 Computer Vision - Spring Motion II - Estimation of Motion field / 3-D construction from motion Yongjik Kim.
IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 20, NO. 11, NOVEMBER 2011 Qian Zhang, King Ngi Ngan Department of Electronic Engineering, the Chinese university.
Optical Flow Digital Photography CSE558, Spring 2003 Richard Szeliski (notes cribbed from P. Anandan)
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 Detection in UAV Videos by Cooperative Optical Flow and Parametric Analysis Masaharu Kobashi.
EE392J Final Project, March 20, Multiple Camera Object Tracking Helmy Eltoukhy and Khaled Salama.
Stereo Matching Information Permeability For Stereo Matching – Cevahir Cigla and A.Aydın Alatan – Signal Processing: Image Communication, 2013 Radiometric.
TP15 - Tracking Computer Vision, FCUP, 2013 Miguel Coimbra Slides by Prof. Kristen Grauman.
Human-Computer Interaction Human-Computer Interaction Tracking Hanyang University Jong-Il Park.
1. Introduction Motion Segmentation The Affine Motion Model Contour Extraction & Shape Estimation Recursive Shape Estimation & Motion Estimation Occlusion.
1 Motion Estimation Readings: Ch 9: plus papers change detection optical flow analysis Lucas-Kanade method with pyramid structure Ming Ye’s improved.
Optical Flow Donald Tanguay June 12, Outline Description of optical flow General techniques Specific methods –Horn and Schunck (regularization)
3D SLAM for Omni-directional Camera
EECS 274 Computer Vision Motion Estimation.
#MOTION ESTIMATION AND OCCLUSION DETECTION #BLURRED VIDEO WITH LAYERS
Feature-Based Stereo Matching Using Graph Cuts Gorkem Saygili, Laurens van der Maaten, Emile A. Hendriks ASCI Conference 2011.
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.
Effective Optical Flow Estimation
Expectation-Maximization (EM) Case Studies
Chapter 5 Multi-Cue 3D Model- Based Object Tracking Geoffrey Taylor Lindsay Kleeman Intelligent Robotics Research Centre (IRRC) Department of Electrical.
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.
Segmentation of Vehicles in Traffic Video Tun-Yu Chiang Wilson Lau.
Motion Estimation using Markov Random Fields Hrvoje Bogunović Image Processing Group Faculty of Electrical Engineering and Computing University of Zagreb.
Robust Visual Motion Analysis: Piecewise-Smooth Optical Flow Ming Ye Electrical Engineering, University of Washington
1 Lucas-Kanade Motion Estimation Thanks to Steve Seitz, Simon Baker, Takeo Kanade, and anyone else who helped develop these slides.
Representing Moving Images with Layers J. Y. Wang and E. H. Adelson MIT Media Lab.
Motion estimation Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2005/4/12 with slides by Michael Black and P. Anandan.
1 Motion Estimation Readings: Ch 9: plus papers change detection optical flow analysis Lucas-Kanade method with pyramid structure Ming Ye’s improved.
Instructor: Mircea Nicolescu Lecture 10 CS 485 / 685 Computer Vision.
ICCV 2007 Optimization & Learning for Registration of Moving Dynamic Textures Junzhou Huang 1, Xiaolei Huang 2, Dimitris Metaxas 1 Rutgers University 1,
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 Parametric motion (image alignment) Tracking Optical flow.
Motion estimation Digital Visual Effects, Spring 2005 Yung-Yu Chuang 2005/3/23 with slides by Michael Black and P. Anandan.
A Closed Form Solution to Direct Motion Segmentation
Motion Detection And Analysis
Robust Visual Motion Analysis: Piecewise-Smooth Optical Flow
Representing Moving Images with Layers
Segmentation of Dynamical Scenes
Motion Estimation Thanks to Steve Seitz, Simon Baker, Takeo Kanade, and anyone else who helped develop these slides.
Analysis of Contour Motions
Image and Video Processing
CSSE463: Image Recognition Day 30
Paper Reading Dalong Du April.08, 2011.
CSSE463: Image Recognition Day 30
CSSE463: Image Recognition Day 30
Presentation transcript:

Robust Visual Motion Analysis: Piecewise-Smooth Optical Flow and Motion-Based Detection and Tracking Ming Ye Electrical Engineering, University of Washington

What Is Visual Motion  2D image velocity  3D motion projection  Temporal correspondence  Image deformation  Optical flow  An image of 2D velocity  Each pixel V s=(x,y) = (u s,v s )  (x,y,t)  (x+u,y+v,t+1)

Structure From Motion Estimated horizontal motionRigid scene + camera translation Depth map

Scene Dynamics Understanding  What’re moving? How?  Surveillance  Event analysis  Video compression Estimated horizontal motion Motion smoothness

Target Detection and Tracking A tiny airplane --- only observable by its distinct motion Tracking results

Image Distortion Measurement  Image deformation  Measure it. Remove it.  Image-based rendering Distortion

Research Areas  Structure from motion  Scene dynamics analysis  Object detection and tracking  Video compression  Image/video enhancement  Image-based rendering  Visual motion estimation

Outline  Optical flow estimation  Background  A local method with error analysis  A Bayesian approach with global optimization  Motion-based detection and tracking

Optical Flow Estimation

Basics  Template matching  Assumptions:  Brightness conservation  Flow smoothness  Difficulties:  Aperture problem (local information insufficient)  Outliers (motion boundaries, abrupt image noise)

Previous Work (1/2)  Brightness conservation  Matching-based  Gradient-based (OFC)  Flow smoothness  Local parametric [Lucas-Kanade 81] [Haralick-Lee 83]  Global optimization – [Horn-Schunck 81]

Previous Work (2/2)  Handle motion discontinuities & Outliers  Robust statistics  Many others  Higher-level methods  Problems:  Gradient calculation  Global formulation: values?  Computational complexity [Black–Anandan 96]

Two-Stage Robust Optical Flow Estimation with Error Propagation A Local Approach

Method  2-stage regression (LS) [Haralick-Lee 83, Ye-Haralick 98] derivatives Facet Model OFC image data optical flow & covariance Robust Facet high confidence? Y N LS Facet Robust OFC Image data Derivatives Optical flow & Confidence  2-stage-robust adaptive scheme [ Ye-Haralick 00]  Previous: robust OFC only

Results Sampled by2: True LS-LS LS-R R-R Confidence Horizontal flow: M-OFC LS-LMedS LS-R R-R

Error Analysis  Covariance propagation [Haralick 96]  (Approx.) linear system + small errors  Previous work  New: reject outliers first Image noise var.EIVOFC corr. Simoncelli 91 Szeliski 89 Nagel 94 Ye-Haralick 98 No Yes No Yes No Yes No Yes derivatives Facet Model OFC image data optical flow & covariance

Results  A simple motion boundary detector  Error analysis: why bother  Accurate uncertainty is just as important  Uncertainty is anisotropic, varies from site to site LSRobust EIV + OFC correlation Simoncelli eqiv Our old Our new

Estimating Piecewise-Smooth Optical Flow with Global Matching and Graduated Optimization A Bayesian Approach

Problem Statement Assuming only brightness conservation and piecewise-smooth motion, find the optical flow to best describe the intensity change in three frames.

MAP/MRF Formulation  M aximum A P osterior Criterion:  Prior: M arkov R andom F ields  Neighborhood system: 8-connected, pairwise  Gibbs distribution equivalent  Likelihood: exponential  Global optimization problem LikelihoodPrior

Global Energy Design  Global energy  Matching error  Warping error  3-Frame Matching Without aliasing, all pixels in a frame are visible in the previous or the next frame.  Smoothness error

Error Function :  A distribution with fatter tails  An error norm less drastic than L2  Robust against outliers  Simultaneous segmentation  Smoothness outliers = motion discontinuities  Use Geman-McClure for redescending & normalization

Advantages  Compare with [Black-Anandan 96] Brightness constr Scales Contral para Proposed Matching-based Local adaptive Constant Black-Anandan 96 Gradient-based Rigid+tuning Tuning

Solution Technique  Largescale nonconvex problem  Statistical relaxation: slow  Graduated NonConvexity: LS initialization, scales control annealing  Our strategy  Fastest descent  3-step graduated optimization  Two sub-optimal formulations  Provide robust initial estimates  Gradually learn the local parameters

I: OFC-Based Local Regression  Lucas-Kanade constraint:  High-breakdown criterion (LMS/LTS)  Fast deterministic algorithm  Least-squares (LS) initial estimate  Propagate using an LMS-LS procedure  Adaptive outlier resistance  Faster, more stable accuracy  Estimate scales from inliers

II: OFC-Based Global Optimization  Given, find to minimize  Solution: Successive Over Relaxation  Adaptive step size  Initial has dominantly high-freq errors  Fast convergence

III: Minimizing the Global Energy  Given  Calculate  Fastest descent by propagation  Generate candidates:  Replace by if global energy drops

Hierarchical Process  Handle large motions (>2 pixels/frame)  Limitations:  Sub-sampling, warping and projection errors  May become the accuracy bottleneck  Step III directly works on the image data and is less sensitive to such errors

Overall Algorithm Image pyramid warp Calculate gradients Global matching Projection Level p Level p-1 Local OFC Global OFC

Advantages  Best of Everything  Local OFC  High-quality initial flow estimates  Robust local scale estimates  Global OFC  Improve flow smoothness  Global Matching  The optimal formulation  Correct errors caused by poor gradient quality and hierarchical process  Results: fast convergence, high accuracy, simultaneous motion boundary detection

Experiments

Quantitative Measures  True:, estimate:  Our error measure  Cdf curve of, Average:  Barron’s angular error [Barron 94]  Error magnitude:

TS: Translating Squares  Homebrew, ideal setting, test performance upper bound 64x64, 1pixel/frame Groundtruth (cropped), Our estimate looks the same

TS: Flow Estimate Plots LSBAS1 (S2 is close) S3 looks the same as the groundtruth.  S1, S2, S3: results from our Step I, II, III (final)

TS: Quantitative Comparison LS BA BA’ S S S3 1.15e e e-4 LS BA BA’ S1 S2 S3

TT: Translating Tree 150x150 (Barron 94) BA S BA S3

DT: Diverging Tree 150x150 (Barron 94) BA S BA S3

YOS: Yosemite Fly-Through BA S BA S3 316x252 (Barron, cloud excluded)

DTTT: Motion Discontinuities BA S BA S3 TT + DT + cookie-cutters

DTTT BA: Ours: vBoundary  u-, v-components as intensity images u

TAXI: Hamburg Taxi 256x190, (Barron 94) max speed 3.0 pix/frame LMSBA Error mapSmoothness errorOurs

Traffic 512x512 (Nagel) max speed: 6.0 pix/frame BA Error mapSmoothness errorOurs

Pepsi Can 201x201 (Black) Max speed: 2pix/frame BA Ours Smoothness error

FG: Flower Garden 360x240 (Black) Max speed: 7pix/frame BALMS Error mapSmoothness errorOurs

Conclusion and Discussion

Contributions (1/2)  Formulation  More complete design, minimal parameter tuning  Adaptive local scales  Strength of two error terms automatically balanced  3-frame matching to avoid visibility problems  Solution: 3-step optimization  Robust initial estimates and scales  Model parameter self-learning  Inherit merits of 3 methods and overcome shortcomings

Contributions (2/2)  Results  High accuracy  Fast convergence  By product: motion boundaries  Significance  Foundation for higher-level (model-based) visual motion analysis  Methodology applicable to other low-level vision problems

Future Work  Applications  Non-rigid motion estimation (medical, human)  Higher-level visual motion analysis  Motion segmentation, model selection  Occlusion reasoning  Layered / contour-based representation  Warping w/ discontinuities  Refinement  Bayesian belief propagation (BBP)  Better global optimization (BBP, Graph cuts etc)

A Motion-Based Bayesian Approach to Aerial Point-Target Detection and Tracking

The Problem  UAV See And Avoid System  Point target detection and tracking

The Algorithm  State variable: 2D position and velocity  Track initialization, termination and maintenance Motion-Based Bayesian Detection Kalman Filter Tracking Prediction Image sequence Measuremen & Covariance State & Covariance Prior

Motion-Based Bayesian Detection  Background motion:  Parametric optical flow  Object candidates:  Fitting outliers  Motion: 3x3 SSD + fitting  Independent motion  test  Bayesian mode  Augment candidate set  Validate/update motion F16502: one targetNo target F16503

Experiments  1800-frame data:  One target 1x2-3x3  Clutter (ground objects)  Camera wobbling  Low image quality  Results  Target in track since 2 nd frame  No false detection  Error: mean=0.88, sd=0.44 pixels  Show demo

Publications Patent Pending  "Document Image Matching and Annotation Lifting", with Marshall Bern and David Goldberg, US Patent Application (filed by Xerox Corp.), September Book Chapter  1. Ming Ye and Robert M. Haralick, "Image Flow Estimation Using Facet Model and Covariance Propagation", Vision Interface : Real World Applications of Computer Vision (Machine Perception and Artificial Intelligence Book Series Vol. 35), (Ed.) M. Cheriet and Y. H. Yang, World Scientific Pub Co., pp , Jan Submission/Preparation  2. Ming Ye, Robert M. Haralick and Linda G. Shapiro, '' Estimating Piecewise-Smooth Optical Flow with Global Matching and Graduated Optimization'', (submitted to) IEEE Trans. on Pattern Analysis and Machine Intelligence, Feb  3. “A motion-based Bayesian approach to aerial point target detection and tracking'' (in preparation). Conference Papers  4. Ming Ye, Robert M. Haralick and Linda G. Shapiro, " Estimating Optical flow Using a Global Matching Formulation and Graduated Optimization ", (accepted to) I6th International Conference on Image Processing,  5. Ming Ye and Robert M. Haralick, "Local Gradient Global Matching Piecewise-Smooth Optical Flow ", IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Vol. 2, pp ,  6. Ming Ye, Marshall Bern and David Goldberg, " Document Image Matching and Annotation Lifting", Proc. International Conference on Document Analysis and Recognition, pp ,  7. Ming Ye and Robert M. Haralick, "Two-Stage Robust Optical Flow Estimation", IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Vol. 2, pp ,  8. Ming Ye and Robert M. Haralick, "Optical Flow From A Least-Trimmed Squares Based Adaptive Approach", Proc. 15th International Conference on Pattern Recognition, Vol. 3, pp ,  9. S. Aksoy, M. Ye, M. Schauf, M. Song, Y. Wang, R. M. Haralick, J. R. Parker, J. Pivovarov, D. Royko, S. Sun and S. Farneback, "Algorithm Performance Contest", Proc. 15th International Conference on Pattern Recognition, Vol. 4, pp , ICPR'00  10. Ming Ye and Robert M. Haralick, "Image Flow Estimation Using Facet Model and Covariance Propagation", Proc. Vision Interface'98, pp , 1998.