Band Collection Statistics (Spatial Analyst)

ArcGIS Pro 3.4 | | Help archive

Available with Spatial Analyst license.

Summary

Calculates the statistics for a set of raster bands.

Learn more about how Band Collection Statistics works

Usage

  • When a multiband raster is specified as one of the Input raster bands (in_raster_bands in Python), all the bands will be used.

    To process a selection of bands from a multiband raster, you can first create a new raster dataset composed of those particular bands with the Composite Bands tool, and use the result in the list of the Input raster bands (in_raster_bands in Python).

  • The raster bands must have a common intersection. If there are none, an error occurs and no output is created.

  • If the extents of the raster bands are not the same, the statistics will be calculated on the common spatial extent of all the input raster bands. The cell size will be that of the maximum of the input rasters.

  • For the Compute covariance and correlation matrices parameter, the default unchecked setting (BRIEF in scripting) indicates that only the minimum, maximum, mean, and standard deviation of the input raster bands will be computed. To calculate the covariance and correlation matrices in addition to these statistics, check this option on in the tool dialog box (or use DETAILED in scripting).

    A covariance matrix presents the variances of all raster bands along the diagonal from the upper left to lower right and covariances between all raster bands in the remaining entries. The correlation matrix provides the correlation coefficients between each combination of two input bands.

  • In the calculation of the covariance matrix, the mean value of the band is used for any input cells that are NoData.

  • The statistics are written to the output file in ASCII text format. The extension for the output must be .txt.

Parameters

LabelExplanationData Type
Input raster bands

The input raster bands.

They can be integer or floating point type.

Raster Layer
Output statistics file

The output ASCII file containing the statistics.

A .txt extension is required.

File
Compute covariance and correlation matrices
(Optional)

Specifies whether covariance and correlation matrices are calculated.

  • Unchecked—Only the basic statistical measures (minimum, maximum, mean, and standard deviation) will be calculated for every layer. This is the default.
  • Checked—In addition to the standard statistics calculated, the covariance and correlation matrices will also be determined.
Boolean

Licensing information

  • Basic: Requires Spatial Analyst
  • Standard: Requires Spatial Analyst
  • Advanced: Requires Spatial Analyst

Related topics