Skip to main content

Delete Raster Band

Purpose

Delete a specified band from a multiband raster and output a new raster composed of the remaining bands. This tool is commonly used to remove a quality band or mask band, delete incorrect or unnecessary bands, or reduce the number of bands before output.

For more information about raster bands, see Introduction to raster data bands.

Parameters

ParameterDescriptionNotes
Input target raster fileThe raster from which a band will be deleted.Must be a multiband raster.
Band selectionThe index of the band to delete, counted from 1. If not set, the 1st band is deleted by default.Raster bands are identified by numeric index.
Output fileSpecifies the storage location, file name, data format, data type, and NoData value of the output raster data.See Common raster output.

Input and output:

  • Input: A multiband raster.
  • Output: A raster after the specified band is deleted. The output keeps the input raster's spatial reference, extent, and resolution.

Steps

  1. Open the Geoprocessing Toolbox, go to Raster Tools > Raster Data > Raster Processing, and open the Delete Raster Band tool pane.
  2. Set Input raster file.
  3. In Band selection, enter the band index to delete. Raster data is numbered from 1 and does not have band names.
  4. Set Output raster file.
  5. Click Run to generate the result.

Notes

  • Band indexes start from 1. An index greater than the number of bands will cause the tool to fail.
  • After deletion, band indexes are renumbered in sequence. For example, after deleting band 2, the original band 3 becomes the new band 2.

Example

  • Delete the 1st band of a multiband image, such as an unnecessary alpha or quality band: Band selection = 1.