This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IM > IMultivariateOp Interface > IMultivariateOp.BandCollectionStats Method (ArcObjects .NET 10.4 SDK) |
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 );
Optional Values
[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(VARIANT_FALSE)] computeMatrices is a parameter of type VARIANT_BOOL
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. |