Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.

Slides:



Advertisements
Similar presentations
Lecture 11: Two-view geometry
Advertisements

MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Two-view geometry.
3D Computer Vision and Video Computing 3D Vision Topic 3 of Part II Stereo Vision CSc I6716 Spring 2011 Zhigang Zhu, City College of New York
Structure from motion.
Stereo and Epipolar geometry
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
Structure from motion. Multiple-view geometry questions Scene geometry (structure): Given 2D point matches in two or more images, where are the corresponding.
Uncalibrated Geometry & Stratification Sastry and Yang
Multi-view stereo Many slides adapted from S. Seitz.
Computing motion between images
Introduction to Computer Vision 3D Vision Topic 9 Stereo Vision (I) CMPSCI 591A/691A CMPSCI 570/670.
Stereopsis Mark Twain at Pool Table", no date, UCR Museum of Photography.
CS 223b 1 More on stereo and correspondence. CS 223b 2 =?f g Mostpopular For each window, match to closest window on epipolar line in other image. (slides.
3D Computer Vision and Video Computing 3D Vision Topic 4 of Part II Stereo Vision CSc I6716 Spring 2008 Zhigang Zhu, City College of New York
3D Computer Vision and Video Computing 3D Vision Lecture 15 Stereo Vision (II) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
3D Computer Vision and Video Computing 3D Vision Lecture 14 Stereo Vision (I) CSC 59866CD Fall 2004 Zhigang Zhu, NAC 8/203A
May 2004Stereo1 Introduction to Computer Vision CS / ECE 181B Tuesday, May 11, 2004  Multiple view geometry and stereo  Handout #6 available (check with.
CSE473/573 – Stereo Correspondence
Announcements PS3 Due Thursday PS4 Available today, due 4/17. Quiz 2 4/24.
Stereo Sebastian Thrun, Gary Bradski, Daniel Russakoff Stanford CS223B Computer Vision (with slides by James Rehg and.
Stereo matching Class 10 Read Chapter 7 Tsukuba dataset.
Stereo vision A brief introduction Máté István MSc Informatics.
3-D Scene u u’u’ Study the mathematical relations between corresponding image points. “Corresponding” means originated from the same 3D point. Objective.
CSE 6367 Computer Vision Stereo Reconstruction Camera Coordinate Transformations “Everything should be made as simple as possible, but not simpler.” Albert.
Multi-view geometry. Multi-view geometry problems Structure: Given projections of the same 3D point in two or more images, compute the 3D coordinates.
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30am – 11:50am Lecture #15.
Computer vision: models, learning and inference
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Structure from images. Calibration Review: Pinhole Camera.
Final Exam Review CS485/685 Computer Vision Prof. Bebis.
Multi-view geometry.
Lecture 12 Stereo Reconstruction II Lecture 12 Stereo Reconstruction II Mata kuliah: T Computer Vision Tahun: 2010.
Shape from Stereo  Disparity between two images  Photogrammetry  Finding Corresponding Points Correlation based methods Feature based methods.
Computer Vision Lecture #2 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
CS654: Digital Image Analysis Lecture 8: Stereo Imaging.
CSCE 643 Computer Vision: Structure from Motion
Multiview Geometry and Stereopsis. Inputs: two images of a scene (taken from 2 viewpoints). Output: Depth map. Inputs: multiple images of a scene. Output:
Binocular Stereo #1. Topics 1. Principle 2. binocular stereo basic equation 3. epipolar line 4. features and strategies for matching.
1 Formation et Analyse d’Images Session 7 Daniela Hall 25 November 2004.
Computer Vision, Robert Pless
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
EECS 274 Computer Vision Stereopsis.
Computer Vision Stereo Vision. Bahadir K. Gunturk2 Pinhole Camera.
Affine Structure from Motion
Bahadir K. Gunturk1 Phase Correlation Bahadir K. Gunturk2 Phase Correlation Take cross correlation Take inverse Fourier transform  Location of the impulse.
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
Geometric Transformations
EECS 274 Computer Vision Affine Structure from Motion.
stereo Outline : Remind class of 3d geometry Introduction
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
3D Reconstruction Using Image Sequence
Correspondence and Stereopsis Original notes by W. Correa. Figures from [Forsyth & Ponce] and [Trucco & Verri]
John Morris Stereo Vision (continued) Iolanthe returns to the Waitemata Harbour.
Geometry Reconstruction March 22, Fundamental Matrix An important problem: Determine the epipolar geometry. That is, the correspondence between.
John Morris These slides were adapted from a set of lectures written by Mircea Nicolescu, University of Nevada at Reno Stereo Vision Iolanthe in the Bay.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Correspondence and Stereopsis. Introduction Disparity – Informally: difference between two pictures – Allows us to gain a strong sense of depth Stereopsis.
제 5 장 스테레오.
3D Vision Topic 3 of Part II Stereo Vision CSc I6716 Fall 2009
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
Topic 7 of Part 2 Stereo Vision (II)
3D Vision Topic 4 of Part II Stereo Vision CSc I6716 Fall 2005
Computer Vision Stereo Vision.
Two-view geometry.
Two-view geometry.
Chapter 11: Stereopsis Stereopsis: Fusing the pictures taken by two cameras and exploiting the difference (or disparity) between them to obtain the depth.
Presentation transcript:

Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical and Computer Engineering Department, University of Louisville, Louisville, KY, USA ECE619/645 – Spring 2011

Correspondence problem Three Questions –What to match? Features: point, line, area, structure? –Where to search correspondence? Epipolar line? –How to measure similarity? Depends on features Approaches –Correlation-based approach –Feature-based approach Advanced Topics –Image filtering to handle illumination changes –Adaptive windows to deal with multiple disparities –Local warping to account for perspective distortion –Sub-pixel matching to improve accuracy –Self-consistency to reduce false matches –Multi-baseline stereo

Correlation Approach For Each point (x l, y l ) in the left image, define a window centered at the point (x l, y l ) LEFT IMAGE

Correlation Approach … search its corresponding point within a search region in the right image (x l, y l ) RIGHT IMAGE

Correlation Approach … the disparity (dx, dy) is the displacement when the correlation is maximum (x l, y l )dx(x r, y r ) RIGHT IMAGE

Correlation Approach Elements to be matched –Image window of fixed size centered at each pixel in the left image Similarity criterion –A measure of similarity between windows in the two images –The corresponding element is given by window that maximizes the similarity criterion within a search region Search regions –Theoretically, search region can be reduced to a 1-D segment, along the epipolar line, and within the disparity range. –In practice, search a slightly larger region due to errors in calibration

Correlation Approach Equations Disparity Similarity criterion –Cross-Correlation –Sum of Square Difference (SSD) –Sum of Absolute Difference(SAD)

Correlation Approach PROS –Easy to implement –Produces dense disparity map –Maybe slow CONS –Needs textured images to work well –Inadequate for matching image pairs from very different viewpoints due to illumination changes –Window may cover points with quite different disparities –Inaccurate disparities on the occluding boundaries

Correlation Approach A Stereo Pair of UMass Campus – texture, boundaries and occlusion

Feature-based Approach Features –Edge points –Lines (length, orientation, average contrast) –Corners Matching algorithm –Extract features in the stereo pair –Define similarity measure –Search correspondences using similarity measure and the epipolar geometry

Feature-based Approach For each feature in the left image… LEFT IMAGE corner line structure

Feature-based Approach Search in the right image… the disparity (dx, dy) is the displacement when the similarity measure is maximum RIGHT IMAGE corner line structure

Advanced Topics Mainly used in correlation-based approach, but can be applied to feature-based match Image filtering to handle illumination changes –Image equalization To make two images more similar in illumination –Laplacian filtering (2 nd order derivative) Use derivative rather than intensity (or original color)

Advanced Topics Adaptive windows to deal with multiple disparities –Adaptive Window Approach (Kanade and Okutomi) statistically adaptive technique which selects at each pixel the window size that minimizes the uncertainty in disparity estimates A Stereo Matching Algorithm with an Adaptive Window: Theory and Experiment, T. Kanade and M. Okutomi. Proc IEEE International Conference on Robotics and Automation, Vol. 2, April, 1991, pp A Stereo Matching Algorithm with an Adaptive Window: Theory and ExperimentT. Kanade –Multiple window algorithm (Fusiello, et al) Use 9 windows instead of just one to compute the SSD measure The point with the smallest SSD error amongst the 9 windows and various search locations is chosen as the best estimate for the given points A Fusiello, V. Roberto and E. Trucco, Efficient stereo with multiple windowing, IEEE CVPR pp: , 1997

Advanced Topics Sub-pixel matching to improve accuracy –Find the peak in the correlation curves Self-consistency to reduce false matches esp. for occlusions –Check the consistency of matches from L to R and from R to L Multiple Resolution Approach –From coarse to fine for efficiency in searching correspondences Local warping to account for perspective distortion –Warp from one view to the other for a small patch given an initial estimation of the (planar) surface normal Multi-baseline Stereo –Improves both correspondences and 3D estimation by using more than two cameras (images)

Reconstruction up to a Scale Factor (Remember) Assumption and Problem Statement –Under the assumption that only intrinsic parameters and more than 8 point correspondences are given –Compute the 3-D location from their projections, pl and pr, as well as the extrinsic parameters Solution –Compute the essential matrix E from at least 8 correspondences –Estimate T (up to a scale and a sign) from E (=RS) using the orthogonal constraint of R, and then R End up with four different estimates of the pair (T, R) –Reconstruct the depth of each point, and pick up the correct sign of R and T. –Results: reconstructed 3D points (up to a common scale); –The scale can be determined if distance of two points (in space) are known

Reconstruction up to a Projective Transformation Assumption and Problem Statement –Under the assumption that only n (>=8) point correspondences are given –Compute the 3-D location from their projections, p l and p r Solution –Compute the Fundamental matrix F from at least 8 correspondences, and the two epipoles –Determine the projection matrices Select five points ( from correspondence pairs) as the projective basis –Compute the projective reconstruction Unique up to the unknown projective transformation fixed by the choice of the five points (* not required for this course; needs advanced knowledge of projective geometry )