CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in...

19
CS 128/ES 228 - Lecture 5 a 1 Raster Formats (II)
  • date post

    21-Dec-2015
  • Category

    Documents

  • view

    215
  • download

    0

Transcript of CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in...

Page 1: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 1

Raster Formats (II)

Page 2: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 2

Spatial modeling in raster format

Basic entity is the cell

Region represented by a tiling of cells

Cell size = resolution

Attribute data linked to individual cells

Page 3: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 3

Issue #1 - resolution

Larger cells: less precise

spatial fix

line + boundary thickening

features too close overlap - less detail possible

Page 4: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 4

Why not always use tiny cells?

Data inputs may have limited spatial resolution - pixel size for aerial, satellite photos- reliability of coordinate measurements

Size of data files

Speed of analysis

Page 5: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 5

Issue #2 - determining cell values Data inputs may already

contain cell values: aerial, satellite photos

Cell values may be assigned: “pseudocolors”

Ultimately all cell values must be coded numerically

Page 6: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 6

Image depth minimum = 1 bit

B/W image or P/A data

8-bit image = 256 levels of gray (can be pseudo-colored)

24-bit image = true-color. Each primary color has separate layer

Page 7: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 7

Determining cell values

Page 8: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 8

Fuzzy set classification

Page 9: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 9

Filtering raster data

Neighborhood averaging

Smoothes “holes” and transitions

Other techniques available

Chang 2002, p. 203

Page 10: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 10

Additional attribute data

Some GISs provide a VAT linked to individual cells (e.g. ArcInfo GRID)

VAT data then accessible to database management system

Page 11: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 11

Issue #3 - layers in raster format

Each layer must be referenced in common coordinates

Thematic data can be combined and revised (reclassified)

Page 12: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 12

Analysis by raster overlay

Page 13: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 13

Lack of spatial registration

Page 14: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 14

Georeferencing raster images

Spatial coordinates may be absent or purely map coordinates (i.e. inches from one corner)

Control points: point features visible on both the image and the map

Linear or nonlinear transformations

“Rubber sheeting”

Page 15: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 15

Issue #4 – mosaicking rasters

http://www.microimages.com/featupd/v57/mosaic/

Page 16: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 16

Raster mosaicking: adjusting color values

Histogram matching:

Computer compiles histogram of color (or gray) values in 1 tile

2nd tile’s colors adjusted to match

Page 17: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 17

Raster mosaicking: matching edges

Matching edges:

Edge feathering

Cutline feathering

Page 18: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 18

Raster data editing

Page 19: CS 128/ES 228 - Lecture 5a1 Raster Formats (II). CS 128/ES 228 - Lecture 5a2 Spatial modeling in raster format  Basic entity is the cell  Region represented.

CS 128/ES 228 - Lecture 5a 19

Summary

A huge amount of spatial data are available in raster format

Rasters make excellent “base maps”

Easy to layer but watch coordinate systems!

Difficult/impossible to edit or reproject USGS Digital Raster Graphic (DRG) Quadrangle

(1:24,000 scale - UTM Zone 17, NAD 27)