Mosaic Rasters By Band Indices

Overview

The Mosaic Rasters By Band Indices function mosaics overlapping pixels of a collection of images based on criteria defined by their band indices.

Notes

This function mosaics a collection of overlapped multiband images. The collection of images can be a list or a mosaic dataset.

This function is different from the Mosaic Rasters function in that it determines its output pixel from the overlapped pixels based on their band indices. A typical example is creating a mosaic raster with greenness pixels by providing an NDVI band index.

When using the Band Indices parameter to define the band index algorithm, enter a single-line algebraic formula to create a single-band output. The supported operators are -,+,/,*, and unary -. To identify the bands, add B or b to the beginning of the band number. The following is an example:

B1 + B2
b1 + (-b2)
(B1 + B2) / 2(B3 * B5)

The output of this function is a multiband raster, not the indices.

Parameters

ParameterDescription
Rasters

The input rasters. It can be a list of images or a mosaic dataset.

Band Indices

The band indices used in mosaicking criteria. The band indices take the same syntax as the Band Arithmetic function. For example, if NDVI is used as the band index to mosaic Landsat images, this parameter will be (B5-B4)/((B5+B4) where B4 is the 4th band (red) and B5 is the 5th band (Infrared). If only one band is used for mosaicking criteria, such as the first band (Coastal Aerosol) in Landsat 8, use B1.

Mosaic Criteria

Resolve any mosaicking conflicts when you have parts of two or more images that overlap. The options are the following:

  • Min—Display the lowest valued pixel of all the overlapping layers. There is no guarantee of displaying the pixels of just one image in the overlapping area but rather a combination of all potential layers.
  • Max—Display the highest valued pixel of all the overlapping layers. There is no guarantee of displaying the pixels of just one image in the overlapping area but rather a combination of all potential layers. This is the default.
  • Median—Calculate and display the median of the overlapping pixels.


In this topic
  1. Overview
  2. Notes
  3. Parameters