Interface IRasterCalcStatsHistogram

Namespace
ESRI.ArcGIS.DatasourcesRaster
Assembly
ESRI.Server.DatasourcesRaster.dll

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

[Guid("04DDBB5F-DBA3-4ACC-8641-43E22E8DE599")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IRasterCalcStatsHistogram

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.

Methods

ComputeFromRaster(IRaster, int, IStatsHistogram)

Computes stats and histogram from a given Raster.

void ComputeFromRaster(IRaster pRaster, int iBand, IStatsHistogram pStatsHistogram)

Parameters

pRaster IRaster
iBand int
pStatsHistogram IStatsHistogram

LoadFromRasterBand(IRasterBand, object, IStatsHistogram)

Computes stats and histogram from a given RasterBand.

void LoadFromRasterBand(IRasterBand pBand, object NoData, IStatsHistogram pStatsHistogram)

Parameters

pBand IRasterBand
NoData object
pStatsHistogram IStatsHistogram