This document is archived and information here might be outdated. Recommended version. |
Provides access to members that controls calculation of stats and histogram. Note: the IRasterCalcStatsHistogram interface has been superseded by IRasterCalcStatsHistogram2. Please consider using the more recent version.
Name | Description | |
---|---|---|
ComputeFromRaster | Computes stats and histogram from a given Raster. | |
LoadFromRasterBand | Computes stats and histogram from a given RasterBand. |
Classes | Description |
---|---|
RasterCalcStatsHistogram | A helper class for calculating raster statistics and histogram. |
Both methods return the StatsHistogram object by reference, so you must co-create the StatsHistogram object first before using it in the two methods.
To accumulate the statistics and histogram from raster bands coming from different raster datasets, simply return to the same StatsHistogram object.