This document is archived and information here might be outdated.  Recommended version.


IMultivariateOp.BandCollectionStats Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IM > IMultivariateOp Interface > IMultivariateOp.BandCollectionStats Method
ArcGIS Developer Help

IMultivariateOp.BandCollectionStats Method

Calculates the statistics for a raster band collection.

[Visual Basic .NET]
Public Sub BandCollectionStats ( _
    ByVal rasterBands As IGeoDataset, _
    ByVal dataFile As String, _
    [ByVal computeMatrices As Boolean] _
)
[C#]
public void BandCollectionStats (
    IGeoDataset rasterBands,
    string dataFile,
    bool computeMatrices
);
[C++]
HRESULT BandCollectionStats(
  IGeoDataset* rasterBands,
  BSTR dataFile,
  VARIANT_BOOL computeMatrices
);
[C++]
Parameters
rasterBands [in]

rasterBands is a parameter of type IGeoDataset* dataFile [in]
dataFile is a parameter of type BSTR computeMatrices [in, optional, defaultvalue()]
computeMatrices is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

Remarks

rasterBands

name(s) of the input rasterband to calculate statistics. The Rasterbands must have common intersecton.

dataFile

name of the output statistics file. An extension is required. Any extension can be used, but ".txt" is reccommended

[computeMatrices]

a Boolean specifying whether covariance and correlation matices are calculated.

If TRUE, In addition to the standard statistics calculated, the covariance and correlation matieces will also be determined

If FALSE, Only the basic statistical measures (minimum, maximum, mean, and standard deviation) will be calculated for every layer.

 

See Also

IMultivariateOp Interface