|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesraster.RasterCalcStatsHistogram
public class RasterCalcStatsHistogram
A helper class for calculating raster statistics and histogram.
RasterCalcStatsHistogram object is used to calculate the "unified" statistics and histogram for one or multiple raster bands.
RasterCalcStatsHistogram creates StatsHistogram object, which is used in RasterStretchColorRampRenderer .
Constructor Summary | |
---|---|
RasterCalcStatsHistogram()
Constructs a RasterCalcStatsHistogram using ArcGIS Engine. |
|
RasterCalcStatsHistogram(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterCalcStatsHistogram theRasterCalcStatsHistogram = (RasterCalcStatsHistogram) obj; |
Method Summary | |
---|---|
void |
computeAllFromRaster(IRaster pRaster,
IArray pStatsHistograms)
Computes stats and histogram from a given Raster. |
void |
computeFromRaster(IRaster pRaster,
int iBand,
IStatsHistogram pStatsHistogram)
Computes stats and histogram from a given Raster. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
loadFromRasterBand(IRasterBand pBand,
Object noData,
IStatsHistogram pStatsHistogram)
Computes stats and histogram from a given RasterBand. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public RasterCalcStatsHistogram() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RasterCalcStatsHistogram(Object obj) throws IOException
RasterCalcStatsHistogram theRasterCalcStatsHistogram = (RasterCalcStatsHistogram) obj;
obj
to RasterCalcStatsHistogram
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void computeFromRaster(IRaster pRaster, int iBand, IStatsHistogram pStatsHistogram) throws IOException, AutomationException
computeFromRaster
in interface IRasterCalcStatsHistogram
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.public void loadFromRasterBand(IRasterBand pBand, Object noData, IStatsHistogram pStatsHistogram) throws IOException, AutomationException
loadFromRasterBand
in interface IRasterCalcStatsHistogram
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.public void computeAllFromRaster(IRaster pRaster, IArray pStatsHistograms) throws IOException, AutomationException
computeAllFromRaster
in interface IRasterCalcStatsHistogram2
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)pStatsHistograms
- A reference to a com.esri.arcgis.system.IArray (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 |