This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterStatistics Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control raster statistics.
Description | ||
---|---|---|
IgnoredValues | Array of doubles indicating the pixel values not included in the statistics calculation. | |
IsValid | Indicates if statistics are fresh. | |
Maximum | Approximate largest value. | |
Mean | Approximate average value. | |
Median | Divides pixel population approximately in halves. | |
Minimum | Approximate smallest value. | |
Mode | Approximate most popular pixel value. | |
RasterBand | The RasterBand. | |
Recalculate | Recalculate statistics based upon current skip factors and ignored values. | |
SkipFactorX | Number of horizontal pixels between samples for purposes of calculating statistics. | |
SkipFactorY | Number of vertical pixels between samples for purposes of calculating statistics. | |
StandardDeviation | Measures spread of pixel values about the mean. |
CoClasses and Classes | Description |
---|---|
RasterStatistics | A raster statistics class. |
The RasterStatistics class is not cocreatable and must be retrieved from a RasterBand object. The statistics only provide information about a single band and are used when displaying the raster. The statistics may be modified or recalculated using this object.
Statistics can be calculated by setting a skip factor to avoid calculating on a full raster. Although the statitics calculated this way is not true statstics of the raster, it can reduce the calculating time significantly for large images without noticeable decreasing of the display quality.