Calculates the local statistics of the GeoDataset.
[Visual Basic .NET] Public Function LocalStatistics ( _ ByVal LocalData As IGeoDataset, _ ByVal Type As esriGeoAnalysisStatisticsEnum _ ) As IGeoDataset
[C#] public IGeoDataset LocalStatistics ( IGeoDataset LocalData, esriGeoAnalysisStatisticsEnum Type );
[C++]
HRESULT LocalStatistics(
IGeoDataset* LocalData,
esriGeoAnalysisStatisticsEnum Type,
IGeoDataset** statisticsGeoDataset
);
[C++]Parameters
LocalData [in]LocalData is a parameter of type IGeoDataset
Type [in]Type is a parameter of type esriGeoAnalysisStatisticsEnum
statisticsGeoDataset [out, retval]statisticsGeoDataset is a parameter of type IGeoDataset
Product Availability
Remarks
LocalData |
a multiband input Raster, RasterDataset, RasterBand, or RasterDescriptor that identifies the values for the local processing |
type |
an esriGeoAnalysisStatisticsEnum defining the local statistic to calculate for each location on the input Rasters The enumeration types are: |
- The method returns a reference to a Raster object.
- Read the Working with ArcGIS Spatial Analyst objects technical document for general information on implementing Spatial Analyst operations