Fall 2003
   GEO327G/386G: GIS & GPS Applications in Earth Sciences


Software Tips - 14

Messages

Syllabus

Schedule

Lecture

Lab

Projects

Trip(s)


 
   
  Messages>Labs>Tips>Tip 14    
14. 

How to mosaic multiband images using Spatial Analyst

   
 


From http://support.esri.com/search/KbDocument.asp?id=22005, with modifications by M. Helper.  Last modified 5/24/2003.

Summary:
Steps to mosaic multiband images in ArcGIS using the Spatial Analyst extension.

Procedure:

1) Start ArcCatalog and navigate to the raster of choice.

2) The images must be converted to an ESRI GRID. See the Software Tip "Clipping Rasters And Grids" for instruction on this step. The process detailed there will create a grid for each band in an image. The grids will be distinguished by a "c + number" suffix. For example,image1 will export to image1c1, image1c2 and image1c3. A grid stack with the root name of the other output grids should also be created.

3)Start ArcMap and add the grids representing the bands of data to a data frame.

4) Use the MOSAIC command in Raster Calculator to mosaic the data together.

Here is an example of the syntax:

[Band1] = MOSAIC([ImageName1c1],[ImageName2c1],[ImageName3c1])

[Band1] is the name of the output grid; a permanent grid will be created on disk (in the working directory specified in Spatial Analyst> Options) called Band1. This step will need to be done for each band.

ImageName1c1 refers to the band1 grid from the firstimage. ImageName2c1 and ImageName3c1 refer to the band 1 grids from Images 2 and 3, respectively.

5) Use the MAKESTACK command in the Raster Calculator to create a grid stack from the mosaiced bands.

Here is an example of the syntax:

MAKESTACK newstack LIST [Band1] [Band2] [Band3]

"Newstack" will be the name of the output stack. There are no parentheses or commas used with this command in the Raster Calculator. The word "LIST" should be omitted when using the MAKESTACK command in version 8.1.2 (the version you may have if you use the GTK ArcGIS cd; version 8.2 is installed in the lab).

6) Navigate to the directory containing the new grid stack in ArcCatalog. It will be stored in the Working Directory specified in Spatial Analyst options.

7) Right click on the grid stack and select Export. Choose Raster to MrSID if you need this format or Raster to Different Format. The Raster to Different Format utility will allow you to create TIFF's or ERDAS Imagine image files.

END

   
       

Last updated October 15, 2019
Comments and questions to helper@mail.utexas.edu
Geological Sciences, U. Texas at Austin