Lecture 08: Map Transformation Geography 128 Analytical and Computer Cartography Spring 2007 Department of Geography University of California, Santa Barbara.

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

Computer Graphics - Geometry & Representation -
Today Composing transformations 3D Transformations
QR Code Recognition Based On Image Processing
Demetriou/Loizidou – ACSC330 – Chapter 4 Geometric Objects and Transformations Dr. Giorgos A. Demetriou Dr. Stephania Loizidou Himona Computer Science.
Computer Graphics Lecture 4 Geometry & Transformations.
CHAPTER 12 Height Maps, Hidden Surface Removal, Clipping and Level of Detail Algorithms © 2008 Cengage Learning EMEA.
Informationsteknologi Wednesday, November 7, 2007Computer Graphics - Class 51 Today’s class Geometric objects and transformations.
3D Geometry for Computer Graphics
Chapter 4.1 Mathematical Concepts. 2 Applied Trigonometry Trigonometric functions Defined using right triangle  x y h.
CS 128/ES Lecture 5b1 Vector Based Data. CS 128/ES Lecture 5b2 Spatial data models 1.Raster 2.Vector 3.Object-oriented Spatial data formats:
Lecture 05: Spatial Data Structure for Computer Cartography Geography 128 Analytical and Computer Cartography Spring 2007 Department of Geography University.
Spatial Analysis Longley et al., Ch 14,15. Transformations Buffering (Point, Line, Area) Point-in-polygon Polygon Overlay Spatial Interpolation –Theissen.
GUS: 0262 Fundamentals of GIS Lecture Presentation 2: Cartography in a Nutshell Jeremy Mennis Department of Geography and Urban Studies Temple University.
Structure from motion. Multiple-view geometry questions Scene geometry (structure): Given 2D point matches in two or more images, where are the corresponding.
CSCE 590E Spring 2007 Basic Math By Jijun Tang. Applied Trigonometry Trigonometric functions  Defined using right triangle  x y h.
Waldo Tobler’s Classic Paper, 1979
Cluster Analysis (1).
3D Geometry for Computer Graphics
1Ellen L. Walker Matching Find a smaller image in a larger image Applications Find object / pattern of interest in a larger picture Identify moving objects.
Data Input How do I transfer the paper map data and attribute data to a format that is usable by the GIS software? Data input involves both locational.
Lecture 09: Data Structure Transformations Geography 128 Analytical and Computer Cartography Spring 2007 Department of Geography University of California,
Vectors.
Lecture 07: Terrain Analysis Geography 128 Analytical and Computer Cartography Spring 2007 Department of Geography University of California, Santa Barbara.
On Some Fundamental Geographical Concepts 176B Lecture 3.
Dr. David Liu Objectives  Understand what a GIS is  Understand how a GIS functions  Spatial data representation  GIS application.
CHAPTER 7 Viewing and Transformations © 2008 Cengage Learning EMEA.
Map Projections Displaying the earth on 2 dimensional maps
MATH – High School Common Core Vs Kansas Standards.
Slope and Aspect Calculated from a grid of elevations (a digital elevation model) Slope and aspect are calculated at each point in the grid, by comparing.
Basic Spatial Analysis
Georeferencing Getting maps and satellite images into GIS.
Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-3 Chapters 5 and 6.
3-dimensional shape cross section. 3-dimensional space.
Mathematical Fundamentals
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
CSE554AlignmentSlide 1 CSE 554 Lecture 8: Alignment Fall 2014.
Kansas State University Department of Computing and Information Sciences CIS 736: Computer Graphics Monday, 26 January 2004 William H. Hsu Department of.
Recap of linear algebra: vectors, matrices, transformations, … Background knowledge for 3DM Marc van Kreveld.
COMP 175: Computer Graphics March 24, 2015
Applied Cartography and Introduction to GIS GEOG 2017 EL
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
Applied Cartography and Introduction to GIS GEOG 2017 EL
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
CSCE 552 Spring 2011 Math By Jijun Tang. Layered.
Mathematics for Graphics. 1 Objectives Introduce the elements of geometry  Scalars  Vectors  Points Develop mathematical operations among them in a.
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
How do we represent the world in a GIS database?
Intelligent Vision Systems ENT 496 Object Shape Identification and Representation Hema C.R. Lecture 7.
Digital Image Processing Lecture 6: Image Geometry
Data Types Entities and fields can be transformed to the other type Vectors compared to rasters.
16/5/ :47 UML Computer Graphics Conceptual Model Application Model Application Program Graphics System Output Devices Input Devices API Function.
CSE554AlignmentSlide 1 CSE 554 Lecture 8: Alignment Fall 2013.
CHAPTER 11 VECTOR DATA ANALYSIS 11.1 Buffering
L7 - Raster Algorithms L7 – Raster Algorithms NGEN06(TEK230) – Algorithms in Geographical Information Systems.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Cartographic Objects Digital Images of a Map Vector Data Model Raster Data Model.
Year 6 Block A. 6A1 I can solve practical problems that involve number, place value and rounding. I can compare and order number to at least 10,000,000.
L9 – Generalization algorithms
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
Computer Graphics Matrices
Mesh Resampling Wolfgang Knoll, Reinhard Russ, Cornelia Hasil 1 Institute of Computer Graphics and Algorithms Vienna University of Technology.
Geoprocessing and georeferencing raster data
1 Teaching Innovation - Entrepreneurial - Global The Centre for Technology enabled Teaching & Learning, N Y S S, India DTEL DTEL (Department for Technology.
Computer Graphics CC416 Lecture 04: Bresenham Line Algorithm & Mid-point circle algorithm Dr. Manal Helal – Fall 2014.
IS502:M ULTIMEDIA D ESIGN FOR I NFORMATION S YSTEM D IGITAL S TILL I MAGES Presenter Name: Mahmood A.Moneim Supervised By: Prof. Hesham A.Hefny Winter.
Graphics Graphics Korea University kucg.korea.ac.kr Mathematics for Computer Graphics 고려대학교 컴퓨터 그래픽스 연구실.
Why Is It There? Chapter 6. Review: Dueker’s (1979) Definition “a geographic information system is a special case of information systems where the database.
CSE 554 Lecture 8: Alignment
Spatial analysis Measurements - Points: centroid, clustering, density
Presentation transcript:

Lecture 08: Map Transformation Geography 128 Analytical and Computer Cartography Spring 2007 Department of Geography University of California, Santa Barbara

Review of the transformational view of Cartography Transformations – Map scale – Dimension – Symbolic content – Data structures Why Transform? – We may wish to compare maps collected at different scales. – We may wish to convert the geometry of the map base. – We may wish or need to change the map data structure.

Robinson's Classification

Robinson's Classification (cnt.) Robinson's Classification was based on dimension and level of measurement Dimension of measurement – Zero dimensional – One dimensional – Two dimensional – Three dimensional ? Level of measurement idea is from Stevens (1946) – Nominal data assume only existance and type. An example is a text label on a map. – Ordinal data assume only ranking. Relations are like "greater than". – Interval data have an arbitrary numerical value, with relative value. Example: Elevation. – Ratio data have an absolute zero and scale.

Transformations as Stages in Map Production Transformation of level can be shown in making a choropleth map. This transformation is not invertible, but can be error measured and minimized.

David Unwin’s Extended Classification Robinson’s idea was extended by David Unwin. Unwin separated issue of data from issues of mapping method, (map type and data type)

State Changes and Transformations Cartographers are interested in the full set of state transformation. Each map has an optimal path through the set. Design cartography primarily concentrates on the last, or symbolization transformation. Four types of transformations shape the mapping process: – Geocoding (transforming entities to objects: levels, dimension, data structure) – Map Scale – Locational Attributes or Map Base – Symbolization

Scale Transformations Some transformations "collapse" space: e.g. area to point. Map scales of interest to cartography are 1:1,000 to 1:400M. Transformations from larger to smaller scale by the process of generalization. At the minimum, generalization involves simplification, elimination, combination and displacement.

Some Generalization Problems Length Shape Topology

Map Generalization and Enhancement These steps are conducted under specified and consistent rules. An example is the set of algorithms for point elimination along a line. The inverse of this adds points along a line: enhancement

Transformations and Algorithms In mathematics, transformations are expressed as equations. Solutions, inversion as so forth are by algebra, calculus etc. In computer science, a set of transformations defining a process is called an algorithm. Any process that can be reduced to a set of steps can be automated by an algorithm data structures + transformational algorithms = maps +=

Transformations and Algorithms (cnt.)

Transformations of Object Dimension The four dimensions of dimension, data can be represented at any one in one state Transformations can move data between states Full set of state zero to state one transformations is then 16 possible transformations Dimensional transformation are only one type When dimension collapses to "none" result is a measurement

Map Transformation Algebra Transformations map closely onto Matrix algebra Almost all spatial data can be placed into an (n x m) or (n x p) matrix Transformations can then be by convolution (iteration of a matrix over an array OR By selecting a small matrix (2 x 2) or (3 x 3) for multiplication Complex transformations can be compounded

Transformations as Multiple Steps (Dimensional Transforms)

Map Transformation Algebra (cnt.) Matrices have inverses, which reverse effect of multiplication to yield the identity matrix Error creep in when inversion does not result in identity matrix

Map Projection Transformations Map projections represent many different types of transformation Perfectly invertible (one-to-one) One-to-many Many-to-one Undefined (non-invertible) Imperfectly invertible, e.g. on ellipsoid and geoid, computational error, rounding etc. Some transformations use iterative methods i.e. algorithms, not formulas

Geographic Coordinate Transformation

Equatorial Mercator Transformation

Planar Geometry vs. Spherical Geometry Rule of Sines – Distance between points

Planar Map Transformations on Points - Length of a line Repetitive application of point-to-point distance calculation For n points, algorithm/formula uses n-1 segments

Planar Map Transformations on Points - Centroids Multiple point or line or area to be transformed to single point Point can be "real" or representative Mean center simple to compute but may fall outside point cluster or polygon Can use point-in-polygon to test for inclusion

Planar Map Transformations on Points - Standard Distance Just as centroid is an indication of representative location, standard distance is mean dispersion Equivalent of standard deviation for an attribute, mean variation from mean Around centroid, makes a "radius" tracing a circle

Planar Map Transformations on Points - Nearest Neighbor Statistic NNS is a single dimensionless scalar that measures the pattern of a set of point (point-> scalar) Computes nearest point-to-point separation as a ratio of expected given the area Highly sensitive to the area chosen

Planar Map Transformations Based on Lines - Intersection of two lines Absolutely fundamental to many mapping operations, such as overlay and clipping. In raster mode it can be solved by layer overlay. In vector mode it must be solved geometrically. Lines (2) to point transformation

Planar Map Transformations Based on Lines - Intersection of two lines (cnt.) When using this algorithm, a problem exists when b2 - b1 = 0 (divide by zero) Special case solutions or tests must be used These can increase computation time greatly Computation time can be reduced by pre-testing, e.g. based on bounding box.

Planar Map Transformations Based on Lines - Distance from a Point to a Line

Planar Map Transformations Based on Areas Computing the area of a vector polygon (closed) Manually, many methods are used, e.g. cell counts, point grid. For a raster, simply count the interior pixels Vector Mode more complex

Planar Map Transformations Based on Areas

Planar Map Transformations Based on Areas - Point-in-Polygon Again, a basic and fundamental test, used in many algorithms. For raster mode, use overlay. For vector mode, many solutions. Most commonly used is the Jordan Arc Theorem Tests every segment for line intersection. Test point selected to be outside polygon.

Planar Map Transformations Based on Areas - Theissen Polygons Often called proximal regions or voronoi diagrams Often used for contouring terrain, climate, interpolation, etc cNeel/PointsetReconstruction.html

Affine Transformations These are transformation of the fundamental geometric attributes, i.e. location. Influence absolute location, not relative or topological Necessary for many operations, e.g. digitizing, scanning, geo-registration, and display Affine Transformations take place in three steps (TRS) in order – Translation – Rotation – Scaling

Affine Transformations - Translation Movement of the origin between coordinate systems

Affine Transformations - Rotation Rotation of axes by an angle theta

Affine Transformations - Scaling The numbers along the axes are scaled to represent the new space scale

Affine Transformations Possible to use matrix algebra to combine the whole transformation into one matrix multiplication. Step must then be applied to every point

Statistical Space Transformations - Rubber Sheeting Select points in two geometries that match Suitable points are targets, e.g. road intersections, runways etc Use least squares transformation to fit image to map Involves tolerance and error distribution [x y] = T [u v] then applied to all pixels May require resampling to higher or lower density

Statistical Space Transformations - Cartograms also known as value-by-area maps and varivalent projections (Tobler, 1986) Deliberate distortion of geometry to new "space" Type of non-invertible map projection

Symbolization Transformations Screen coordinates are often reduced to a "satndard" device – Normalization Transformation Standard Device display dimensions are (0,0) to (1,1) World Coordinates-> Normalized Device Coordinates > Device Coordinates

Drawing Objects Most use model of primitives and attributes The Graphical Kernel System (GKS) has six primives, each has multiple attributes.

Next Lecture Data Structure Transformation