This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterCalcStatsHistogram Interface > IRasterCalcStatsHistogram.ComputeFromRaster Method (ArcObjects .NET 10.5 SDK) |
Computes stats and histogram from a given Raster.
[Visual Basic .NET] Public Sub ComputeFromRaster ( _ ByVal pRaster As IRaster, _ ByVal iBand As Integer, _ ByVal pStatsHistogram As IStatsHistogram _ )
[C#] public void ComputeFromRaster ( IRaster pRaster, int iBand, IStatsHistogram pStatsHistogram );
[C++]
HRESULT ComputeFromRaster(
IRaster* pRaster,
long iBand,
IStatsHistogram* pStatsHistogram
);
[C++]
Parameters pRaster [in]
pRaster is a parameter of type IRaster iBand [in] iBand is a parameter of type long pStatsHistogram [in]
pStatsHistogram is a parameter of type IStatsHistogram