This document is archived and information here might be outdated.  Recommended version.


IRasterCalcStatsHistogram Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterCalcStatsHistogram Interface
ArcGIS Developer Help

IRasterCalcStatsHistogram Interface

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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.

See Also

RasterCalcStatsHistogram Class | StatsHistogram Class