This document is archived and information here might be outdated. Recommended version. |
Performs principal components analysis on a raster band collection.
[Visual Basic .NET] Public Function PrincipalComponents ( _ ByVal rasterBands As IGeoDataset, _ ByVal dataFile As String, _ [ByVal numberComponents As Object] _ ) As IGeoDataset
[C#] public IGeoDataset PrincipalComponents ( IGeoDataset rasterBands, string dataFile, object numberComponents );
[C++]
HRESULT PrincipalComponents(
IGeoDataset* rasterBands,
BSTR dataFile,
VARIANT numberComponents
);
[C++] Parameters rasterBands [in]
rasterBands is a parameter of type IGeoDataset* dataFile [in]
dataFile is a parameter of type BSTR numberComponents [in, optional]
numberComponents is a parameter of type VARIANT
To indicate this parameter is undefined pass in a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.
rasterBands |
name(s) of the input rasterband to calculate statistics. The Rasterbands must have common intersecton. |
dataFile |
name of the output ASCII fille where the principal components parameters will be stored. |
[numberComponents] |
number of principle components. The default is equal to the number of input rasterbands |