Humanoid Robotics. Projective Geometry, Homogeneous Coordinates. (brief introduction) Maren Bennewitz

Similar documents
Robot Mapping. A Short Introduction to Homogeneous Coordinates. Gian Diego Tipaldi, Wolfram Burgard

Math background. 2D Geometric Transformations. Implicit representations. Explicit representations. Read: CS 4620 Lecture 6

Agenda. Rotations. Camera models. Camera calibration. Homographies

Vector Algebra Transformations. Lecture 4

Structure from Motion. Introduction to Computer Vision CSE 152 Lecture 10

Agenda. Rotations. Camera calibration. Homography. Ransac

Assignment 2 : Projection and Homography

Vision Review: Image Formation. Course web page:

Geometric Transformations

To Do. Outline. Translation. Homogeneous Coordinates. Foundations of Computer Graphics. Representation of Points (4-Vectors) Start doing HW 1

Projective geometry for Computer Vision

Introduction to Computer Vision

Humanoid Robotics. Least Squares. Maren Bennewitz

Geometric transformations in 3D and coordinate frames. Computer Graphics CSE 167 Lecture 3

Homogeneous Coordinates. Lecture18: Camera Models. Representation of Line and Point in 2D. Cross Product. Overall scaling is NOT important.

Pin Hole Cameras & Warp Functions

CSE 252B: Computer Vision II

2D/3D Geometric Transformations and Scene Graphs

Augmented Reality II - Camera Calibration - Gudrun Klinker May 11, 2004

Camera model and multiple view geometry

Visual Recognition: Image Formation

Computer Graphics. Geometric Transformations

Computer Graphics. Geometric Transformations

Unit 3 Multiple View Geometry

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

Geometric camera models and calibration

Two-view geometry Computer Vision Spring 2018, Lecture 10

Pin Hole Cameras & Warp Functions

Robot Mapping. Least Squares Approach to SLAM. Cyrill Stachniss

Graphbased. Kalman filter. Particle filter. Three Main SLAM Paradigms. Robot Mapping. Least Squares Approach to SLAM. Least Squares in General

N-Views (1) Homographies and Projection

Today. Today. Introduction. Matrices. Matrices. Computergrafik. Transformations & matrices Introduction Matrices

An idea which can be used once is a trick. If it can be used more than once it becomes a method

Geometry: Unit 1: Transformations. Chapter 14 (In Textbook)

Planar homographies. Can we reconstruct another view from one image? vgg/projects/singleview/

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

Agenda. Perspective projection. Rotations. Camera models

3D Computer Vision II. Reminder Projective Geometry, Transformations

Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)

CS354 Computer Graphics Ray Tracing. Qixing Huang Januray 24th 2017

CT5510: Computer Graphics. Transformation BOCHANG MOON

Instance-level recognition I. - Camera geometry and image alignment

Rigid Body Motion and Image Formation. Jana Kosecka, CS 482

Computer Vision I - Algorithms and Applications: Multi-View 3D reconstruction

METRIC PLANE RECTIFICATION USING SYMMETRIC VANISHING POINTS

Lecture 1.3 Basic projective geometry. Thomas Opsahl

XPM 2D Transformations Week 2, Lecture 3

Rectification and Distortion Correction

Autonomous Navigation for Flying Robots

Graphics and Interaction Transformation geometry and homogeneous coordinates

COMP30019 Graphics and Interaction Transformation geometry and homogeneous coordinates

XPM 2D Transformations Week 2, Lecture 3

CS6670: Computer Vision

Camera Models and Image Formation. Srikumar Ramalingam School of Computing University of Utah

Camera Model and Calibration

Camera Models and Image Formation. Srikumar Ramalingam School of Computing University of Utah

calibrated coordinates Linear transformation pixel coordinates

COS429: COMPUTER VISON CAMERAS AND PROJECTIONS (2 lectures)

Introduction to Geometric Algebra Lecture VI

Outline. ETN-FPI Training School on Plenoptic Sensing

Graphics Pipeline 2D Geometric Transformations

CS 664 Slides #9 Multi-Camera Geometry. Prof. Dan Huttenlocher Fall 2003

Discriminant Functions for the Normal Density

CS201 Computer Vision Camera Geometry

Geometry of image formation

Lecture 6 Stereo Systems Multi-view geometry

Overview. By end of the week:

Last week. Machiraju/Zhang/Möller/Fuhrmann

2D Object Definition (1/3)

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

CS231M Mobile Computer Vision Structure from motion

Contents. 1 Introduction Background Organization Features... 7

Camera Model and Calibration. Lecture-12

CV: 3D sensing and calibration

Image Transformations & Camera Calibration. Mašinska vizija, 2018.

Transformations. Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico

Robot Vision: Projective Geometry

Computer Vision. Coordinates. Prof. Flávio Cardeal DECOM / CEFET- MG.

Image warping , , Computational Photography Fall 2017, Lecture 10

CALCULATING TRANSFORMATIONS OF KINEMATIC CHAINS USING HOMOGENEOUS COORDINATES

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

3-D D Euclidean Space - Vectors

All human beings desire to know. [...] sight, more than any other senses, gives us knowledge of things and clarifies many differences among them.

Copyright 2009 Pearson Education, Inc. Chapter 9 Section 5 - Slide 1 AND

ECE Digital Image Processing and Introduction to Computer Vision. Outline

METR Robotics Tutorial 2 Week 2: Homogeneous Coordinates

ECE-161C Cameras. Nuno Vasconcelos ECE Department, UCSD

Transforms. COMP 575/770 Spring 2013

Multiple View Geometry in Computer Vision Second Edition

Two-View Geometry (Course 23, Lecture D)

Computer Vision, Assignment 1 Elements of Projective Geometry

Advanced Computer Graphics Transformations. Matthias Teschner

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 3: Forward and Inverse Kinematics

Course 23: Multiple-View Geometry For Image-Based Modeling

Multiple View Geometry in Computer Vision

Structure from motion

Image Warping and Mosacing

Mysteries of Parameterizing Camera Motion - Part 1

2D transformations: An introduction to the maths behind computer graphics

Introduction to Geometric Algebra Lecture V

Transcription:

Humanoid Robotics Projective Geometry, Homogeneous Coordinates (brief introduction) Maren Bennewitz

Motivation Cameras generate a projected image of the 3D world In Euclidian geometry, the math for describing the transform can get difficult Projective geometry: alternative algebraic representation of geometric transformations So-called homogeneous coordinates are often used in robotics All affine transformations and even projective transformations can be expressed with one matrix multiplication

Pinhole Camera Model Describes the projection of a 3D world point into the camera image A box with an infinitesimal small hole The camera center is the intersection point of the rays (pinhole) The back wall is the image plane The distance between the camera center and image plane is the camera constant

Pinhole Camera Model image plane object camera center (pinhole) camera constant (focal length)

Geometry and Images Image courtesy: Förstner

Geometry and Images Straight lines stay straight Parallel lines may intersect Image courtesy: Förstner

Pinhole Camera Model: Properties Line-preserving: straight lines are mapped to straight lines Not angle-preserving: angles between lines change Not length-preserving: size of objects is inverse proportional to the distance

Information Loss Caused by the Projection A camera projects from 3D to 2D 3D information can only be recovered if additional information is available

Information Loss Caused by the Projection A camera projects from 3D to 2D 3D information can only be recovered if additional information is available Multiple images Details about the camera Background knowledge Known size of objects

Homogeneous Coordinates (H.C.) H.C. are a system of coordinates used in projective geometry Formulas using H.C. are often simpler than using Euclidian coordinates A single matrix can represent affine and projective transformations

Notation Point (or or ) in homogeneous coordinates in Euclidian coordinates 2D vs. 3D space lowercase = 2D capitalized = 3D

Homogeneous Coordinates Definition The representation of a geometric object is homogeneous if and represent the same object for Example homogeneous Euclidian

Homogeneous Coordinates H.C. use a n+1 dimensional vector to represent the same (n-dim.) point Example:

Definition Homogeneous coordinates of a point in is a 3-dim. vector Corresponding Euclidian coordinates

From Homogeneous to Euclidian Coordinates

From Homogeneous to Euclidian Coordinates Image courtesy: Förstner

3D Points Analogous for 3D points in Euclidian space: homogeneous Euclidian

Origin of the Euclidian Coordinate System in H.C.

Projective Transformation Invertible linear mapping Also called homography

Example: Homography in the following: 3D transformations relevant for this lecture source: openmvg

Important 3D Transformations Projective mapping Translation: 3 parameters (3 translation)

Important 3D Transformations Rotation: 3 parameters (3 rotation) rotation matrix

Reminder: Rotation Matrices 2D: 3D:

Important 3D Transformations Rotation: 3 parameters (3 rotation) Rigid body transformation: 6 params (3 translation + 3 rotation)

Important 3D Transformations Similarity transformation: 7 params (3 trans + 3 rot + 1 scale) Affine transformation: 12 parameters (3 trans + 3 rot + 3 scale + 3 sheer)

Important 3D Transformations Projective transformation: 15 params (affine transformation + 3 parameters) These 3 parameters are the projective that lead to the fact that parallel lines may not stay parallel

Transformations Hierarchy (2D/3D) projective transformation (8/15 parameters) affine transformation (6/12 parameters) similarity transformation (4/7 parameters) motion transformation (3/6 parameters) translation (2/3 parameters) rotation (1/3 parameters)

Inverting and Chaining Inverting a transformation Chaining transformations via matrix products (not commutative)

Conclusion Homogeneous coordinates are an alternative representation for transforms Can simplify mathematical expressions Allow for easy chaining and inversion of transformations Modeled through an extra dimension Equivalence up to scale

Literature Multiple View Geometry in Computer Vision, R. Hartley and A. Zisserman, Ch. 2, 3 Slides based on Chapter 15 Projective Geometry (Homogeneous Coordinates), Photogrammetry I by C. Stachniss