|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesraster.RasterStatistics
public class RasterStatistics
A raster statistics class.
A RasterStatistics object provides access to statistics from a raster band.
The RasterStatistics can be retrieved from a RasterBand using IRasterBand interface.
| Constructor Summary | |
|---|---|
RasterStatistics()
Constructs a RasterStatistics using ArcGIS Engine. |
|
RasterStatistics(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterStatistics theRasterStatistics = (RasterStatistics) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
Object |
getIgnoredValues()
Array of doubles indicating the pixel values not included in the statistics calculation. |
double |
getMaximum()
Approximate largest value. |
double |
getMean()
Approximate average value. |
double |
getMedian()
Divides pixel population approximately in halves. |
double |
getMinimum()
Approximate smallest value. |
double |
getMode()
Approximate most popular pixel value. |
int |
getSkipFactorX()
Number of horizontal pixels between samples for purposes of calculating statistics. |
int |
getSkipFactorY()
Number of vertical pixels between samples for purposes of calculating statistics. |
double |
getStandardDeviation()
Measures spread of pixel values about the mean. |
int |
hashCode()
the hashcode for this object |
boolean |
isValid()
Indicates if statistics are fresh. |
void |
recalculate()
Recalculate statistics based upon current skip factors and ignored values. |
void |
setIgnoredValues(Object pVal)
Array of doubles indicating the pixel values not included in the statistics calculation. |
void |
setIsValid(boolean pVal)
Indicates if statistics are fresh. |
void |
setMaximum(double pVal)
Approximate largest value. |
void |
setMean(double pVal)
Approximate average value. |
void |
setMinimum(double pVal)
Approximate smallest value. |
void |
setRasterBand(IRasterBand rhs1)
The RasterBand. |
void |
setSkipFactorX(int pVal)
Number of horizontal pixels between samples for purposes of calculating statistics. |
void |
setSkipFactorY(int pVal)
Number of vertical pixels between samples for purposes of calculating statistics. |
void |
setStandardDeviation(double pVal)
Measures spread of pixel values about the mean. |
| 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 RasterStatistics()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public RasterStatistics(Object obj)
throws IOException
RasterStatistics theRasterStatistics = (RasterStatistics) obj;
obj to RasterStatistics.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public double getMinimum()
throws IOException,
AutomationException
getMinimum in interface IRasterStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMinimum(double pVal)
throws IOException,
AutomationException
setMinimum in interface IRasterStatisticspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMaximum()
throws IOException,
AutomationException
getMaximum in interface IRasterStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMaximum(double pVal)
throws IOException,
AutomationException
setMaximum in interface IRasterStatisticspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMean()
throws IOException,
AutomationException
getMean in interface IRasterStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setMean(double pVal)
throws IOException,
AutomationException
setMean in interface IRasterStatisticspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getStandardDeviation()
throws IOException,
AutomationException
getStandardDeviation in interface IRasterStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setStandardDeviation(double pVal)
throws IOException,
AutomationException
setStandardDeviation in interface IRasterStatisticspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMedian()
throws IOException,
AutomationException
getMedian in interface IRasterStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getMode()
throws IOException,
AutomationException
getMode in interface IRasterStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isValid()
throws IOException,
AutomationException
isValid in interface IRasterStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsValid(boolean pVal)
throws IOException,
AutomationException
setIsValid in interface IRasterStatisticspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Object getIgnoredValues()
throws IOException,
AutomationException
The ignore value is ignored if calculating statistics on a grid.
getIgnoredValues in interface IRasterStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIgnoredValues(Object pVal)
throws IOException,
AutomationException
setIgnoredValues in interface IRasterStatisticspVal - A Variant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSkipFactorX()
throws IOException,
AutomationException
The skip factor is ignored, always use 1, if calculating statistics on a grid.
getSkipFactorX in interface IRasterStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSkipFactorX(int pVal)
throws IOException,
AutomationException
setSkipFactorX in interface IRasterStatisticspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSkipFactorY()
throws IOException,
AutomationException
getSkipFactorY in interface IRasterStatisticsIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSkipFactorY(int pVal)
throws IOException,
AutomationException
setSkipFactorY in interface IRasterStatisticspVal - The pVal (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setRasterBand(IRasterBand rhs1)
throws IOException,
AutomationException
setRasterBand in interface IRasterStatisticsrhs1 - A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void recalculate()
throws IOException,
AutomationException
recalculate in interface IRasterStatisticsIOException - 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 | ||||||||