U.S. Department of the Interior U.S. Geological Survey Reprojecting Raster Data of Global Extent Auto-Carto 2005: A Research Symposium 21 - 23 March, 2005.

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

CSE 781 Anti-aliasing for Texture Mapping. Quality considerations So far we just mapped one point – results in bad aliasing (resampling problems) We really.
Line Drawing Algorithms. Rasterization-Process of determining which pixels give the best approximation to a desired line on the screen. Scan Conversion-Digitizing.
Graphics Pipeline.
An Open-Source, Object-Oriented General Cartographic Transformation Program (GCTP) Michael S. Williams, Michael P. Finn*, and Robert A. Buehler** United.
CHAPTER 12 Height Maps, Hidden Surface Removal, Clipping and Level of Detail Algorithms © 2008 Cengage Learning EMEA.
With support from: NSF DUE in partnership with: George McLeod Prepared by: Geospatial Technician Education Through Virginia’s Community Colleges.
Rapid Raster Projection Transformation and Web Service Using High-performance Computing Technology 2009 AAG Annual Meeting Las Vegas, NV March 25 th, 2009.
Video Object Tracking and Replacement for Post TV Production LYU0303 Final Year Project Spring 2004.
Geographic Information Systems
Neural Networks. R & G Chapter Feed-Forward Neural Networks otherwise known as The Multi-layer Perceptron or The Back-Propagation Neural Network.
Geographic Information Systems. What is a Geographic Information System (GIS)? A GIS is a particular form of Information System applied to geographical.
Map Analysis with Raster Datasets Francisco Olivera, Ph.D., P.E. Department of Civil Engineering Texas A&M University.
GIS Actors in Kepler - Java-based, GDAL-JNI, and C++(Grass) Routines Dan Higgins - UC Santa Barbara (NCEAS) Chad Berkley – UC Santa Barbara (NCEAS) Jianting.
Map Projections Displaying the earth on 2 dimensional maps
Rebecca Boger Earth and Environmental Sciences Brooklyn College.
Introduction to ArcGIS for Environmental Scientists Module 2 – GIS Fundamentals Lecture 5 – Coordinate Systems and Map Projections.
Map Projection & Coordinate Systems
Image processing Lecture 4.
Small-Scale Raster Map Projection using the Compute Unified Device Architecture (CUDA) U.S. Department of the Interior U.S. Geological Survey Michael P.
Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-3 Chapters 5 and 6.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-2 CAD Systems Industrial Engineering Department King Saud University.
GROUP 4 FATIN NUR HAFIZAH MULLAI J.DHANNIYA FARAH AN-NUR MOHAMAD AZUWAN LAU WAN YEE.
GEOREFERENCING SYSTEMS
Image Registration January 2001 Gaia3D Inc. Sanghee Gaia3D Seminar Material.
1 Babak Behzad, Yan Liu 1,2,4, Eric Shook 1,2, Michael P. Finn 5, David M. Mattli 5 and Shaowen Wang 1,2,3,4 Babak Behzad 1,3, Yan Liu 1,2,4, Eric Shook.
COMP 175: Computer Graphics March 24, 2015
Geometric Correction It is vital for many applications using remotely sensed images to know the ground locations for points in the image. There are two.
Introduction to SPSS Edward A. Greenberg, PhD
U.S. Department of the Interior U.S. Geological Survey Accurate Projection of Small-Scale Raster Datasets 21 st International Cartographic Conference 10.
Raster Data Chapter 7. Introduction  Vector – discrete  Raster – continuous  Continuous –precipitation –elevation –soil erosion  Regular grid cell.
Coordinate Systems Global Coordinate System – Latitude, Longitude and elevation UTM – eastings and northings, reference points are the equator and the.
U.S. Department of the Interior U.S. Geological Survey Analysis of Resolution and Resampling on GIS Data Values E. Lynn Usery U.S. Geological Survey University.
GIScience 2000 Raster Data Pixels as Modifiable Areal Units E. Lynn Usery U.S. Geological Survey University of Georgia.
Image Preprocessing: Geometric Correction Image Preprocessing: Geometric Correction Jensen, 2003 John R. Jensen Department of Geography University of South.
Small-Scale Raster Map Projection Transformation Using a Virtual System to Interactively Share Computing Resources and Data U.S. Department of the Interior.
AUTOMATING THE TERASCAN IMAGE PROCESS Mentor: Keisha Wilkins Brandi R. Brehon Jameson D. Gibbs.
U.S. Department of the Interior U.S. Geological Survey Access to MODIS Land Data Products Through the Land Processes DAAC John Dwyer and Carolyn Gacke,
CHAPTER 4 RASTER DATA MODEL 4.1 Elements of the Raster Data Model
Intro to Raster GIS GTECH361 Lecture 11. CELL ROW COLUMN.
Raster Concepts.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Aquarius Level-3 Binning and Mapping Fred Patt. Definitions Projection - any process which transforms a spatially organized data set from one coordinate.
URBDP 422 URBAN AND REGIONAL GEO-SPATIAL ANALYSIS Lecture 3: Building a GeoDatabase; Projections Lab Session: Exercise 3: vector analysis Jan 14, 2014.
U.S. Department of the Interior U.S. Geological Survey Elements of a Global Model: An Example of Sea Level Rise and Human Populations at Risk E. Lynn Usery.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
INTRODUCTION TO GIS  Used to describe computer facilities which are used to handle data referenced to the spatial domain.  Has the ability to inter-
2D Output Primitives Points Lines Circles Ellipses Other curves Filling areas Text Patterns Polymarkers.
U.S. Department of the Interior U.S. Geological Survey Automatic Generation of Parameter Inputs and Visualization of Model Outputs for AGNPS using GIS.
Spatial Analysis with Raster Datasets-1 Francisco Olivera, Ph.D., P.E. Srikanth Koka Department of Civil Engineering Texas A&M University.
U.S. Department of the Interior U.S. Geological Survey Projecting Global Raster Databases July 11, 2002 Joint International Symposium on GEOSPATIAL THEORY,
Roger W. Brode U.S. EPA/OAQPS/AQAD Air Quality Modeling Group AERMAP Training NESCAUM Permit Modeling Committee Annual Meeting New London, Connecticut.
Chapter 3- Coordinate systems A coordinate system is a grid used to identify locations on a page or screen that are equivalent to grid locations on the.
Computer Graphics CC416 Lecture 04: Bresenham Line Algorithm & Mid-point circle algorithm Dr. Manal Helal – Fall 2014.
Review of Projections and Coordinate Systems
Geospatial Data Abstraction Library(GDAL) Sabya Sachi.
Chapter 8 Raster Analysis.
GEOGRAPHICAL INFORMATION SYSTEM
GEOGRAPHICAL INFORMATION SYSTEM
INTRODUCTION TO GEOGRAPHICAL INFORMATION SYSTEM
Introduction to GIS.
Hierarchical Architecture
The Graphics Rendering Pipeline
Spatial Analysis: Raster
GTECH 709 GIS Data Formats GIS data formats
Map Projections Displaying the earth on 2 dimensional maps
2009 AAG Annual Meeting Las Vegas, NV March 25th, 2009
Spatial Analysis: Raster
Map Projections Displaying the earth on 2 dimensional maps
Spatial Analysis with Raster Datasets-1
Presentation transcript:

U.S. Department of the Interior U.S. Geological Survey Reprojecting Raster Data of Global Extent Auto-Carto 2005: A Research Symposium March, 2005 Las Vegas, Nevada E. Lynn Usery

Reprojecting Raster Data of Global Extent Daniel R. Steinwand,  Science Applications International Corp., USGS National Center for Earth Resources Observation and Science (EROS), Sioux Falls, SD Michael P. Finn, Jason R. Trent, E. Lynn Usery, and Robert A. Buehler,  USGS, Mid-Continent Mapping Center, Rolla, MO

Outline Objectives Approach Methods  Coordinate Transformations  Framing (Output Frame)  Forward vs. Inverse Mapping (Reprojection)  Wraparound  Resampling Implementing a map image projection program Conclusions

Objectives Solve problems associated with projection of global raster datasets and corresponding errors to global environmental models Provide a software package that better handles known problems (including raster categorical resampling) for wide use in the modeling community

Approach Expand on previous research Handle identified issues and problems Chain various geospatial, computational, and map projection methods into a solution framework Implement a software package to handle the reprojection of global raster datasets

Methods Coordinate Transformations Framing  Output Frame (Geographic MinBox and Direct Specification) Forward vs. Inverse Mapping  Reprojection (Algorithm) Wraparound Resampling  Categorical Resampling

Coordinate Transformations Subroutine packages usually operate on a point- by-point basis General Cartographic Transformation Package (GCTP)  Point-by-point basis  C programming language Works for both vector and raster data Datum transformations usually included

Framing Extent of the image (raster data) in projection space Where and how that space is aligned with the image coordinate system First-order transformation (translation and scaling) Tie two coordinate systems together  UL image pixel to center of UL pixel in projection space Equations (image to/ from projection coordinates) Determine Output Image Frame

Framing Equations Image to/ from projection coordinates X = ULprojX + (sample – 1) * pixelSizeX Y = ULprojY – (line – 1) * pixelSizeY Line = (ULprojY – Y)/pixelSizeY + 1 Sample = (X – ULprojX)/PixelSizeX + 1 (Upper Left image pixel is pixel (1,1), i.e., 1-relative coordinates)

Determine Output Image Frame The geographic extent of the (re)projection output image  In units of the output image projection system Common Methods  The geographic MinBox  Direct specification of output projection extent

Determine Output Image Frame The Geographic MinBox User defines output image extent with UpperLeft and LowerRight geographic coordinates

Determine Output Image Frame The Geographic MinBox The frame is conceptualized in geographic space (with grid lines added for clarification)

Determine Output Image Frame The Geographic MinBox This space is converted to the output projection. Corners & Sides of the frame are converted (piecewise) and projection coordinate minimums and maximums are recorded.

Determine Output Image Frame The Geographic MinBox Locations of the min/max projection coordinates are noted.

Determine Output Image Frame The Geographic MinBox The minimum and maximum extents form the MinBox— this is the extent of the output image. The number of lines and samples are determined by dividing these dimensions by the pixel size.

Determine Output Image Frame The Geographic MinBox If the MinBox algorithm is not applied, and only the UL and LR geographic coordinates are used to determine projection min/max, clipping of the frame can occur.

Determine Output Image Frame Direct specification of projection extent User specifies the min and max coordinates of the output space  Or, alternatively: Specify the UL corner of the image and the number of lines and samples

Forward vs. Inverse Mapping Inverse mapping algorithm  Steps through the output image space and calculates the corresponding coordinates in the input image; then selects the pixel value (and perhaps neighboring values) at those input coordinates

Inverse Mapping Algorithm Pseudo Code Simplest case: point-by-point, nearest neighbor For each line in the output image: For each pixel in this output image line: Determine the output space projection coordinate for this pixel Convert the coordinate to the input space projection Determine the input space image coordinate Grab the image value(s) at the input image coordinate

The Wraparound Problem

Resampling Geospatial data of global extent can suffer from great geometric distortions when being reprojected Errors associate with these distortions and scale changes affect resampling within the reprojection function, especially for categorical data

Resampling Nearest Neighbor 1 point in the output space image and map that point into the input image space (via the inverse mapping algorithm)

Resampling Nearest Neighbor If the resolution of the output imagery is reduced (downsampling), adjacent pixels in the output may fall more the 1 pixel away in the input (via the inverse mapping algorithm)

Categorical Resampling New resampling algorithm treats pixels as areas (not points, Steinwand (2003)) 4 corners of each pixel are mapped into the input space Many pixels involved  Can apply simple statistical methods to determine output image pixels based on the area the pixel coverage in the input image

MapImg: An Implementation Typical Output Solves wraparound problem Extreme Downsampling and Reprojection with the Nearest Neighbor

MapImg: Output Can provide better categorical resampling in extreme downsampling

MapImg Stand-Alone Program Multiplatform  MS Windows  UNIX (many variants)  Linux User interface (startup screen)

MapImg Program controls Via dialog boxes  Data type  User’s projection choices  All parameter entries Provides user’s with  Reprojected image  A metadata file  Summary window  Optional log file

MapImg C and C++ GCTP at the core Software design =>

MapImg Metadata (.info) F ile Data ParameterComments Rows & ColumnsSpace delimited integers Projection NumberGCTP code for the map projection Zone NumberFor UTM projection Unit TypeFor length measurements (currently only supports meters) Spheroid NumberGCTP code for datum (currently only supports sphere of radius meters) Pixel SizeScale width of a pixel in areas of true scale Upper Left Longitude/ Upper Left Latitude Geographic coordinates of corner 15 GCTP parametersSpace delimited real number (floating point) values Data typePre-defined string

MapImg Techniques, I/O, Data Structures, Algorithms Utilizes multiple techniques for input, storage, and output of various data files (primarily generic binary raster images) 3 primary data structures  IMGINFO structure  The projinfo class  The GUI 2 major algorithms within mapimg.exe  mapframeit()  mapimg()

mapimg.exe mapframeit algorithm  Calculates the row and column dimension  Caluclates the UL corner for a given projection mapimg algorithm  Loops through every row and column in the output raster and loads the appropriate value  Checks for fill values and wraparound  Controls I/O buffering for time optimization

Conclusions Projection of global raster data is a significant problem Categorical resampling with modal categories yields better results than nearest neighbor methods MapImg program provides solutions to raster data reprojection for a variety of computer architectures and is freely available

U.S. Department of the Interior U.S. Geological Survey Reprojecting Raster Data of Global Extent Auto-Carto 2005: A Research Symposium March, 2005 Las Vegas, Nevada