1Jana Kosecka, CS 223b EM and RANSAC EM and RANSAC.

Slides:



Advertisements
Similar presentations
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Advertisements

Robot Vision SS 2005 Matthias Rüther 1 ROBOT VISION Lesson 3: Projective Geometry Matthias Rüther Slides courtesy of Marc Pollefeys Department of Computer.
Chapter 6 Feature-based alignment Advanced Computer Vision.
Photo by Carl Warner.
Multi-model Estimation with J-linkage Jeongkyun Lee.
Multiple View Geometry
Computer Vision Fitting Marc Pollefeys COMP 256 Some slides and illustrations from D. Forsyth, T. Darrel, A. Zisserman,...
Computer Vision Fitting Marc Pollefeys COMP 256 Some slides and illustrations from D. Forsyth, T. Darrel, A. Zisserman,...
Robust Estimator 學生 : 范育瑋 老師 : 王聖智. Outline Introduction LS-Least Squares LMS-Least Median Squares RANSAC- Random Sample Consequence MLESAC-Maximum likelihood.
Fitting. We’ve learned how to detect edges, corners, blobs. Now what? We would like to form a higher-level, more compact representation of the features.
Computing F Class 8 Read notes Section 4.2. C1C1 C2C2 l2l2  l1l1 e1e1 e2e2 Fundamental matrix (3x3 rank 2 matrix) 1.Computable from corresponding points.
Fitting: Concepts and recipes. Review: The Hough transform What are the steps of a Hough transform? What line parametrization is best for the Hough transform?
Geometric Optimization Problems in Computer Vision.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Triangulation and Multi-View Geometry Class 9 Read notes Section 3.3, , 5.1 (if interested, read Triggs’s paper on MVG using tensor notation, see.
Fitting a Model to Data Reading: 15.1,
CS664 Lecture #19: Layers, RANSAC, panoramas, epipolar geometry Some material taken from:  David Lowe, UBC  Jiri Matas, CMP Prague
Independent Motion Estimation Luv Kohli COMP Multiple View Geometry May 7, 2003.
Fitting. Choose a parametric object/some objects to represent a set of tokens Most interesting case is when criterion is not local –can’t tell whether.
Lecture 10: Robust fitting CS4670: Computer Vision Noah Snavely.
Random Sample Consensus: A Paradigm for Model Fitting with Application to Image Analysis and Automated Cartography Martin A. Fischler, Robert C. Bolles.
Fitting.
כמה מהתעשייה? מבנה הקורס השתנה Computer vision.
Fitting and Registration
Robust fitting Prof. Noah Snavely CS1114
Automatic Camera Calibration
CSE 185 Introduction to Computer Vision
Chapter 6 Feature-based alignment Advanced Computer Vision.
CSC 589 Lecture 22 Image Alignment and least square methods Bei Xiao American University April 13.
Computer Vision - Fitting and Alignment
Parallel implementation of RAndom SAmple Consensus (RANSAC) Adarsh Kowdle.
Computing the Fundamental matrix Peter Praženica FMFI UK May 5, 2008.
1 Robust estimation techniques in real-time robot vision Ezio Malis, Eric Marchand INRIA Sophia, projet ICARE INRIA Rennes, projet Lagadic.
Fitting and Registration Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/14/12.
IMAGE MOSAICING Summer School on Document Image Processing
Example: line fitting. n=2 Model fitting Measure distances.
CSCE 643 Computer Vision: Structure from Motion
Random Thoughts 2012 (COMP 066) Jan-Michael Frahm Jared Heinly.
Computing F. Content Background: Projective geometry (2D, 3D), Parameter estimation, Algorithm evaluation. Single View: Camera model, Calibration, Single.
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
Model Fitting Computer Vision CS 143, Brown James Hays 10/03/11 Slides from Silvio Savarese, Svetlana Lazebnik, and Derek Hoiem.
18 th August 2006 International Conference on Pattern Recognition 2006 Epipolar Geometry from Two Correspondences Michal Perďoch, Jiří Matas, Ondřej Chum.
RANSAC Robust model estimation from data contaminated by outliers Ondřej Chum.
EECS 274 Computer Vision Model Fitting. Fitting Choose a parametric object/some objects to represent a set of points Three main questions: –what object.
Geometric Transformations
1 Comparative Survey on Fundamental Matrix Estimation Computer Vision and Robotics Group Institute of Informatics and Applications University of Girona.
Computer Vision - Fitting and Alignment (Slides borrowed from various presentations)
Fitting image transformations Prof. Noah Snavely CS1114
CS 2750: Machine Learning Linear Regression Prof. Adriana Kovashka University of Pittsburgh February 10, 2016.
Robust Estimation Course web page: vision.cis.udel.edu/~cv April 23, 2003  Lecture 25.
Fitting.
EE 7730 Parametric Motion Estimation. Bahadir K. Gunturk2 Parametric (Global) Motion Affine Flow.
Grouping and Segmentation. Sometimes edge detectors find the boundary pretty well.
University of Ioannina
Line Fitting James Hayes.
A Brief Introduction of RANSAC
Lecture 7: Image alignment
Efficient Sampling Methods for Robust Estimation Problems
Homography From Wikipedia In the field of computer vision, any
Jiří Matas and Onřej Chum Centre for Machine Perception
A special case of calibration
Segmentation by fitting a model: robust estimators and RANSAC
Fitting CS 678 Spring 2018.
Introduction to Sensor Interpretation
Introduction to Sensor Interpretation
Calibration and homographies
CS5760: Computer Vision Lecture 9: RANSAC Noah Snavely
Parameter estimation class 6
CS5760: Computer Vision Lecture 9: RANSAC Noah Snavely
Lecture 11: Image alignment, Part 2
Presentation transcript:

1Jana Kosecka, CS 223b EM and RANSAC EM and RANSAC

Jana Kosecka, CS 223b 2 EM (Expectation Maximization) Brief tutorial by example: EM well known statistical technique for estimation of models from data Set up: Given set of datapoints which were generated by multiple models estimate the parameters of the models and assignment of the data points to the models Here: set of points in the plane with coordinates (x,y), two lines with parameters (a1,b1) and (a2,b2) 1.Guess the line parameters and estimate error of each point wrt to current model 2. Estimate Expectation (weight for each point)

Jana Kosecka, CS 223b 3 EM Maximization step: Traditional least squares: Here weighted least squares: Iterate until no change Problems: local minima, how many models ?

Jana Kosecka, CS 223b 4 EM - example

Jana Kosecka, CS 223b 5 Difficulty in motion estimation using wide- baseline matching

Jana Kosecka, CS 223b 6 Robust techniques is needed to solve the problem. Least square estimator can ’ t tolerate any outlier

Jana Kosecka, CS 223b 7 Robust estimators for dealing with outliers Use robust objective functions  The M-estimator and Least Median of Squares (LMedS) Estimator  Neither of them can tolerate more than 50% outliers The RANSAC (RANdom SAmple Consensus) algorithm  Proposed by Fischler and Bolles  The most popular technique used in Computer Vision community  It can tolerate more than 50% outliers

Jana Kosecka, CS 223b 8 The RANSAC algorithm Generate M (a predetermined number) model hypotheses, each of them is computed using a minimal subset of points Evaluate each hypothesis Compute its residuals with respect to all data points. Points with residuals less than some threshold are classified as its inliers The hypothesis with the maximal number of inliers is chosen. Then re-estimate the model parameter using its identified inliers.

Jana Kosecka, CS 223b 9 RANSAC – Practice It has been noticed that the theoretical estimates are wildly optimistic Usually the actual number of required samples is almost an magnitude more than the theoretical estimate. The theoretical number of samples needed to ensure 95% confidence that at least one outlier free sample could be obtained.

Jana Kosecka, CS 223b 10 More correspondences and robust matching Select set of putative correspondences Repeat 1. Select at random a set of 8 successful matches 2. Compute fundamental matrix 3. Determine the subset of inliers, compute distance to epipolar line 4. Count the number of points in the consensus set

Jana Kosecka, CS 223b 11 RANSAC in action Inliers Outliers

Jana Kosecka, CS 223b 12 Epipolar Geometry Epipolar geometry in two views Refined epipolar geometry using nonlinear estimation of F

Jana Kosecka, CS 223b 13 The difficulty in applying RANSAC Drawbacks of the standard RANSAC algorithm  Requires a large number of samples for data with many outliers (exactly the data that we are dealing with)  Needs to know the outlier ratio to estimate the number of samples  Requires a threshold for determining whether points are inliers Various improvements to standard approaches [Torr ’ 99, Murray ’ 02, Nister ’ 04, Matas ’ 05, Sutter ’ 05 and many others]  Still rely on finding outlier-free samples.

Jana Kosecka, CS 223b 14 Robust technique – result