>  Docs Center  >  Using ENVI  >  Build Band Stacks

Build Band Stacks

Build Band Stacks

Use Build Band Stack to build a new file consisting of bands from different rasters with the same dimensions. The following rules apply to the input rasters:

  • They must have the same number of rows and columns.
  • They do not need to be georeferenced.
  • They can have different interleave types, but the resulting band-stacked raster will be BSQ.
  • They can be of different data types (such as floating-point and integer), but the resulting band-stacked raster will be cast to the highest data type out of all the rasters.

Band-stacked rasters are different from layer-stacked rasters, which consist of georeferenced images of various pixel sizes, extents, and projections. See Build Layer Stacks.

An example of creating a band-stacked raster would be combining bands from different Landsat TM images from different years. The input bands should have the same number of rows and columns; they are also in the same coordinate system and have the same pixel size (30 m).

You can also write a script to build band-stacked rasters using ENVIBuildBandStackTask.

Follow these steps:

  1. From the Toolbox, select Raster Management > Build Band Stack. The Build Build Stack dialog appears.
  2. Click the Browse button next to Input Rasters and select the image bands (from different files) that will comprise the band-stacked raster. If the files are already open in ENVI, you can also drag and drop the band names from the Data Manager or Layer Manager into the Input Rasters field.
  3. Drag and drop the items in the Input Rasters field to the desired order in the band stack.
  4. To write the output to disk, select the File radio button and specify a filename and location. To produce output in memory only, select the Virtual radio button.

  5. Enable the Display result check box to display the band-stacked raster in the Image window when processing is complete. Otherwise, if the check box is disabled, the band-stacked raster can be loaded from the Data Manager.
  6. Click OK. ENVI adds the resulting output to the Layer Manager and, if the Display result option was checked, displays the result in the Image window.

See Also

ENVIGridDefinition, Map Information in ENVI, Build Layer Stacks

© 2020 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us