ArcGIS Enterprise SDK
IRasterCalcStatsHistogram Interface
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterCalcStatsHistogram Interface
ArcGIS Developer Help

IRasterCalcStatsHistogram Interface

Provides access to members that controls calculation of stats and histogram.

Members

Name Description
Method ComputeFromRaster Computes stats and histogram from a given Raster.
Method LoadFromRasterBand Computes stats and histogram from a given RasterBand.

Classes that implement IRasterCalcStatsHistogram

Classes Description
RasterCalcStatsHistogram A helper class for calculating raster statistics and histogram.

Remarks

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.