![]() |
This document is archived and information here might be outdated. Recommended version. |
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
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. |