Provides access to members that control raster statistics.
|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.|
|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 that implement IRasterStatistics
|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.