Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

72
Working with Imagery in ArcGIS 10 Jennifer Kuntz

Transcript of Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Page 1: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Working with Imagery in ArcGIS 10

Jennifer Kuntz

Page 2: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Overview of Presentation

• Imagery Overview• Display “Looks Great, Draws Quickly”

- Image Analysis Window- Acceleration

• Process- Image Analysis Window (part 2)- Data Extraction

• Manage• Serve

Page 3: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

What is imagery in ArcGIS?

Imagery is raster data- Aerial photography- Satellite imagery- Thermal imagery- Digital elevation models- Scanned maps- Land classification- Surfaces created

from analysis

Page 4: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Adding Imagery and Raster Data

• File on disk

• Geodatabase

Mosaic dataset

• Stored like a raster catalog• With more capabilities• Metadata is stored in attributes

• User experience like a raster dataset

Page 5: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Adding Imagery and Raster Data

ArcGIS Online Map Service

Image Service WCS / WMS Service

Page 6: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Raster Properties

• Data source- Type of file and location

• Raster information- Information about the pixels

• Extent- Top, bottom, left and right extents

• Spatial reference- Coordinate system information

• Statistics- Min, max, mean, and standard deviation (per band)

Page 7: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Raster Datasets - Properties

Unstretched:Min: 24

Max: 241

Stretched:Min: 0Max: 255

• Pyramids- Reduced resolution copies of the source- Improve display performance- Support three resample methods- Can be compressed (new)

• set in GeoProcessing environment

• Statistics- Enhance visual display

• Build Pyramids and Statistics tool (new)

Nearest neighbor

Bilinear interpolation

Cubic convolution

Factor of 2

Page 8: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Display

Page 9: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Displaying Raster Data

• Renderers- Display your data with a renderer that makes your data

look good

• Image Analysis window- Common capabilities in one easy to access location

Page 10: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Stretched renderer

• Often used for elevation, satellite and aerial imagery• Default: when raster has more than 25 unique values

- Stretches values along a color ramp

Page 11: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Stretched rendererNEW at ArcGIS 10

• Percent clip stretch

• Advanced labeling

Page 12: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

RGB renderer

• Often used for satellite imagery and aerial photos• Default: Raster has 3 or more bands

- Displays each band through a different color (Red, Green, and Blue)

Page 13: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Unique Values renderer

• Often used for land use and scanned maps• Default: Raster has fewer than 25 unique values

- Uses random colors for individual values

Page 14: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Unique Values rendererNEW at ArcGIS 10

• Create a custom CLR file

Page 15: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Colormap renderer

• Often used for land use and soil maps for consistency

• Default: Colormap is present- Uses pre-chosen colors for individual values

6 =

1 = = 255 , 255 , 50 = 0 , 0 , 175

3 = = 255 , 175 , 20 4 = = 135 , 90 , 0 5 = = 120 , 215 , 0

= 0 , 100 , 15 7 = = 100, 220 , 255

2 =

Page 16: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Classified renderer

• Often used for grouping data values• Not a default renderer; can be used for single band

data• Places ranges of pixels into separate categories

Page 17: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Image Analysis window

• Many rendering and processing tools to make your imagery work easier and faster

• You are able to change the following display parameters:

- effects tools- symbology tools (gamma level, DRA, stretch,

etc)- choose the resampling method- accelerate raster

Page 18: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Raster Display

Page 19: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Processing and Analyzing

Page 20: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Processing raster data in ArcGIS

• Combining bands• Clipping• Mosaicking• Pansharpening• Orthorectifying• …

Page 21: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Combining Bands

• Combine many images into a multi-band raster• Input bands can be from a single or multiple band

raster dataset• Composite with geoprocessing

tool or Image Analysis window

Composite Bands

Page 22: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Clipping

• Clip a portion of raster to fit your study area• Clip with geoprocessing tools or with Export Data

dialog window• Clip on-the-fly with Image Analysis window

- Also able to mask (instead of clip)

Clip

Page 23: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Mosaicking

• Combine two more adjacent and overlapping rasterstogether

• Many mosaic geoprocessing tools:- Workspace to raster dataset- Raster catalog to raster dataset

• Mosaicking on-the-fly- Mosaic button on the Image Analysis window- Mosaic dataset (virtual mosaic)

Page 24: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Pansharpening

• Fuse a low resolution RGB image with a high resolution panchromatic image

- Output is a high resolution color image

• Geoprocessing tool, raster symbology tab, or Image Analysis window

Page 25: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Orthorectify

• Display an image with more accuracy- Requires an image with sensor model and an elevation

source

• Geoprocessing tool, raster display tab, or Image Analysis window

Page 26: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Image Analysis window

Clip Export data

Composite bands

NDVI

Colormap to RGB

Difference

Pan-sharpening

Orthorectify

MaskShaded relief

Mosaic

Filter

Page 27: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Image Classification

• Spatial Analyst Extension• Extract classes from multiband raster imagery• Supervised or unsupervised• Image Classification toolbar

Page 28: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Raster Analysis

Page 29: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Manage

Page 30: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Imagery Management Challenges

• Many sources

• High resolution and large volume

• Requirements: - Store efficiently- Easy to search- Fast to process- Accessible

Page 31: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

ArcGIS 10 Image Management Recommendations

• Manage individual images using raster datasets

• Manage image collections using new mosaic datasets

Page 32: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Licensing

• Mosaic Dataset- View: ArcView license- Create / edit: ArcInfo/ArcEditor license- Serve: ArcGIS server + Image extension license

• Raster Dataset- View: ArcView license- Create / edit: ArcInfo/ArcEditor license- Serve: ArcGIS server

Page 33: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Raster Datasets – Recommendations

• Use it “as is”- Especially for compressed formats

• Better performance- Convert to tiled TIFF using the CopyRaster tool- JPEG compressed TIFF if lossy compression is allowed

- File Geodatabase raster dataset is also a comparable format

Page 34: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Managing Imagery Collections

• Solution in 9.3 is raster catalog- image service definition

• Solution in 10 is mosaic dataset

Page 35: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Raster Catalogs

• A data model for managing a collection of images in 9.3

- Stores footprints and rasters in a table- Managed/unmanaged

• Uses- Catalog images and maintain overlaps- Search based on attributes and location- Access selected members- Display footprint/pixel view

• Limitations- Do not support sensor data and metadata- No overview- Can’t be served by ArcGIS server

Page 36: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Mosaic Datasets - New Geodatabase Data Model

• Manage and serve collection of images- Supported in SDE/FGDB/PGDB- Does not load source pixels into geodatabase,

instead references imagery

• Manage data with an internal raster catalog

• Displays like a raster dataset

• On-the-fly image processing

Mosaic Dataset

Page 37: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Mosaic Dataset rendering

• Footprint view - View the minimum bounding rectangle for each raster

Page 38: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Mosaic Dataset rendering

• Rendering pixels – similar to a raster dataset- Level of detail – like scale dependency- Overviews – like pyramids

1 : 100 000

1 : 25 000

Page 39: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Mosaic Dataset Storage – Catalog Table

• A special raster catalog - Shape field stores the footprints- Raster field stores raster dataset information

• Function raster datasets- Contains functions and input of the functions- Defined by raster type and populated when rasters are

added

• MinPS and MaxPS define the visible ranges of the rasters

OID Shape Raster Name LowPS HighPS MinPS MaxPS Category …

1 Polygon <Raster> P01.met 10 30 0 90 Primary

2 Polygon <Raster> P02.met 10 30 0 90 Primary

5 Polygon <Raster> filename1.tif 90 90 90 270 Overviews

Page 40: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Mosaic Dataset – Mosaic Rules

• Control which raster/pixels to display

• Mosaic method to sort the rasters- Closest to center (default)- By attribute- Closest to nadir- North west- Seamline

• Mosaic operator to resolve the overlaps- First/Min/Max/Mean/Blend

Closest to the center

By attribute: cloud cover

Page 41: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Mosaic dataset: on-the-fly processing

• Imagery processed as it is accessed• Can create multiple products from one source• Processing

- Image enhancement- Combine bands- Color correction- Orthorectification- Pan-sharpen- Shaded relief, hillshade

• Define processing functions- On each raster dataset- On a mosaic dataset

Page 42: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Mosaic Datasets - Advantages

StorageEliminates redundancy

Preserves informationOverlapping Imagery

MaintenanceStreamlines image updates

Image QualityReduces resampling

ScalableCatalog large image collections

Sensor support Support multiple sensors

Seamless Displayat all scales

Processing TimeReduces processing

MetadataMaintains valuable information

Disparate DatasetsManages large NoData areas

Page 43: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Data Management Recommendations

• Use your existing data model if they continue to meet your existing application requirements

• Use the mosaic dataset for new applications

• Migrate to the mosaic dataset to take advantages of its new features

Page 44: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Mosaic Dataset – Usage

• A composite layer of- Boundary/Footprint/Image

• Use as a catalog- Search images- View metadata- Add selected images to Map- Time aware

• Use as a raster dataset- Display like a raster layer- Export a raster dataset- Use as an input to geoprocessing tool

• Serve as an image service

Page 45: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Using Mosaic Datasets

Page 46: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Build a Mosaic Dataset

• In ArcCatalog• Mosaic dataset toolset• Automate with model and python

• Typical workflow- Create a mosaic dataset- Add rasters

- Calculate cell size range- Build boundary

- Build overviews (optional)- Edit properties (optional)

Page 47: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Build a Mosaic Dataset - Create

• Create table schema and define pixel properties

• Spatial reference (required)- Used in footprints and overviews- Define a proper one- Datum consideration

• Number of bands- Taken from the first added raster

• Pixel type- Taken from the first added raster

Page 48: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Build a Mosaic Dataset – Add Rasters

• Use Add Rasters to Mosaic Dataset tool

• Choose a raster type- Define the format to crawl- Metadata to read and fields to create- Processes to apply

• Support many raster types- Raster Dataset/NITF/CADRG/etc.- QB/IKONOS/GeoEYE/WorldView/etc- Web Services- Table/Image Service Definition

Page 49: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Build a Mosaic Dataset – Overviews

• Resampled rasters- Multiple levels- Multiple tiles for each level

• Seamless image display

Overview: 180m(range: 180-1800)

Sources: 20m(range: 0-20)

Overviews: 60m(range:60-180)

PS=100

Page 50: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Build a Mosaic Dataset – Overviews (Cont…)

• Build Overviews tool- Generate overview images

• Define Overviews tool - Redefine the default parameters

• Optionally add an external raster as overview

OID Shape Raster Name LowPS HighPS MinPS MaxPS Category …

1 Polygon <Raster> P01.met 10 30 0 90 Primary

2 Polygon <Raster> P02.met 10 30 0 90 Primary

3 Polygon <Raster> filename1.tif 90 90 90 900 Overviews

4 Polygon <Raster> filename2.tif 90 90 90 900 Overviews

Default overview parameters:TIFF format with JPEGSize is 5120x5120 Factor of 3Overview location

Page 51: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Building a Mosaic Dataset – Managing Background

• Footprint- Build Footprint tool- Edit using Editor- Import using Import Mosaic Dataset

Geometry tool

• Define NoData- Set NoData based on a value- Set NoData based on a range

Use footprint

Use NoData

Page 52: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Building a Mosaic Dataset – Update

• Add new rasters- Use Add Raster tool - Use Synchronize Mosaic Dataset

tool

• Remove Rasters- Use Remove Rasters from Mosaic

Dataset tool

• Sources rasters are changed- Changes in geometric/metadata/etc. - Update with Synchronize Mosaic

Dataset tool

Page 53: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Mosaic Dataset – Advanced Mosaicking

• Color correction- Balance to a color surface- Balance to an existing target- Support excluded area- Color Correction window

• Seamline- Build Seamline tool- Modify seamline using Editor- Import seamline feature class

Before

After

Page 54: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Mosaic Dataset – Editing Raster Functions

• Process image on-the-fly- Image enhancement- Orthorectification, Pan-

sharpen- Shaded relief, hillshade, etc

• Add at mosaic dataset level• Add at raster level

- Apply to the raster

Page 55: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Referenced Mosaic Dataset

• References an external mosaic dataset or raster catalog

- Supported in GDB and file (.amd)- Catalog table is not editable

• Created by specifying- Definition query- Area of interest

• Provides multiple views of the source mosaic dataset• Prevents editing of the source mosaic dataset

Where Sensor = Landsatand Cloud <10%

Boundary = My County

Add NDVI processing

Page 56: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Image Management Patterns

• Create mosaic datasets with data ofsimilar type

• Elevation

• Ortho images of same date

• Imagery with similar sensor, number of bands, and bit depth

• QuickBird/IKONOS

• Landsat 5 or 7

• Create referenced mosaic datasets to publish

Mosaic Dataset to manage data

Reference Mosaic Dataset to publish

Page 57: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Build Mosaic Datasets

Page 58: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Serve

Page 59: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Main ways to serve imagery

• Image service- Image or raster data made available by a server to a

client application

• Map service- Published map document containing an image layer

• Other- Globe service, mobile service, geodata service…

Page 60: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Image Service versus Map Service

Image service Map service

Serves raster data directly Serves a map document containing raster or vector data

Image service layer properties can be altered by client

• Compression• Rendering• Band combinations

Client views map service as it was designed

Client cannot change layer properties

Can be saved as a layer and used as a data source

Can build cache

Page 61: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

What can you do with an image service?

• Use it as an image (visual analysis)• Use it as raster data (pixel analysis)• Access it as a catalog (mosaic dataset)

Page 62: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Image service source data

• Data sources- Raster datasets- Mosaic datasets new

- Requires ArcGIS Server Image Extension

- Raster or mosaic layers - To control rendering- Preset some layer properties- Predefined query

Page 63: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Publishing an image service

• Same process as publishing any service with ArcGIS Server

- via ArcCatalog- via Server Manager

• Properties unique to image services- Capabilities- Parameters

• Some capabilities are specific to the data

Page 64: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Image Service Capabilities

Limits what operations users can do with your Web service

Image Allows the image to be displayed (Absorbed the Mosaic operation in 9.3x)

Metadata Allows the client to see metadata for the image service and for each raster in a mosaic dataset

Catalog Allows the client to open the table of a mosaic dataset when it is served

Download Allows rasters to be downloaded when serving a mosaic dataset

Pixels Allows the API developer to access the pixel blocks of the individual rasters in a mosaic dataset

Page 65: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Image Service Parameters

• Control the image data• Imagenew, Catalognew, Downloadnew, and Output• Parameters depend on the input for the image

service• Some can be altered by the server administrator• Server administrator cannot exceed limitations for

some of the parameters- Such as: allowed mosaic methods, the maximum

number of rasters per mosaic

Page 66: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Image Service Parameters: Image

• Affect the image that users connected to the image service will see

RD MD LayersMax image size per request

Default resampling method

Compression methods and quality

Max # of rasters per mosaic

Allowed mosaic methods

Page 67: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

How can you access an image service?

• ArcGIS Desktop• ArcGIS Explorer• Web APIs (Silverlight, Flex, JavaScript)• ArcGIS.com• REST, SOAP• WMS, WCS, KML• 3rd Party Applications

Page 68: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Serving and Accessing Image Services

Page 69: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Resources

Page 71: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS

Resources

• Resources.esri.com- Blog (RSS feed)- Samples- Videos- Forums- More…

Page 72: Working with Imagery in ArcGIS10 - Welcome to the Nebraska GIS/LIS