|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesraster.RasterHistogram
public class RasterHistogram
A raster histogram class.
An object used to manage the histogram of the raster pixels. It can be retrieved from a RasterBand.
Constructor Summary | |
---|---|
RasterHistogram()
Constructs a RasterHistogram using ArcGIS Engine. |
|
RasterHistogram(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterHistogram theRasterHistogram = (RasterHistogram) obj; |
Method Summary | |
---|---|
int |
bin(double pixval)
Translates pixel values to integer Bin index. |
boolean |
equals(Object o)
Compare this object with another |
IBinFunction |
getBinFunction()
The Bin function that maps pixel value into histogram index. |
static String |
getClsid()
getClsid. |
Object |
getCounts()
Count array in doubles. |
int |
hashCode()
the hashcode for this object |
void |
setCounts(Object pVal)
Count array in doubles. |
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 RasterHistogram() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RasterHistogram(Object obj) throws IOException
RasterHistogram theRasterHistogram = (RasterHistogram) obj;
obj
to RasterHistogram
.
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 Object getCounts() throws IOException, AutomationException
This property returns the histogram of the binned pixel values in range 0-255. e.g. an array of 256 and each element is the count.
The pixel values in the raster band will be binned to 0-255 if they are beyond this range.
getCounts
in interface IRasterHistogram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCounts(Object pVal) throws IOException, AutomationException
setCounts
in interface IRasterHistogram
pVal
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int bin(double pixval) throws IOException, AutomationException
bin
in interface IRasterHistogram
pixval
- The pixval (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IBinFunction getBinFunction() throws IOException, AutomationException
getBinFunction
in interface IRasterHistogram
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 |