|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRasterCalcStatsHistogram
Provides access to members that controls calculation of stats and histogram.
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.
Method Summary | |
---|---|
void |
computeFromRaster(IRaster pRaster,
int iBand,
IStatsHistogram pStatsHistogram)
Computes stats and histogram from a given Raster. |
void |
loadFromRasterBand(IRasterBand pBand,
Object noData,
IStatsHistogram pStatsHistogram)
Computes stats and histogram from a given RasterBand. |
Method Detail |
---|
void computeFromRaster(IRaster pRaster, int iBand, IStatsHistogram pStatsHistogram) throws IOException, AutomationException
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)iBand
- The iBand (in)pStatsHistogram
- A reference to a com.esri.arcgis.datasourcesraster.IStatsHistogram (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void loadFromRasterBand(IRasterBand pBand, Object noData, IStatsHistogram pStatsHistogram) throws IOException, AutomationException
pBand
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)noData
- A Variant (in)pStatsHistogram
- A reference to a com.esri.arcgis.datasourcesraster.IStatsHistogram (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |