More Single View Geometry

Similar documents
More Single View Geometry

More Single View Geometry

More Single View Geometry

Scene Modeling for a Single View

SINGLE VIEW GEOMETRY AND SOME APPLICATIONS

Single-view metrology

Scene Modeling for a Single View

Scene Modeling for a Single View

Scene Modeling for a Single View

CS4670/5670: Computer Vision Kavita Bala. Lec 19: Single- view modeling 2

Epipolar Geometry Prof. D. Stricker. With slides from A. Zisserman, S. Lazebnik, Seitz

Single-view 3D reasoning

Camera Geometry II. COS 429 Princeton University

Single-view 3D Reconstruction

3D Reconstruction from Scene Knowledge

Image warping and stitching

CHAPTER 3. Single-view Geometry. 1. Consequences of Projection

A simple method for interactive 3D reconstruction and camera calibration from a single view

1 Projective Geometry

Image warping and stitching

CEng Computational Vision

Perspective projection. A. Mantegna, Martyrdom of St. Christopher, c. 1450

Structure from Motion. Prof. Marco Marcon

Image Warping and Mosacing

But First: Multi-View Projective Geometry

Spatial track: range acquisition modeling

Homographies and RANSAC

Pinhole Camera Model 10/05/17. Computational Photography Derek Hoiem, University of Illinois

calibrated coordinates Linear transformation pixel coordinates

Camera Calibration. COS 429 Princeton University

Automatic Photo Popup

3D Geometric Computer Vision. Martin Jagersand Univ. Alberta Edmonton, Alberta, Canada

Projective geometry for Computer Vision

3D Geometry and Camera Calibration

Projective Geometry and Camera Models

Multiple View Geometry

Projective Geometry and Camera Models

Computer Vision Projective Geometry and Calibration. Pinhole cameras

CIS 580, Machine Perception, Spring 2016 Homework 2 Due: :59AM

N-Views (1) Homographies and Projection

CSCI 5980: Assignment #3 Homography

Passive 3D Photography

CS-9645 Introduction to Computer Vision Techniques Winter 2019

Automatic Image Alignment (feature-based)

Single View Geometry. Camera model & Orientation + Position estimation. What am I?

Image formation. Thanks to Peter Corke and Chuck Dyer for the use of some slides

Single View Metrology

Creation of LoD1 Buildings Using Volunteered Photographs and OpenStreetMap Vector Data

BIL Computer Vision Apr 16, 2014

Feature Matching and RANSAC

Image Rectification (Stereo) (New book: 7.2.1, old book: 11.1)

Visualization 2D-to-3D Photo Rendering for 3D Displays

Structure from motion

Computer Vision CS 776 Fall 2018

Uncalibrated 3D metric reconstruction and flattened texture acquisition from a single view of a surface of revolution

Today. Stereo (two view) reconstruction. Multiview geometry. Today. Multiview geometry. Computational Photography

Single View Metrology

CIS 580, Machine Perception, Spring 2015 Homework 1 Due: :59AM

There are many cues in monocular vision which suggests that vision in stereo starts very early from two similar 2D images. Lets see a few...

Computer Vision cmput 428/615

Single View Geometry. Camera model & Orientation + Position estimation. What am I?

Stereo. 11/02/2012 CS129, Brown James Hays. Slides by Kristen Grauman

CMPSCI 670: Computer Vision! Image formation. University of Massachusetts, Amherst September 8, 2014 Instructor: Subhransu Maji

Image warping and stitching

Review. Stephen J. Guy

Single View Geometry. Camera model & Orientation + Position estimation. Jianbo Shi. What am I? University of Pennsylvania GRASP

Homographies and Mosaics

Camera Model and Calibration

CS6670: Computer Vision

Capturing Light: Geometry of Image Formation

COSC579: Scene Geometry. Jeremy Bolton, PhD Assistant Teaching Professor

Acknowledgement: Images and many slides from presentations by Mark J. Kilgard and other Nvidia folks, from slides on developer.nvidia.

The Light Field and Image-Based Rendering

Rectification. Dr. Gerhard Roth

3D Polygon Rendering. Many applications use rendering of 3D polygons with direct illumination

Viewpoint Invariant Features from Single Images Using 3D Geometry

Local features: detection and description. Local invariant features

Stereo: Disparity and Matching

Introduction to Computer Vision

5LSH0 Advanced Topics Video & Analysis

Image Based Rendering. D.A. Forsyth, with slides from John Hart

Module 4F12: Computer Vision and Robotics Solutions to Examples Paper 2

Image Processing: Motivation Rendering from Images. Related Work. Overview. Image Morphing Examples. Overview. View and Image Morphing CS334

Multi-view stereo. Many slides adapted from S. Seitz

DD2423 Image Analysis and Computer Vision IMAGE FORMATION. Computational Vision and Active Perception School of Computer Science and Communication

Modeling Light. On Simulating the Visual Experience

Shadows in the graphics pipeline

Agenda. Perspective projection. Rotations. Camera models

Lecture 14: Computer Vision

Feature Transfer and Matching in Disparate Stereo Views through the use of Plane Homographies

Three-Dimensional Viewing Hearn & Baker Chapter 7

Computer Vision I - Appearance-based Matching and Projective Geometry

Modelling. Ruth Aylett

Local features and image matching. Prof. Xin Yang HUST

Texture April 17 th, 2018

A Desktop 3D Scanner Exploiting Rotation and Visual Rectification of Laser Profiles

Stereo Vision. MAN-522 Computer Vision

Computer Vision Project-1

Multiple View Geometry in Computer Vision

Tecnologie per la ricostruzione di modelli 3D da immagini. Marco Callieri ISTI-CNR, Pisa, Italy

Transcription:

More Single View Geometry 5-463: Rendering and Image rocessing Alexei Efros with a lot of slides stolen from Steve Seitz and Antonio Criminisi Quiz! Image B Image A Image C

How can we model this scene?. Find world coordinates (X,Y,Z) for a few points 2. Connect the points with planes to model geometry Texture map the planes Finding world coordinates (X,Y,Z). Define the ground plane (Z=0) 2. Compute points (X,Y,0) on that plane 3. Compute the heights Z of all other points 2

Measurements on planes 4 3 2 2 3 4 Approach: unwarp, then measure What kind of warp is this? Unwarp ground plane x p p Our old friend the homography Need 4 reference points with world coordinates p = (x,y) p = (X,Y,0) 3

Holbein s Ambassadors Can you see something weird? Finding world coordinates (X,Y,Z). Define the ground plane (Z=0) 2. Compute points (X,Y,0) on that plane 3. Compute the heights Z of all other points 4

Comparing heights erspective cues 5

erspective cues Comparing heights Vanishing oint 6

Measuring height 5 4 3 2 5.4 Camera height 3.3 2.8 Computing vanishing points (from lines) v q q 2 p 2 p Intersect p q with p 2 q 2 Least squares version Better to use more than two lines and compute the closest point of intersection See notes by Bob Collins for one good way of doing this: http://www-2.cs.cmu.edu/~ph/869/www/notes/vanishing.txt 7

Criminisi 99 Vanishing line Vertical vanishing point (at infinity) Vanishing point Vanishing point Measuring height without a ruler C Z ground plane Compute Z from image measurements Need more than vanishing points to do this 8

Measuring height v z r v x vanishing line (horizon) v t 0 H t R H v y b 0 b Measuring height v z r vanishing line (horizon) t 0 v x t 0 v v y m 0 t b b 0 What if the point on the ground plane b 0 is not known? Here the guy is standing on the box Use one side of the box to help find b 0 as shown above b 9

What if v z is not infinity? 0

The cross ratio A rojective Invariant Something that does not change under projective transformations (including perspective projection) 2 3 4 4 2 3 2 4 3 The cross-ratio of 4 collinear points Can permute the point ordering 4! = 24 different orders (but only 6 distinct values) This is the fundamental invariant of projective geometry = i i i i Z Y X 3 4 2 2 4 3 v Z r t b t v b r r v b t Z Z image cross ratio Measuring height B (bottom of object) T (top of object) R (reference point) ground plane H C T B R R B T scene cross ratio = Z Y X = y x p scene points represented as image points as R H = R H = R

Measuring height v z r v x vanishing line (horizon) v t 0 H t R H v y b 0 t b r b v v Z Z r t = image cross ratio H R b Measuring heights of people Here we go! 85.3 cm reference 2

Forensic Science: measuring heights of suspects Vanishing line Reference height Reference height Assessing geometric accuracy Are the heights of the 2 groups of people consistent with each other? Flagellation, iero della Francesca Estimated relative heights 3

Assessing geometric accuracy The Marriage of the Virgin, Raphael Estimated relative heights Criminisi et al., ICCV 99 Complete approach Load in an image Click on lines parallel to X axis repeat for Y, Z axes Compute vanishing points Specify 3D and 2D positions of 4 points on reference plane Compute homography H Specify a reference height Compute 3D positions of several points Create a 3D model from these points Extract texture maps Cut out objects Fill in holes Output a VRML model 4

Interactive silhouette cut-out Occlusion filling Geometric filling by exploiting: symmetries repeated regular patterns Texture synthesis repeated stochastic patterns 5

Occlusion Filling: texture synthesis. Non parametric texture synthesis to fill in removed areas. My son cannot walk but he can fly Complete 3D reconstruction Single View algorithms Single image lanar measurements Height measurements Automatic vanishing point/line computation Interactive segmentation Occlusion filling Object placement in 3D model 3D model 6

Reconstruction from single photographs Reconstruction of the garden Hut from a single image Virtual Museum DEMO 7