Feature Based Image Mosaicing

Slides:



Advertisements
Similar presentations
Zhengyou Zhang Vision Technology Group Microsoft Research
Advertisements

Recognising Panoramas M. Brown and D. Lowe, University of British Columbia.
The fundamental matrix F
Lecture 11: Two-view geometry
Summary of Friday A homography transforms one 3d plane to another 3d plane, under perspective projections. Those planes can be camera imaging planes or.
MASKS © 2004 Invitation to 3D vision Lecture 7 Step-by-Step Model Buidling.
Chapter 6 Feature-based alignment Advanced Computer Vision.
Two-view geometry.
Computer Vision Optical Flow
Computational Photography
Last Time Pinhole camera model, projection
1 Interest Operators Find “interesting” pieces of the image –e.g. corners, salient regions –Focus attention of algorithms –Speed up computation Many possible.
Announcements Quiz Thursday Quiz Review Tomorrow: AV Williams 4424, 4pm. Practice Quiz handout.
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Recognising Panoramas
Direct Methods for Visual Scene Reconstruction Paper by Richard Szeliski & Sing Bing Kang Presented by Kristin Branson November 7, 2002.
1 Interest Operator Lectures lecture topics –Interest points 1 (Linda) interest points, descriptors, Harris corners, correlation matching –Interest points.
Srikumar Ramalingam Department of Computer Science University of California, Santa Cruz 3D Reconstruction from a Pair of Images.
Lecture 21: Multiple-view geometry and structure from motion
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Lecture 11: Structure from motion CS6670: Computer Vision Noah Snavely.
The plan for today Camera matrix
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
Lecture 8: Image Alignment and RANSAC
Matching Compare region of image to region of image. –We talked about this for stereo. –Important for motion. Epipolar constraint unknown. But motion small.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2006 with a lot of slides stolen from Steve Seitz and.
CSE473/573 – Stereo Correspondence
1 Interest Operators Find “interesting” pieces of the image Multiple possible uses –image matching stereo pairs tracking in videos creating panoramas –object.
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30am – 11:50am Lecture #15.
Automatic Camera Calibration
Computer vision: models, learning and inference
Image Stitching Ali Farhadi CSE 455
Yuping Lin and Gérard Medioni.  Introduction  Method  Register UAV streams to a global reference image ▪ Consecutive UAV image registration ▪ UAV to.
Lecture 12 Stereo Reconstruction II Lecture 12 Stereo Reconstruction II Mata kuliah: T Computer Vision Tahun: 2010.
1 Interest Operators Harris Corner Detector: the first and most basic interest operator Kadir Entropy Detector and its use in object recognition SIFT interest.
Recognition and Matching based on local invariant features Cordelia Schmid INRIA, Grenoble David Lowe Univ. of British Columbia.
1 Robust estimation techniques in real-time robot vision Ezio Malis, Eric Marchand INRIA Sophia, projet ICARE INRIA Rennes, projet Lagadic.
A Local Adaptive Approach for Dense Stereo Matching in Architectural Scene Reconstruction C. Stentoumis 1, L. Grammatikopoulos 2, I. Kalisperakis 2, E.
1 ECE 738 Paper presentation Paper: Active Appearance Models Author: T.F.Cootes, G.J. Edwards and C.J.Taylor Student: Zhaozheng Yin Instructor: Dr. Yuhen.
IMAGE MOSAICING Summer School on Document Image Processing
Example: line fitting. n=2 Model fitting Measure distances.
Feature-Based Stereo Matching Using Graph Cuts Gorkem Saygili, Laurens van der Maaten, Emile A. Hendriks ASCI Conference 2011.
Computer Vision, Robert Pless
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
Announcements Project 3 due Thursday by 11:59pm Demos on Friday; signup on CMS Prelim to be distributed in class Friday, due Wednesday by the beginning.
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
Raquel A. Romano 1 Scientific Computing Seminar May 12, 2004 Projective Geometry for Computer Vision Projective Geometry for Computer Vision Raquel A.
Two-view geometry. Epipolar Plane – plane containing baseline (1D family) Epipoles = intersections of baseline with image planes = projections of the.
Geometric Transformations
Lecture 9 Feature Extraction and Motion Estimation Slides by: Michael Black Clark F. Olson Jean Ponce.
3D Reconstruction Using Image Sequence
Robust Estimation Course web page: vision.cis.udel.edu/~cv April 23, 2003  Lecture 25.
Model Refinement from Planar Parallax Anthony DickRoberto Cipolla Department of Engineering University of Cambridge.
EE 7730 Parametric Motion Estimation. Bahadir K. Gunturk2 Parametric (Global) Motion Affine Flow.
Correspondence and Stereopsis. Introduction Disparity – Informally: difference between two pictures – Allows us to gain a strong sense of depth Stereopsis.
Invariant Local Features Image content is transformed into local feature coordinates that are invariant to translation, rotation, scale, and other imaging.
CS 4501: Introduction to Computer Vision Sparse Feature Detectors: Harris Corner, Difference of Gaussian Connelly Barnes Slides from Jason Lawrence, Fei.
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
COSC579: Image Align, Mosaic, Stitch
Homography From Wikipedia In the field of computer vision, any
3D Photography: Epipolar geometry
What have we learned so far?
CSE 455 – Guest Lectures 3 lectures Contact Interest points 1
Image Stitching Computer Vision CS 678
Multi-view geometry.
Recognition and Matching based on local invariant features
Image Stitching Linda Shapiro ECE/CSE 576.
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

Feature Based Image Mosaicing Satya Prakash Mallick

Introduction Mosaicing methods can be classified broadly into Direct Method: Uses information from all pixels. Iteratively updates an estimate of homography so that a particular cost function is minimized. Sometimes Phase-Correlation is used to estimate the a few parameters of the homography. Feature Based Method: A few corresponding points are selected on the two images and homography is estimated using these reliable points only.

My Choice? Feature Based Method: Because They are in general more accurate. Can Handle large disparities. Convergence: Direct methods, may not converge to the optimal solution is the presence of local minima. For reliable performance direct methods rely on feature based initialization.

Problems in Image Mosaicing Global Alignment: essentially means recovery of underlying homography. Local Alignment: Correct the local mismatches left after global alignment. Image Blending: a decision has to be made as to what color the overlapping region should take. Image Warping: After calculation of homography, a decision has to be made as to how to warp one image w.r.t the other.

Problems in Image Mosaicing Automatic selection of images to blend. Auto-exposure compensation Camera error compensation. I am looking at the first four problems.

The Algorithm ( Overview ) Detect corners in both the images Solve for correspondence. Use RANSAC to estimate homography. Refine the estimate of homography using a non-linear method. Make a decision on how to blend the images. Warp the one image with respect to the other taking the blending decision into consideration

Solving for correspondences Corners were detected in both the images using Harris corner detector. Correspondences are solved using a version of Zhang’s relaxation algorithm: Matching Through Correlation: Disambiguating Matches Through Relaxation:

Solving for correspondences Matching through correlation:

Solving for correspondences Disambiguating matches through relaxation: Show correspondence results

Estimation of homography RANSAC was implemented for estimating the homography relating the two scenes. Results show a comparison between using RANSAC and Least squares. The error function being minimized is:

Image Blending Weighted Image Blending:

Image Blending Lightest Path Cut: The idea is to take the difference of the images in the overlapping region and cut the region along that curve of minimum intensity. The implementation was done using dynamic programming. Note: Optimal implementation of the algorithm is non-trivial and can be a good problem to look into.

Results of Blending Try to find the curve along which the image overlap was cut! ALL THE BEST!

Homography Refinement In the Weighted image blending example we saw, there was some blurring at the edges of the overlap. The obvious question is: Are we sure that the homography estimate is good enough or can it be further refined?

Homography Refinement The Homography was refined using Newton’s non-linear optimization technique. It’s “safe” to use Newton’s method because we are already close to the solution. The vector X shown is made of inliers got using RANSAC

Homography Refinement Results: The blurring near the edge of overlapping region is almost gone.

Limitations and Mistakes My biggest mistake: I assumed that, to make a mosaic with many images, it is sufficient to keep on adding images to the main mosaic. The mosaic doesn’t do well, if we try to blend more than four images. So there should have been a global refinement on different homographies

Conclusions Lessons to be learnt: Non-Linear optimization of homography is not an overkill. After RANSAC, it is usually very fast ( Most of the time, my results converged after 2-3 iterations only) It’s a good idea to blend images along the lightest curve along the difference image. However, the image quilting algorithm cannot be directly used in that. To blend a large number of images, there is “something” more to be done than finding pair-wise homography of images.

Conclusion Image warping should always be done backward with bilinear interpolation.

References [Hartley] Hartley, R. & Zisserman, A. (2000) Multiple View Geometry{Cambridge University Press, UK. [Shum] Shum, H. & Szeliski, R. (1998) Construction and refinement of panoramic mosaics with global and local alignment. IEEE Int'l Conf. Computer Vision, pp. 953-958. [Faugeras] Zoghlami, I. & Faugeras,O. & Deriche,R. (1997) Using geometric corners to build a 2d mosaic from as set of images.Computer Vision and Pattern Recognition, pp 421-425. [Zhang] Zhang, Z.& Deriche, R. & Faugeras, O & Luong, Q. A robust technique for matching two uncalibrated images through the recovery of the unknown epipolar geometry (1995) Artificial Intelligence Journal, 78:87-119, October 1995 [Harris] Harris, C. & Stephens, M. A combined corner and edge detector.(1998) Proc. of 4th Alvey Vision Conf.,147-151. [Szeliski] Szeliski, R. Image Mosaicing for Tele-Reality Applications.(1994). Digital Equipment Corporation, Cambridge, USA. [Davis] Davis, J. Mosaics of scenes with moving objects.(1998).Computer Vision and Pattern Recognition [Capel] Capel,D & Zisserman,A. Automated mosaicing with super-resolutionzoom.(1998).Computer Vision and Pattern Recognition

THANKS !