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


IRasterCalcStatsHistogram Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterCalcStatsHistogram Interface

Provides access to members that controls calculation of stats and histogram. Note: the IRasterCalcStatsHistogram interface has been superseded byIRasterCalcStatsHistogram2. Please consider using the more recent version.

Product Availability

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

Members

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

CoClasses that implement IRasterCalcStatsHistogram

CoClasses and 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