Opportunities in Map-Making Alan Saalfeld. April 20-22, 2007Computational and Conformal Geometry2 Cartographers can make maps that: Preserve all angles.

Slides:



Advertisements
Similar presentations
A Story of Geometry Grade 8 to Grade 10 Coherence
Advertisements

Map-making as Graph Drawing Alan Saalfeld Mathematical Cartographer.
Applications of Euler’s Formula for Graphs Hannah Stevens.
Informationsteknologi Wednesday, November 7, 2007Computer Graphics - Class 51 Today’s class Geometric objects and transformations.
Sasha Vasserman.  Two triangles are similar if two pairs of corresponding angles are congruent.
Discrete Geometry Tutorial 2 1
3D Surface Parameterization Olga Sorkine, May 2005.
Xianfeng Gu, Yaling Wang, Tony Chan, Paul Thompson, Shing-Tung Yau
Math 310 Sections Isometry. Transformations Def A transformation is a map from the plane to itself that takes each point in the plane to exactly.
Chapter 4: Straight Line Drawing Ronald Kieft. Contents Introduction Algorithm 1: Shift Method Algorithm 2: Realizer Method Other parts of chapter 4 Questions?
Exersise 01 If A 1 is the foot of the bisector at A of the triangle ABC, and b, c the lengths of the sides CA, AB respectively, then A 1 = (Bb + Cc)/(b.
Image Morphing, Triangulation CSE399b, Spring 07 Computer Vision.
Reflection symmetry If you can draw a line through a shape so that one half is the mirror image of the other then the shape has reflection or line symmetry.
CSE53111 Computational Geometry TOPICS q Preliminaries q Point in a Polygon q Polygon Construction q Convex Hulls Further Reading.
Geometry Vocabulary Chapter 9.
1 Ray Tracing Polyhedra ©Anthony Steed
Part 6: Graphics Output Primitives (4) 1.  Another useful construct,besides points, straight line segments, and curves for describing components of a.
1 of 66 KS4 Mathematics S6 Transformations. 2 of 66 A A A A A A Contents S6.1 Symmetry S6 Transformations S6.2 Reflection S6.3 Rotation S6.4 Translation.
Chapter 7 Transformations. Chapter Objectives Identify different types of transformations Define isometry Identify reflection and its characteristics.
Straight line drawings of planar graphs – part II Roeland Luitwieler.
1 Adding charts anywhere Assume a cow is a sphere Cindy Grimm and John Hughes, “Parameterizing n-holed tori”, Mathematics of Surfaces X, 2003 Cindy Grimm,
Chapter 7 Transformations. Examples of symmetry Lines of Symmetry.
Representation. Objectives Introduce concepts such as dimension and basis Introduce coordinate systems for representing vectors spaces and frames for.
Transformation in Geometry Transformation A transformation changes the position or size of a shape on a coordinate plane.
Geometry Vocabulary 7-1 By: Hilary Clinger & Alex Shipherd.
1.2: Transformations G-CO.6 Use geometric descriptions of rigid motions to transform figures and to predict the effect of a given rigid motion on a given.
CS559: Computer Graphics Lecture 8: Warping, Morphing, 3D Transformation Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Chapter 12.  For each example, how would I get the first image to look like the second?
Level3456 Angles I can identify right angles I can recognise, measure and draw acute and obtuse angles I know that the sum of the angles on a line is 180.
Transformations 7-7 Properties of Transformations. Goal: By the end of the week, I will recognize the difference between translations, reflections, and.
1 11. Polygons Polygons 2D polygons ( 다각형 ) –Polygon sides are all straight lines lying in the same plane 3D polyhedra ( 다면체 )  chap. 12 –Polyhedra.
Review from Friday The composition of two reflections over parallel lines can be described by a translation vector that is: Perpendicular to the two lines.
Rotations. Goals Distinguish between a translation, reflection, and rotation. Visualize, and then perform rotations using patty paper. To determine the.
1.2: Transformations CCSS
Multimedia Programming 10: Image Morphing
CONGRUENCE AND TRANSFORMATIONS (GET GRAPH PAPER WHEN YOU ENTER CLASS) SECTION 4.4.
CS559: Computer Graphics Lecture 9: 3D Transformation and Projection Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Geometry, NCSCOS: 3.01 Describe the transformation (translation, reflection, rotation, dilation) of polygons in the coordinate plane in simple algebraic.
Polygons A polygon is a plane shape with straight sides.
Rotations Section Goal Identify rotations and rotational symmetry.
1 Schnyder’s Method. 2 Motivation Given a planar graph, we want to embed it in a grid We want the grid to be relatively small And we want an efficient.
Main characteristics of Vector graphics  Vector graphics provide an elegant way of constructing digital images (diagrams, technical illustration and.
1 Spherical manifolds for hierarchical surface modeling Cindy Grimm.
TRANSFORMATION GEOMETRY
Transformation in Geometry Transformation A transformation changes the position or size of a polygon on a coordinate plane.
Rotations Section 11.8.
9.5 & 9.6 – Compositions of Transformations & Symmetry
Rigid Motion in a Plane Geometry.
Image Morphing © Zooface Many slides from Alexei Efros, Berkeley.
DO NOW W ( , ) X ( , ) Y ( , ) Z ( , ) YES NO YES NO YES NO
Daily Review: Complete WAM Sheet 1-5
Translations 9.2 Content Standards
Computational Photography Derek Hoiem, University of Illinois
A circular dial with the digits 0 through 9 evenly spaced around its edge can be rotated clockwise 36°. How many times would you have to perform this.
Transformations Example Draw the line Draw 1 at , ,
Graphing & Describing “Reflections”
11 Chapter Introductory Geometry
MATH 8 – UNIT 1 REVIEW.
7.1 Rigid Motion in a Plane Geometry Mr. Qayumi 2010.
Y. Lipman D. Levin D. Cohen-Or
9.3 ROTATIONS.
Invariance Under Transformations
Vocabulary transformation reflection preimage rotation
Y. Lipman D. Levin D. Cohen-Or
Transformations Dilations Translations Reflections Rotations.
Objective Identify and draw rotations..
Objective Identify and draw reflections..
7.1 Rigid Motion in a Plane.
Overview June 9- B-Spline Curves June 16- NURBS Curves
Presentation transcript:

Opportunities in Map-Making Alan Saalfeld

April 20-22, 2007Computational and Conformal Geometry2 Cartographers can make maps that: Preserve all angles (conformal), or Preserve all areas (authalic), But they cannot do both simultaneously 1 They can argue about which is better, preserving angles or preserving areas 1 They can try to preserve one of the two (angles or areas) while, at the same time, trying reduce distortion of the other 1 1 Interesting story about the Peters projection, ask me later…

April 20-22, 2007Computational and Conformal Geometry3 Conformal vs Authalic a = b a = 1/b b a a b

April 20-22, 2007Computational and Conformal Geometry4 Tissot Indicatrix

April 20-22, 2007Computational and Conformal Geometry5 My agenda today Many of you have looked into discretizing conformality via triangulations and circles. I will try to describe and illustrate some analogous attempts at discretizing area-management via triangulations and ellipses. NOT ellipse-packing, just as distortion indicators

April 20-22, 2007Computational and Conformal Geometry6 Extending functions Conformal extension of a simple closed curve to its interior or the entire plane. Piecewise linear (affine) extension of a point map to a map of the hull of the domain point set. – Can make the PL extension a homeomorphism. Piecewise linear extension of a map between polygon boundaries to their interiors. Piecewise linear extension of an edge set map to a map of the hull of the domain edge set. – Can make the extension have the same area scale within each polygon. – Can also adjust areas.

April 20-22, 2007Computational and Conformal Geometry7 Affine transformations of the plane An affine function has the form: (x,y)  (ax+by+c, dx+ey+f) An affine function is a linear transformation followed by a translation The action on any 3 non-collinear points completely determines the affine map A triangle on three vertices maps to the triangle on the three image vertices. Lines go to lines with length ratios preserved Parallel lines go to parallel lines

April 20-22, 2007Computational and Conformal Geometry8 Barycentric Coordinates are just Relative Triangle Areas 1y3y3 x3x3 1y2y2 x2x2 1y1y1 x1x1 1y3y3 x3x3 1y2y2 x2x2 1yx A1A1 A 1 +A 2 +A 3 = = 11

April 20-22, 2007Computational and Conformal Geometry9 Describing Piecewise Affine Maps Piecewise affine interpolation is uniquely and implicitly defined BY SIMPLY DRAWING THE TRIANGULATION IN THE DOMAIN SPACE AND LABELING THE TRIANGLE VERTICES IN BOTH THE DOMAIN AND RANGE SPACES TO SHOW THE ASSOCIATION: p3p3 q2q2 p2p2 q4q4 q3q3 p1p1 p4p4 q1q1

April 20-22, 2007Computational and Conformal Geometry10 Piecewise affine transformations The interpolating function that preserves barycentric coordinates is precisely the affine transformation from the domain triangle onto the range triangle Barycentric coordinates can be computed for the domain (before the function itself is specified), then may be “evaluated at run time” (after the range values of the triangle vertices are specified)

April 20-22, 2007Computational and Conformal Geometry11 Triangulation maps: Piecewise Linear Maps fully PL maps are described fully by their action on triangles PL maps are described fully by their action on vertices after domain triangles have been specified PL maps agree on shared edges that are straight line segments But we REALLY prefer our functions to be invertible (homeomorphisms) p3p3 q2q2 p2p2 q4q4 q3q3 p1p1 p4p4 q1q1

April 20-22, 2007Computational and Conformal Geometry12 The composition of two Piecewise Affine maps is a Piecewise Affine map A B BC A BC Invertible piecewise affine maps are also called piecewise linear homeomorphisms (PLH maps).

April 20-22, 2007Computational and Conformal Geometry13 Non-existence results – Sometimes there just isn’t any simultaneous triangulation on the given point sets Existence and complexity results – Sometimes all triangulations work – Sometimes some triangulations work, others do not – If we allow ourselves to add some (O(n 2 )) point pairs, we can always find a simultaneous triangulation Isomorphic triangulations: Piecewise Linear Homeomorphisms p3p3 q2q2 p2p2 q4q4 q3q3 p1p1 p4p4 q1q1 p2p2 q2q2 p3p3 q4q4 q3q3 p1p1 p4p4 q1q1 p5p5 q5q5

April 20-22, 2007Computational and Conformal Geometry14 Any simple polygon can be mapped to any other simple polygon by a PLH map with pre-specified PLH boundary behavior Any n-sided polygon can be triangulated. Any triangulation of an n-sided polygon is also a triangulation of a similarly labeled regular n-gon. Every n-gon can be mapped by an invertible PLH map onto a regular n-gon.

April 20-22, 2007Computational and Conformal Geometry

April 20-22, 2007Computational and Conformal Geometry

April 20-22, 2007Computational and Conformal Geometry17 Can we control distortion more? Are there area-preserving PLH maps? – Can we construct them to extend PLH maps on the boundary? YES! It simply means getting corresponding triangles to have the same area – Can we find 1-continuous-parameter families of transformations that are area-preserving PLH maps for every parameter value? YES! These are zero-compression deformations.

April 20-22, 2007Computational and Conformal Geometry18 Piecewise-Linear Authalic The affine map that sends three points in the plane to any other three points in the plane is authalic if and only if the two triangles on the sets of three points have the same area.

April 20-22, 2007Computational and Conformal Geometry19 Piecewise-Linear Authalic Two polygons of the same area may be jointly triangulated (with Steiner points) so that corresponding triangle pairs have equal area. The resulting triangulation map is authalic.

April 20-22, 2007Computational and Conformal Geometry20 Piecewise-Linear Authalic Given that two polygons of the same area may be jointly triangulated (with Steiner points) so that the resulting triangulation map is authalic, one may want to know: – What is the fewest number of Steiner points (i.e., triangles) needed? – Can we find the triangulation of fewest triangles with the least flattening/stretching local scale difference?

April 20-22, 2007Computational and Conformal Geometry21 P-L Authalic vs Quasiconformal

April 20-22, 2007Computational and Conformal Geometry22 Possible Extensions/Applications 3D “Best” quasi-conformal area-preserving piecewise affine transformation using no more than k Steiner points Zero-compression morphing

April 20-22, 2007Computational and Conformal Geometry23 Morphing Triangulation maps: {p i }, {q i }, T {p i }, p i  q i Homotopies of triangulation maps: {p i }x[0,1]  R – (p i,t)  q i (t); (p i,0)  q i (0)=p i, (p i,1)  q i (1)=q i – Cheap (faceted) morphing – Barycentric coordinates pre-computed Homotopies in both domain and range – p i (t)  q i (t) – Domain triangles and range triangles change in unison, maintaining relative size throughout – At every stage, the transformation is area-preserving – “Area-preserving” guarantees “no singularities”

April 20-22, 2007Computational and Conformal Geometry24 What is Zero-Compression Morphing? It is continuous deformation that preserves area (volume) everywhere at all times. If we can identify corresponding pairs of simultaneously changing quadrilaterals that have matching areas at each stage throughout the deformation, then we may add Steiner points and triangulate to produce area-preservation everywhere.

April 20-22, 2007Computational and Conformal Geometry25 Zero-Compression Morphing Example 1: A Rotating Raft

April 20-22, 2007Computational and Conformal Geometry26 Zero-Compression Morphing Example 2: A Sliding Raft

April 20-22, 2007Computational and Conformal Geometry27 Zero-Compression Morphing Example 3: A Sliding Raft with No Distortion at Surface/Media Contact Boundaries

April 20-22, 2007Computational and Conformal Geometry28 Summary Easy-to-evaluate piecewise affine maps are fully described by a triangulation of the domain space and an assignment of an image to each vertex in the domain triangulation We can build a PLH map from one simple polygon onto any other simple polygon that has the same area-scale everywhere We may even build continuous 1-parameter families (homotopies) of PLH same-area-scale transformations.

Part II: Discrete topological coordinates and discrete constructions of cartograms (based on work by Walter Schnyder)

April 20-22, 2007Computational and Conformal Geometry30 Start with a Plane Graph

April 20-22, 2007Computational and Conformal Geometry31 Embed the plane graph into a Triangular graph (Outer-planar triangulation)

April 20-22, 2007Computational and Conformal Geometry I.Every triangle has all 3 labels appearing in clockwise order. II.Every interior vertex has one non-empty sequence of “1”s, one non-empty sequence of “2”s, and one non-empty sequence of “3”s, appearing in clockwise order. Normal Angle Labeling (Existence proof by Schnyder)

April 20-22, 2007Computational and Conformal Geometry33 There are only 3 kinds of lines i j k i j i i j

April 20-22, 2007Computational and Conformal Geometry34 Every interior vertex has outdegree 3 where

April 20-22, 2007Computational and Conformal Geometry35 The edges of any one type (color) form a rooted tree that contains all of the interior vertices

April 20-22, 2007Computational and Conformal Geometry36 Three-tree decomposition of interior edges (Schnyder)

April 20-22, 2007Computational and Conformal Geometry37 V The three different colored paths from V to the three extreme triangle vertices partition the triangle set into three disjoint subsets of the [2n–5] interior triangles

April 20-22, 2007Computational and Conformal Geometry38 Combinatorial coordinates? Count triangles in each partition of the 3-partition of the triangulation, then divide the count by the total number of internal triangles, and interpret the value as barycentric coordinates on three affinely independent points. V

April 20-22, 2007Computational and Conformal Geometry39 7 / / 21 3 / 21 Triangle-count barycentric coordinates: V = ( 7 / 21, 11 / 21, 3 / 21 )

April 20-22, 2007Computational and Conformal Geometry40 Combinatorial Cartograms Start with a barycentric grid

April 20-22, 2007Computational and Conformal Geometry41 Increase Number of Triangles Locally

April 20-22, 2007Computational and Conformal Geometry42 Decrease Number of Triangles Locally