Using the Stack Bands process
ArcGIS 10 is the last release of the stand-alone ArcGIS Image Server product. The image service definition (.ISDef) has been replaced by an improved geodatabase data model—the mosaic dataset—which can be published as an image service using the ArcGIS Server Image extension.
The Stack Bands process allows you to combine single raster datasets to form a single multiband image.
This is typically used for multispectral imagery where the output image is to be a selection of bands from different images. The number of bands in the output image needs to be specified as well as the raster ID and the band number that will be used from that raster ID. The primary raster is assumed to be the source raster for the first band. If the Resample check box is checked on the Stack Bands Process dialog box, the auxiliary images may be resampled. This option is used to ensure that the auxiliary images are in the same spatial dimension as the primary raster and needs to be run if the input image is not pixel aligned.
The raster ID can be a raster from the same dataset or a different dataset.
The input for this process can be one to seven bands at any bit depth, pixel type, or color space. The output will be the same as the input.
You can use this process after you've imported a Landsat scene with the bands input as 3, 2, 1, 4, 5, 7. Be sure the pan-sharpened check box was unchecked when the raster data was added. You have created a true color RGB image. This workflow will walk you through creating an infrared band combination using bands 4, 3, 2 for the RGB combination.
- Click the Layer drop-down arrow on the Image Service Definition Editor toolbar and choose the image service definition you want to work with (if there is more than one).
-
Select a raster item.
There are three main ways to select rasters in a service: using the Select Element tool on the Tools toolbar to select a footprint, opening the service table and selecting one or more rows, or using one of the selection options available from the Footprint context menu.
Learn more about selecting rasters in an image service definition
- Click the Raster Properties button .
- Click the Rasters node in the list on the left side of the Raster Properties dialog box.
- Click MS in the ID column.
- Click the General tab.
- Uncheck Enabled.
- Click 3 in the ID column.
- Click the Process tab.
- Uncheck Stack Bands in the Processes Selected list.
- Click 4 in the ID column.
- Click the General tab.
- Check Enabled.
- Click the Process tab.
-
Click Stack Bands in the Processes Available list and click the Add Process button .
This adds the process to the Processes Selected list. Each time the same process is added to the Processes Selected list, a number is appended to the alias—this number increases incrementally starting with 0. This number will not be added if you have changed the alias of the process prior to adding the second identical process.
-
Click Stack Bands [0] in the Processes Selected list and click the Edit Process Definition button .
This opens the Stack Bands Process Definition dialog box.
- Optionally, type a new name in the Alias text box.
- Click the Output Number of Bands drop-down list and click 3.
- Click the Additional Bands tab.
- Type 3 in the Raster ID for Band 2 text box.
- Type 2 in the Raster ID for Band 3 text box.
- Click OK.
-
Make sure the Stack Bands process is still checked and click OK.
You can now build the image service definition and preview the results.