Leow Wee Kheng CS4243 Computer Vision and Pattern Recognition. Robust Methods. CS4243 Robust Methods 1

Similar documents
Model Fitting, RANSAC. Jana Kosecka

Fitting. Fitting. Slides S. Lazebnik Harris Corners Pkwy, Charlotte, NC

10/03/11. Model Fitting. Computer Vision CS 143, Brown. James Hays. Slides from Silvio Savarese, Svetlana Lazebnik, and Derek Hoiem

Hough Transform and RANSAC

RANSAC RANdom SAmple Consensus

Fitting (LMedS, RANSAC)

Nonparametric estimation of multiple structures with outliers

CS 664 Image Matching and Robust Fitting. Daniel Huttenlocher

Nonparametric estimation of multiple structures with outliers

RANSAC and some HOUGH transform

Uncertainties: Representation and Propagation & Line Extraction from Range data

Multi-stable Perception. Necker Cube

Unsupervised Camera Motion Estimation and Moving Object Detection in Videos

Perception IV: Place Recognition, Line Extraction

Multiple View Geometry. Frank Dellaert

Prof. Noah Snavely CS Administrivia. A4 due on Friday (please sign up for demo slots)

Photo by Carl Warner

Vision par ordinateur

Two Efficient Algorithms for Outlier Removal in Multi-view Geometry Using L Norm

EECS 442 Computer vision. Fitting methods

Stereo and Epipolar geometry

Manhattan-World Assumption for As-built Modeling Industrial Plant

INFO0948 Fitting and Shape Matching

RANSAC: RANdom Sampling And Consensus

Generalized RANSAC framework for relaxed correspondence problems

Estimate Geometric Transformation

Instance-level recognition part 2

Observations. Basic iteration Line estimated from 2 inliers

Automatic estimation of the inlier threshold in robust multiple structures fitting.

Instance-level recognition II.

ROBUST LINE-BASED CALIBRATION OF LENS DISTORTION FROM A SINGLE VIEW

Evaluating Error Functions for Robust Active Appearance Models

Lecture 9 Fitting and Matching

Fitting. Instructor: Jason Corso (jjcorso)! web.eecs.umich.edu/~jjcorso/t/598f14!! EECS Fall 2014! Foundations of Computer Vision!

CS664 Lecture #16: Image registration, robust statistics, motion

Robust Regression. Robust Data Mining Techniques By Boonyakorn Jantaranuson

Clustering in Registration of 3D Point Clouds

Instance-level recognition

Homographies and RANSAC

Perception. Autonomous Mobile Robots. Sensors Vision Uncertainties, Line extraction from laser scans. Autonomous Systems Lab. Zürich.

Model Fitting. Introduction to Computer Vision CSE 152 Lecture 11

the distinguished features causes the predicted position to be in error. As the error grows, the testing step becomes more likely to fail. To deal wit

Lecture 8 Fitting and Matching

Computer Vision and Image Understanding 78, 1 7 (2000) doi: /cviu , available online at on INTRODUCTION

Automatic Image Alignment (feature-based)

A NEW FEATURE BASED IMAGE REGISTRATION ALGORITHM INTRODUCTION

A Performance Comparison of Piecewise Linear Estimation Methods

Object Reconstruction

Lecture: RANSAC and feature detectors

An Evaluation of the Performance of RANSAC Algorithms for Stereo Camera Calibration

Week 2: Two-View Geometry. Padua Summer 08 Frank Dellaert

CS 558: Computer Vision 4 th Set of Notes

Instance-level recognition

Lecture 9: inverting the imaging process calibration, recovery of world position, mosaicing

Random Sample Consensus (RANSAC) Algorithm, A Generic Implementation Release 1.0

Robust Adaptive Segmentation of Range Images

A Summary of Projective Geometry

DEVELOPMENT OF A ROBUST IMAGE MOSAICKING METHOD FOR SMALL UNMANNED AERIAL VEHICLE

Computer Vision Grouping and Segmentation. Grouping and Segmentation

Recursive RANSAC: Multiple Signal Estimation with Outliers

MDPE: A Very Robust Estimator for Model Fitting and Range Image Segmentation

Computer Vision I. Announcements. Random Dot Stereograms. Stereo III. CSE252A Lecture 16

Projection Based M-Estimators

3D Motion from Image Derivatives Using the Least Trimmed Square Regression

An Improved Evolutionary Algorithm for Fundamental Matrix Estimation

Using symmetry in robust model fitting

UPEM Master 2 Informatique SIS. Digital Geometry. Topic 3: Discrete straight lines: definition and recognition. Yukiko Kenmochi.

MAC-RANSAC: a robust algorithm for the recognition of multiple objects

Feature Matching and Robust Fitting

STUDY OF AUTOMATIC IMAGE RECTIFICATION AND REGISTRATION OF SCANNED HISTORICAL AERIAL PHOTOGRAPHS

NIH Public Access Author Manuscript IEEE Trans Pattern Anal Mach Intell. Author manuscript; available in PMC 2010 April 21.

Feature Detectors and Descriptors: Corners, Lines, etc.

Textured Mesh Surface Reconstruction of Large Buildings with Multi-View Stereo

Final Exam Assigned: 11/21/02 Due: 12/05/02 at 2:30pm

A General Method for Geometric Feature Matching and Model Extraction

Geometric Consistency Checking for Local-Descriptor Based Document Retrieval

CSE 252B: Computer Vision II

Image correspondences and structure from motion

OUTLIERS DETECTION BY RANSAC ALGORITHM IN THE TRANSFORMATION OF 2D COORDINATE FRAMES

Face Alignment Robust to Occlusion

3D Environment Reconstruction

Performance Evaluation of RANSAC Family

Object recognition of Glagolitic characters using Sift and Ransac

Ransac Based Out-of-Core Point-Cloud Shape Detection for City-Modeling

Robust Moving Least-squares Fitting with Sharp Features

A Method of Annotation Extraction from Paper Documents Using Alignment Based on Local Arrangements of Feature Points

Package robustreg. R topics documented: April 27, Version Date Title Robust Regression Functions

Fitting. Choose a parametric object/some objects to represent a set of tokens Most interesting case is when criterion is not local

DETECTION AND ROBUST ESTIMATION OF CYLINDER FEATURES IN POINT CLOUDS INTRODUCTION

Visual Odometry for Non-Overlapping Views Using Second-Order Cone Programming

Fitting D.A. Forsyth, CS 543

Smooth Simultaneous Structural Graph Matching and Point-Set Registration

CS 231A Computer Vision (Winter 2018) Problem Set 3

arxiv: v1 [cs.cv] 28 Sep 2018

Purposive Sample Consensus: A Paradigm for Model Fitting with Application to Visual Odometry

Optimal Relative Pose with Unknown Correspondences

3D Computer Vision. Structure from Motion. Prof. Didier Stricker

CS 231A Computer Vision (Winter 2014) Problem Set 3

Homography estimation

AUTOMATIC MATCHING AND GEO-REFERENCING OF HISTORICAL AERIAL IMAGES

Transcription:

Leow Wee Kheng CS4243 Computer Vision and Pattern Recognition Robust Methods CS4243 Robust Methods 1

Consider this data set Fitting a line to blue points give blue line. Outliers cause fitting error (red line). 25 y 20 15 10 5 outliers 0 0 2 4 6 8 10 x CS4243 Robust Methods 2

Consider this data set Fitting a line to blue points give blue line. Single outlier can cause serious error! 20 15 Need robust methods! y 10 5 0 0 1 2 3 4 5 6 x outlier CS4243 Robust Methods 3

Robust Methods Two basic approaches: Make error functions immune to outliers. Detect and discard outliers. CS4243 Robust Methods 4

Exercise Consider this set of number: 1, 2, 3, 4, 5, 6, 7 What is the mean? What is the median? Now, insert an outlier 1, 2, 3, 4, 5, 6, 7,14 What is the mean, error of mean? What is the median, error of median? Which one robust, mean or median? CS4243 Robust Methods 5

Robust Statistics Mean square error is not robust E = 1 N ( f ( x ) ) 2 Median square error is robust i i y i E = median x i ( f ( ) y ) 2 i i Can potentially tolerate up to N / 2 outliers! CS4243 Robust Methods 6

Robust Error Functions Not adversely affected by outliers. Consider least square fitting Want to find parameters a that minimise E. Error is also called residue. Error function can be rewritten as Square of r increases very fast with r. Not robust. CS4243 Robust Methods 7

Robust functions ρ(r) increase slowly with r. Properties of ρ(r): Global minimum: ρ(r) = 0 when r = 0 Positive: ρ(r) 0 Symmetric: ρ(r) = ρ( r) Monotonically increasing: ρ(r) ρ(s) iff r s CS4243 Robust Methods 8

Robust Error Functions Beaton and Tukey fixed for large r Cauchy increases slowly with r CS4243 Robust Methods 9

Robust Error Functions Huber Forsyth increases linearly with r almost fixed for large r CS4243 Robust Methods 10

Robust Error Functions CS4243 Robust Methods 11

Random Sample Consensus RANSAC: Random Sample Consensus Robust approach for solving many problems. Try to identify outliers. Basic ideas RANSAC wraps over target algorithm. Start with small random subset of data points. Run target algorithm on subset. Iteratively add consistent data points to subset. CS4243 Robust Methods 12

Target algorithm has two things Model M: function parameters a, etc. Error measure E: need not be robust Example: least square fit model error Example: affine transformation error model CS4243 Robust Methods 13

RANSAC Given N data points. Initialise best model M*, error E(M*). Repeat for k iterations: 1. Randomly select subset S of m < N data points. 2. Run target algorithm on S to determine M. 3. For each data point x not in S If error of M on x < tolerance τ, add x to S. 4. If S > threshold Γ Use S to determine new M. If E(M) < E(M*), update M* M, S* S. consistent set CS4243 Robust Methods 14

RANSAC has 3 parameters Error tolerance τ Dependent on the expected error of fitting inliers. Size threshold Γ Dependent on the model. Should be large enough to have enough inliers. Number of iterations k Should be large enough to get good model. Can result in large execution time. CS4243 Robust Methods 15

Minimum Subset Random Sampling Use robust error function and random sampling. Basic algorithm 1. Initialise best model M*, error E(M*). 2. Randomly select k subsets of m data points. 3. For each subset S of m data points Determine model M that best fits data points. Compute error E of applying M on all N data points. If E(M) < E(M*), update M* M, S* S. Algo complexity: O(kN) must be immune to outliers CS4243 Robust Methods 16

How to be immune to outliers? Use robust statistics Median (r 1,, r N ) Use error function with fixed value for larger r Beaton and Tukey fixed for large r CS4243 Robust Methods 17

Use truncated error function ρ( r) = e( r) if r < a e( a) otherwise e(r) is any error function ρ(r) is fixed for large r CS4243 Robust Methods 18

Selection of k Max value of k is very large: N C M In practice, smaller value of k is possible. Analysis ε = prob. randomly selected data point is inlier ε = fraction of inliers in data set ε m = prob. all m data points in subset are inliers s = prob. at least 1 subset has only inliers Then, CS4243 Robust Methods 19

s = 0.5 s = 0.95 ε = 0.75 k1 k2 ε = 0.5 k3 k4 small k CS4243 Robust Methods 20

Example Fit ellipse to data points [RL93] CS4243 Robust Methods 21

Summary Outliers can adversely affect algorithm s error. Robust error functions are immune to outliers. RANSAC Robust method for finding consistent set of inliers. Minimum subset random sampling Use robust error function and random sampling to speed out random sampling. CS4243 Robust Methods 22

Further Reading Robust parameter estimation [Ste99], [MMRK91] RANSAC [FB81], [FP03] Section 15.5, 15.6. Minimal Subset Random Sampling [RL93] CS4243 Robust Methods 23

References M. A. Fischler and R. C. Bolles. Random sample consensus: A paradigm for model fitting with apphcatlons to image analysis and automated cartography. Communications of ACM, 24(6):381 395, 1981. D. A. Forsyth and J. Ponce. Computer Vision: A Modern Approach. Pearson Education, 2003. P. Meer, D. Mintz, A. Rosenfeld, and D. Kim. Robust regression methods in computer vision: A review. Int. Journal of Computer Vision, 6(1):59 70, 1991. G. Roth and M. D. Levine. Extracting geometric primitives. CVGIP: Image Understanding, 58(1):1 22, 1993. C. V. Stewart. Robust parameter estimation in computer vision. SIAM Review, 41(3):513 537, 1999. CS4243 Robust Methods 24