Multiperspective Projection and Collineation

Total Page:16

File Type:pdf, Size:1020Kb

Multiperspective Projection and Collineation Multiperspective Projection and Collineation Jingyi Yu Leonard McMillan Massachusetts Institute of Technology University of North Carolina Cambridge, MA 02139 Chapel Hill, NC 27599 [email protected] [email protected] Abstract We present theories of multiperspective projection and collineation. Given an arbitrary multiperspective imaging system that captures smoothly varying set of rays, we show how to map the rays onto a 2D ray manifold embedded in a (b) 4D linear vector space. The characteristics of this imaging system, such as its projection, collineation, and image dis- tortions can be analyzed by studying the 2-D tangent planes of this ray manifold. These tangent planes correspond to the recently proposed General Linear Camera (GLC) model. In this paper, we study the imaging process of the GLCs. (c) We show the GLC imaging process can be broken down into (a) two separate stages: the mapping of 3D geometry to rays Figure 1. (a) An image captured on a pear-shaped mirror. and the sampling of those rays over an image plane. We (b) Cross-slit type distortions. (c) Pushbroom type distor- derive a closed-form solution to projecting 3D points in a tions. scene to rays in a GLC. A GLC image is created by sam- pling these rays over an image plane. We develop a notion These mappings are unique down to a scale factor, and of GLC collineation analogous to pinhole cameras. GLC the same infrastructure can also be used to describe ortho- collineation describes the transformation between the im- graphic cameras. When the image plane of the pinhole cam- ages of a single GLC due to changes in sampling and image era changes, the corresponding images change according. plane selection. We show that general GLC collineations The transformation between images on two different planes can be characterized by a quartic (4th order) rational func- is often referred to as homography. In the pinhole case, it tion. GLC projection and collineation provides a basis is a projective transformation and, thus, lines are still pre- for developing new computer vision algorithms suitable for served as lines despite the change of the image plane. analyzing a wider range of imaging systems than current Recent developments have suggested alternative imag- methods, based on simple pinhole projection models, per- ing models such as pushbroom [10], cross-slit [16, 8], and mit. oblique [7] cameras. These cameras collect rays under dif- ferent geometric constraints. For instance, all rays pass through a particular line in a pushbroom camera. All rays of 1. Introduction a cross-slit cameras pass through two lines, and, in oblique cameras no two rays can intersect or be parallel. These The imaging process entails mapping 3D geometry onto camera models are often referred to as multiperspective a two dimensional manifold via some camera or imaging cameras. They provide alternate and potentially advanta- model. This projection depends on both the geometry of geous imaging systems for understanding the structure of the imaging system and the parametrization of the image observed scenes. The mapping from 3D points to pixels is plane. The most common imaging model is the pinhole no longer a projective transformation in these cameras, and camera, which collects rays passing through a point and is often difficult to calculate. For instance, the collineation organizes rays onto a image plane. This mapping can be is a 3x3x3 tensor in a cross-slit camera [16]. Interesting fully described using the classic 3 x 4 camera matrix [5]. multiperspective distortions are also observed on these cam- eras, as shown in Figure 1. When we model complex imaging systems such as cata- dioptric mirrors, it is difficult to compute the mapping from 3D points to 2D images because it requires an inverse map- ping from rays to points and a closed-form solution may not exist. The lack of a closed-form projection prohibits (a) (b) further analysis of the resulting images. In practice, how- ever, many catadioptric imaging systems do exhibit local distortions that are similar to pushbroom or cross-slit dis- tortions (Figure 1). In this paper, we show that these visual phenomenon are not coincidental. In fact, these imaging systems can be precisely modelled by a special class of lo- cal multiperspective camera models. Furthermore, we give a closed-form solution for finding the local multiperspective camera models and demonstrate that all possible images can (c) (d) be formed by these cameras. Given any imaging system, we first map the rays col- Figure 2. (a) and (c) are cross-slits images synthesized lected by the system to a two dimensional ray manifold em- from light fields. (b) and (d) are pushbroom images synthe- sized from light fields. The distortions of the curved isolines bedded in a 4D ray space. We benefit from the recently on the objects illustrate various multi-perspective effects of proposed General Linear Camera (GLC) model [17], which GLC cameras in (a) and (b). The pushbroom camera (b) describes all possible linear manifolds. We use the GLC and (d) exhibits apparent stretching/duplications of objects model to locally analyze the ray manifold using its tan- lying far away from the image plane. gent plane which can be completely characterized as one of the eight GLCs. We provide a closed-form solution to in which each pair of rays are oblique. The resulting im- Projection for all GLCs. Next, we show how to deter- ages captured by these cameras are easily interpretable, yet mine the Collineation using the GLC intrinsics. We show they exhibit interesting multiperspective distortions. For in- the Collineation between two image planes is, in general, stance, lines often project to curves as shown in Figure 2 and a quartic (4th order) rational transformation. Most imag- a single 3D point might project to multiple points, causing ing systems, such as the catadioptric mirrors, can be easily feature duplications shown in Figure 2(d). analyzed using our framework and distortions can be in- Multiperspective imaging techniques have also been ex- terpreted using the local GLC Projection and Collineation plored in the field of computer graphics. Example images model. include multiple-center-of-projection images [2], manifold mosaics [9], and multiperspective panoramas [15]. Multi- 2. Previous Work perspective distortions have also been studied on real cata- dioptric imaging systems [1, 13] and are often characterized Pinhole cameras collect rays passing through a single using caustics [13]. Zorin and Barr [19] studied the use of point. Because of its simplicity, the projection is the clas- multiperspective and other geometric distortions to improve sic 3 x 4 camera matrix [5], which combines six extrin- perceptual qualities of images. Swaminathan et al [14] pro- sic and five intrinsic camera parameters into a single op- posed a method to compute minimally distorted images us- erator that maps homogenous 3D points to a 2D image ing simple geometry priors on scene structure. plane. These mappings are unique down to a scale factor, Seitz [11] has analyzed the space of multiperspective and the same infrastructure can also be used to describe or- cameras to determine those with a consistent epipolar ge- thographic cameras. When only the image plane changes ometry. His work suggests that only a small class of while the pinhole remains constant, the transformation be- multiperspective images can be used to analyze three- tween the two images is a projective transformation, which dimensional structures, mainly because the epipolar con- is called a homography. straints cannot be established over the these images. Recently, several researchers have proposed alternative General projection and imaging models have also been multiperspective camera models, which capture rays origi- studied in terms of rays. Pajdla proposed the ray-closure nating from different points in space. These multiperspec- model to describe a camera and its projection. Gu et al [4] tive cameras include pushbroom cameras [10], which col- explicitly parameterized rays under a particular 4D map- lect rays along parallel planes from points swept along a ping known as a two-plane parametrization. Most recently, linear trajectory, two-slit cameras [8, 16], which collect all we characterize all linear manifolds in the 4D ray space de- rays passing through two lines, and oblique cameras [7], fined by a two-plane parametrization, which we call Gen- r3 r 2 r2 r3 t (s3, t3) r3 (s2, t2) r2 v r1 r Π1 1 Π C 2 Π3 Π4 (u2, v2) s r (b) (c) (d) 1 u (e) (u3, v2) r1 (s1, t1) (u1, v1) r2 r r2 3 r1 r3 α⋅ r1 +β⋅ r 2 + (1−α−β )⋅ r 3 Π 1 r1 r3 Π2 z Π 3 r r2 (a) (f) (g) (h) (i) Figure 3. General Linear Camera Models. (a) A GLC Model collects radiance along all possible affine combination of three rays. The rays are parameterized by their intersections with two parallel planes. There are precisely eight GLCs, shown in (b) to (i). (b) In a pinhole camera, all rays pass through a single point. (c) In an orthographic camera, all rays are parallel. (d) In a pushbroom, all rays lie on a set of parallel planes and pass through a line. (e) In a cross slit camera, all rays pass through two non-coplanar lines. (f) In a pencil camera, all coplanar rays originate from a point on a line and lie on a specific plane through the line. (g) In a twisted orthographic camera, all rays lie on parallel twisted planes and no rays intersect. (h) In an bilinear camera, no two rays are coplanar and no two rays intersect. (i) In an EPI camera, all rays lie on a 2D plane. eral Linear Cameras. Most of these cameras satisfy Seitz’s (lines) in 3D space that all rays will pass through: criterion [11].
Recommended publications
  • Globally Optimal Affine and Metric Upgrades in Stratified Autocalibration
    Globally Optimal Affine and Metric Upgrades in Stratified Autocalibration Manmohan Chandrakery Sameer Agarwalz David Kriegmany Serge Belongiey [email protected] [email protected] [email protected] [email protected] y University of California, San Diego z University of Washington, Seattle Abstract parameters of the cameras, which is commonly approached by estimating the dual image of the absolute conic (DIAC). We present a practical, stratified autocalibration algo- A variety of linear methods exist towards this end, how- rithm with theoretical guarantees of global optimality. Given ever, they are known to perform poorly in the presence of a projective reconstruction, the first stage of the algorithm noise [10]. Perhaps more significantly, most methods a pos- upgrades it to affine by estimating the position of the plane teriori impose the positive semidefiniteness of the DIAC, at infinity. The plane at infinity is computed by globally which might lead to a spurious calibration. Thus, it is im- minimizing a least squares formulation of the modulus con- portant to impose the positive semidefiniteness of the DIAC straints. In the second stage, the algorithm upgrades this within the optimization, not as a post-processing step. affine reconstruction to a metric one by globally minimizing This paper proposes global minimization algorithms for the infinite homography relation to compute the dual image both stages of stratified autocalibration that furnish theoreti- of the absolute conic (DIAC). The positive semidefiniteness cal certificates of optimality. That is, they return a solution at of the DIAC is explicitly enforced as part of the optimization most away from the global minimum, for arbitrarily small .
    [Show full text]
  • Projective Geometry: a Short Introduction
    Projective Geometry: A Short Introduction Lecture Notes Edmond Boyer Master MOSIG Introduction to Projective Geometry Contents 1 Introduction 2 1.1 Objective . .2 1.2 Historical Background . .3 1.3 Bibliography . .4 2 Projective Spaces 5 2.1 Definitions . .5 2.2 Properties . .8 2.3 The hyperplane at infinity . 12 3 The projective line 13 3.1 Introduction . 13 3.2 Projective transformation of P1 ................... 14 3.3 The cross-ratio . 14 4 The projective plane 17 4.1 Points and lines . 17 4.2 Line at infinity . 18 4.3 Homographies . 19 4.4 Conics . 20 4.5 Affine transformations . 22 4.6 Euclidean transformations . 22 4.7 Particular transformations . 24 4.8 Transformation hierarchy . 25 Grenoble Universities 1 Master MOSIG Introduction to Projective Geometry Chapter 1 Introduction 1.1 Objective The objective of this course is to give basic notions and intuitions on projective geometry. The interest of projective geometry arises in several visual comput- ing domains, in particular computer vision modelling and computer graphics. It provides a mathematical formalism to describe the geometry of cameras and the associated transformations, hence enabling the design of computational ap- proaches that manipulates 2D projections of 3D objects. In that respect, a fundamental aspect is the fact that objects at infinity can be represented and manipulated with projective geometry and this in contrast to the Euclidean geometry. This allows perspective deformations to be represented as projective transformations. Figure 1.1: Example of perspective deformation or 2D projective transforma- tion. Another argument is that Euclidean geometry is sometimes difficult to use in algorithms, with particular cases arising from non-generic situations (e.g.
    [Show full text]
  • Robot Vision: Projective Geometry
    Robot Vision: Projective Geometry Ass.Prof. Friedrich Fraundorfer SS 2018 1 Learning goals . Understand homogeneous coordinates . Understand points, line, plane parameters and interpret them geometrically . Understand point, line, plane interactions geometrically . Analytical calculations with lines, points and planes . Understand the difference between Euclidean and projective space . Understand the properties of parallel lines and planes in projective space . Understand the concept of the line and plane at infinity 2 Outline . 1D projective geometry . 2D projective geometry ▫ Homogeneous coordinates ▫ Points, Lines ▫ Duality . 3D projective geometry ▫ Points, Lines, Planes ▫ Duality ▫ Plane at infinity 3 Literature . Multiple View Geometry in Computer Vision. Richard Hartley and Andrew Zisserman. Cambridge University Press, March 2004. Mundy, J.L. and Zisserman, A., Geometric Invariance in Computer Vision, Appendix: Projective Geometry for Machine Vision, MIT Press, Cambridge, MA, 1992 . Available online: www.cs.cmu.edu/~ph/869/papers/zisser-mundy.pdf 4 Motivation – Image formation [Source: Charles Gunn] 5 Motivation – Parallel lines [Source: Flickr] 6 Motivation – Epipolar constraint X world point epipolar plane x x’ x‘TEx=0 C T C’ R 7 Euclidean geometry vs. projective geometry Definitions: . Geometry is the teaching of points, lines, planes and their relationships and properties (angles) . Geometries are defined based on invariances (what is changing if you transform a configuration of points, lines etc.) . Geometric transformations
    [Show full text]
  • Collineations in Perspective
    Collineations in Perspective Now that we have a decent grasp of one-dimensional projectivities, we move on to their two di- mensional analogs. Although they are more complicated, in a sense, they may be easier to grasp because of the many applications to perspective drawing. Speaking of, let's return to the triangle on the window and its shadow in its full form instead of only looking at one line. Perspective Collineation In one dimension, a perspectivity is a bijective mapping from a line to a line through a point. In two dimensions, a perspective collineation is a bijective mapping from a plane to a plane through a point. To illustrate, consider the triangle on the window plane and its shadow on the ground plane as in Figure 1. We can see that every point on the triangle on the window maps to exactly one point on the shadow, but the collineation is from the entire window plane to the entire ground plane. We understand the window plane to extend infinitely in all directions (even going through the ground), the ground also extends infinitely in all directions (we will assume that the earth is flat here), and we map every point on the window to a point on the ground. Looking at Figure 2, we see that the lamp analogy breaks down when we consider all lines through O. Although it makes sense for the base of the triangle on the window mapped to its shadow on 1 the ground (A to A0 and B to B0), what do we make of the mapping C to C0, or D to D0? C is on the window plane, underground, while C0 is on the ground.
    [Show full text]
  • Feature Matching and Heat Flow in Centro-Affine Geometry
    Symmetry, Integrability and Geometry: Methods and Applications SIGMA 16 (2020), 093, 22 pages Feature Matching and Heat Flow in Centro-Affine Geometry Peter J. OLVER y, Changzheng QU z and Yun YANG x y School of Mathematics, University of Minnesota, Minneapolis, MN 55455, USA E-mail: [email protected] URL: http://www.math.umn.edu/~olver/ z School of Mathematics and Statistics, Ningbo University, Ningbo 315211, P.R. China E-mail: [email protected] x Department of Mathematics, Northeastern University, Shenyang, 110819, P.R. China E-mail: [email protected] Received April 02, 2020, in final form September 14, 2020; Published online September 29, 2020 https://doi.org/10.3842/SIGMA.2020.093 Abstract. In this paper, we study the differential invariants and the invariant heat flow in centro-affine geometry, proving that the latter is equivalent to the inviscid Burgers' equa- tion. Furthermore, we apply the centro-affine invariants to develop an invariant algorithm to match features of objects appearing in images. We show that the resulting algorithm com- pares favorably with the widely applied scale-invariant feature transform (SIFT), speeded up robust features (SURF), and affine-SIFT (ASIFT) methods. Key words: centro-affine geometry; equivariant moving frames; heat flow; inviscid Burgers' equation; differential invariant; edge matching 2020 Mathematics Subject Classification: 53A15; 53A55 1 Introduction The main objective in this paper is to study differential invariants and invariant curve flows { in particular the heat flow { in centro-affine geometry. In addition, we will present some basic applications to feature matching in camera images of three-dimensional objects, comparing our method with other popular algorithms.
    [Show full text]
  • Finite Projective Geometries 243
    FINITE PROJECTÎVEGEOMETRIES* BY OSWALD VEBLEN and W. H. BUSSEY By means of such a generalized conception of geometry as is inevitably suggested by the recent and wide-spread researches in the foundations of that science, there is given in § 1 a definition of a class of tactical configurations which includes many well known configurations as well as many new ones. In § 2 there is developed a method for the construction of these configurations which is proved to furnish all configurations that satisfy the definition. In §§ 4-8 the configurations are shown to have a geometrical theory identical in most of its general theorems with ordinary projective geometry and thus to afford a treatment of finite linear group theory analogous to the ordinary theory of collineations. In § 9 reference is made to other definitions of some of the configurations included in the class defined in § 1. § 1. Synthetic definition. By a finite projective geometry is meant a set of elements which, for sugges- tiveness, are called points, subject to the following five conditions : I. The set contains a finite number ( > 2 ) of points. It contains subsets called lines, each of which contains at least three points. II. If A and B are distinct points, there is one and only one line that contains A and B. HI. If A, B, C are non-collinear points and if a line I contains a point D of the line AB and a point E of the line BC, but does not contain A, B, or C, then the line I contains a point F of the line CA (Fig.
    [Show full text]
  • Estimating Projective Transformation Matrix (Collineation, Homography)
    Estimating Projective Transformation Matrix (Collineation, Homography) Zhengyou Zhang Microsoft Research One Microsoft Way, Redmond, WA 98052, USA E-mail: [email protected] November 1993; Updated May 29, 2010 Microsoft Research Techical Report MSR-TR-2010-63 Note: The original version of this report was written in November 1993 while I was at INRIA. It was circulated among very few people, and never published. I am now publishing it as a tech report, adding Section 7, with the hope that it could be useful to more people. Abstract In many applications, one is required to estimate the projective transformation between two sets of points, which is also known as collineation or homography. This report presents a number of techniques for this purpose. Contents 1 Introduction 2 2 Method 1: Five-correspondences case 3 3 Method 2: Compute P together with the scalar factors 3 4 Method 3: Compute P only (a batch approach) 5 5 Method 4: Compute P only (an iterative approach) 6 6 Method 5: Compute P through normalization 7 7 Method 6: Maximum Likelihood Estimation 8 1 1 Introduction Projective Transformation is a concept used in projective geometry to describe how a set of geometric objects maps to another set of geometric objects in projective space. The basic intuition behind projective space is to add extra points (points at infinity) to Euclidean space, and the geometric transformation allows to move those extra points to traditional points, and vice versa. Homogeneous coordinates are used in projective space much as Cartesian coordinates are used in Euclidean space. A point in two dimensions is described by a 3D vector.
    [Show full text]
  • A Modular Compactification of the General Linear Group
    Documenta Math. 553 A Modular Compactification of the General Linear Group Ivan Kausz Received: June 2, 2000 Communicated by Peter Schneider Abstract. We define a certain compactifiction of the general linear group and give a modular description for its points with values in arbi- trary schemes. This is a first step in the construction of a higher rank generalization of Gieseker's degeneration of moduli spaces of vector bundles over a curve. We show that our compactification has simi- lar properties as the \wonderful compactification” of algebraic groups of adjoint type as studied by de Concini and Procesi. As a byprod- uct we obtain a modular description of the points of the wonderful compactification of PGln. 1991 Mathematics Subject Classification: 14H60 14M15 20G Keywords and Phrases: moduli of vector bundles on curves, modular compactification, general linear group 1. Introduction In this paper we give a modular description of a certain compactification KGln of the general linear group Gln. The variety KGln is constructed as follows: First one embeds Gln in the obvious way in the projective space which contains the affine space of n × n matrices as a standard open set. Then one succes- sively blows up the closed subschemes defined by the vanishing of the r × r subminors (1 ≤ r ≤ n), along with the intersection of these subschemes with the hyperplane at infinity. We were led to the problem of finding a modular description of KGln in the course of our research on the degeneration of moduli spaces of vector bundles. Let me explain in some detail the relevance of compactifications of Gln in this context.
    [Show full text]
  • • Rotations • Camera Calibration • Homography • Ransac
    Agenda • Rotations • Camera calibration • Homography • Ransac Geometric Transformations y 164 Computer Vision: Algorithms andx Applications (September 3, 2010 draft) Transformation Matrix # DoF Preserves Icon translation I t 2 orientation 2 3 h i ⇥ ⇢⇢SS rigid (Euclidean) R t 3 lengths S ⇢ 2 3 S⇢ ⇥ h i ⇢ similarity sR t 4 angles S 2 3 S⇢ h i ⇥ ⇥ ⇥ affine A 6 parallelism ⇥ ⇥ 2 3 h i ⇥ projective H˜ 8 straight lines ` 3 3 ` h i ⇥ Table 3.5 Hierarchy of 2D coordinate transformations. Each transformation also preserves Let’s definethe properties families listed of in thetransformations rows below it, i.e., similarity by the preserves properties not only anglesthat butthey also preserve parallelism and straight lines. The 2 3 matrices are extended with a third [0T 1] row to form ⇥ a full 3 3 matrix for homogeneous coordinate transformations. ⇥ amples of such transformations, which are based on the 2D geometric transformations shown in Figure 2.4. The formulas for these transformations were originally given in Table 2.1 and are reproduced here in Table 3.5 for ease of reference. In general, given a transformation specified by a formula x0 = h(x) and a source image f(x), how do we compute the values of the pixels in the new image g(x), as given in (3.88)? Think about this for a minute before proceeding and see if you can figure it out. If you are like most people, you will come up with an algorithm that looks something like Algorithm 3.1. This process is called forward warping or forward mapping and is shown in Figure 3.46a.
    [Show full text]
  • Automorphisms of Classical Geometries in the Sense of Klein
    Automorphisms of classical geometries in the sense of Klein Navarro, A.∗ Navarro, J.† November 11, 2018 Abstract In this note, we compute the group of automorphisms of Projective, Affine and Euclidean Geometries in the sense of Klein. As an application, we give a simple construction of the outer automorphism of S6. 1 Introduction Let Pn be the set of 1-dimensional subspaces of a n + 1-dimensional vector space E over a (commutative) field k. This standard definition does not capture the ”struc- ture” of the projective space although it does point out its automorphisms: they are projectivizations of semilinear automorphisms of E, also known as Staudt projectivi- ties. A different approach (v. gr. [1]), defines the projective space as a lattice (the lattice of all linear subvarieties) satisfying certain axioms. Then, the so named Fun- damental Theorem of Projective Geometry ([1], Thm 2.26) states that, when n> 1, collineations of Pn (i.e., bijections preserving alignment, which are the automorphisms of this lattice structure) are precisely Staudt projectivities. In this note we are concerned with geometries in the sense of Klein: a geometry is a pair (X, G) where X is a set and G is a subgroup of the group Biy(X) of all bijections of X. In Klein’s view, Projective Geometry is the pair (Pn, PGln), where PGln is the group of projectivizations of k-linear automorphisms of the vector space E (see Example 2.2). The main result of this note is a computation, analogous to the arXiv:0901.3928v2 [math.GR] 4 Jul 2013 aforementioned theorem for collineations, but in the realm of Klein geometries: Theorem 3.4 The group of automorphisms of the Projective Geometry (Pn, PGln) is the group of Staudt projectivities, for any n ≥ 1.
    [Show full text]
  • Download Download
    Acta Math. Univ. Comenianae 911 Vol. LXXXVIII, 3 (2019), pp. 911{916 COSET GEOMETRIES WITH TRIALITIES AND THEIR REDUCED INCIDENCE GRAPHS D. LEEMANS and K. STOKES Abstract. In this article we explore combinatorial trialities of incidence geome- tries. We give a construction that uses coset geometries to construct examples of incidence geometries with trialities and prescribed automorphism group. We define the reduced incidence graph of the geometry to be the oriented graph obtained as the quotient of the geometry under the triality. Our chosen examples exhibit interesting features relating the automorphism group of the geometry and the automorphism group of the reduced incidence graphs. 1. Introduction The projective space of dimension n over a field F is an incidence geometry PG(n; F ). It has n types of elements; the projective subspaces: the points, the lines, the planes, and so on. The elements are related by incidence, defined by inclusion. A collinearity of PG(n; F ) is an automorphism preserving incidence and type. According to the Fundamental theorem of projective geometry, every collinearity is composed by a homography and a field automorphism. A duality of PG(n; F ) is an automorphism preserving incidence that maps elements of type k to elements of type n − k − 1. Dualities are also called correlations or reciprocities. Geometric dualities, that is, dualities in projective spaces, correspond to sesquilinear forms. Therefore the classification of the sesquilinear forms also give a classification of the geometric dualities. A polarity is a duality δ that is an involution, that is, δ2 = Id. A duality can always be expressed as a composition of a polarity and a collinearity.
    [Show full text]
  • Lecture 16: Planar Homographies Robert Collins CSE486, Penn State Motivation: Points on Planar Surface
    Robert Collins CSE486, Penn State Lecture 16: Planar Homographies Robert Collins CSE486, Penn State Motivation: Points on Planar Surface y x Robert Collins CSE486, Penn State Review : Forward Projection World Camera Film Pixel Coords Coords Coords Coords U X x u M M V ext Y proj y Maff v W Z U X Mint u V Y v W Z U M u V m11 m12 m13 m14 v W m21 m22 m23 m24 m31 m31 m33 m34 Robert Collins CSE486, PennWorld State to Camera Transformation PC PW W Y X U R Z C V Rotate to Translate by - C align axes (align origins) PC = R ( PW - C ) = R PW + T Robert Collins CSE486, Penn State Perspective Matrix Equation X (Camera Coordinates) x = f Z Y X y = f x' f 0 0 0 Z Y y' = 0 f 0 0 Z z' 0 0 1 0 1 p = M int ⋅ PC Robert Collins CSE486, Penn State Film to Pixel Coords 2D affine transformation from film coords (x,y) to pixel coordinates (u,v): X u’ a11 a12xa'13 f 0 0 0 Y v’ a21 a22 ya'23 = 0 f 0 0 w’ Z 0 0z1' 0 0 1 0 1 Maff Mproj u = Mint PC = Maff Mproj PC Robert Collins CSE486, Penn StateProjection of Points on Planar Surface Perspective projection y Film coordinates x Point on plane Rotation + Translation Robert Collins CSE486, Penn State Projection of Planar Points Robert Collins CSE486, Penn StateProjection of Planar Points (cont) Homography H (planar projective transformation) Robert Collins CSE486, Penn StateProjection of Planar Points (cont) Homography H (planar projective transformation) Punchline: For planar surfaces, 3D to 2D perspective projection reduces to a 2D to 2D transformation.
    [Show full text]