Docsity

Spatial Filtering and Image Processing with Imagine Mosaic Tool - Prof. Robert D. Ramsey, Lab Reports of Forestry

Partial preview of the text

Download Spatial Filtering and Image Processing with Imagine Mosaic Tool - Prof. Robert D. Ramsey and more Lab Reports Forestry in PDF only on Docsity!

WILD 5750/

LAB 5

OCTOBER 2, 2006

SPATIAL FILTERING

Using the Imagine Mosaic Tool

Data: Map Network Drive to \tolkien\rs675001\labs
Data is located in the lab5 directory, copy the data to your workspace.

The Imagine MOSIAC tool

Often, a study area will fall across two raster data sets allowing for the need to mosaic (or merge) data sets together.

The Imagine MOSIAC tool

The Imagine MOSIAC tool

The Mosaic tool allows us to merge multiple raster data sets (of the same type) such as satellite imagery, aerial photography, or Digital Elevation Models into one continuous file.

Several issues must be considered when mosaicing images together:

  • Resampling Method
  • Mosaic Method (overlap function)
  • Need for image balancing or color corrections

The Imagine MOSIAC tool

Color Corrections

Using the EDIT Æ COLOR CORRECTIONS menu, color corrections or image balancing may be completed.

When creating images for viewing purposes, color corrections are useful, however care should be taken to avoid color corrections when image analysis is to be completed as there will pixel value alterations.

The Imagine MOSIAC tool

Other Details

  • Note that images being mosaiced must be in the same projection.
  • Numerous file input types may be used (i.e. jpeg, tiff, dem, grid, img), however, the output mosaiced image will always be .img (ERDAS Imagine Format).
  • Size and processing time should be considered when merging to high resolution data sets.
  • If images were georeferenced with different accuracies, there may be feature (i.e. road, stream, agriculture) offsets across the image cutline.

The Imagine MOSIAC tool

The Process

  • From the EDIT Æ ADD IMAGES menu, select the images you wish to mosaic.
  • Determine the proper overlap function, resample method, and if color balancing is needed.
    • If using the OVERLAP method as your overlap function, determine what image should fall on top of the others. This is done using the SEND SELECTED IMAGES buttons on the toolbar.
  • From the PROCESS Æ RUN MOSAIC menu, start the mosaic process. The user will be prompted for a Output File Name and Location.

The Imagine MOSIAC tool

The Process

Spatial Filtering

Spatial Convolution Filtering

  • Spatial Convolution Filtering is a filtering process that applies some weighted average or linear combination of neighborhood BVs to BVi,j. This process alters the spatial frequency characteristics of an image (Jensen p. 276).
    • Linear spatial filters that emphasize high spatial frequencies may sharpen feature edges within an image.
    • Linear spatial filters that emphasize low spatial frequencies may be used to reduce noise within an image.

Spatial Filtering

Low-frequency Filtering Example

  • Linear spatial filters that emphasize low spatial frequencies may be used to reduce noise within an image. Jensen (2005) and Ramsey (2006) refer to these filters as low-frequency or low-pass filters.

Mask template =

c 1 c 2 c 3 c 4 c 5 c 6 c 7 c 8 c 9 c = some coefficients i.e. 1 or -

Low Pass Filter =

1 1 1 1 1 1 1 1 1

Raster Data =

BV 1 BV 2 BV 3 BV 4 BV 5 BV 6 BV 7 BV 8 BV 9

Apply Filter

Raster Data with filter =

BV 1 *1 BV 2 *1 BV 3 * BV 4 *1 BV 5 *1 BV 6 * BV 7 *1 BV 8 *1 BV 9 * BV 5 = BV (^) i,j

n

c BV LFF Int

n

i

i i out

=

=

9

5 , 1 9

5 ,

BV BV BV BV

LFF out Int

or L

Spatial Filtering

Low-frequency Filtering Example 3x3 Low Pass

Interpreter (Button) Æ Spatial Enhancement Æ Convolution

FILTER

Spatial Filtering

Low-frequency Filtering Example