|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesraster.StatsHistogram
public class StatsHistogram
COM Class 'StatsHistogram'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'
Description 'A raster statistics and histogram class.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary | |
---|---|
static long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.datasourcesraster.IStatsHistogram3 |
---|
IID, IIDdbe269bf_6bde_43f2_9bfb_d90551d7efe3, xxDummy |
Fields inherited from interface com.esri.arcgis.datasourcesraster.IStatsHistogram2 |
---|
IID0a69bfa0_d411_468d_be27_3042e80a9cc0 |
Fields inherited from interface com.esri.arcgis.datasourcesraster.IStatsHistogram |
---|
IID2b9062e8_df44_4012_a0e4_cf0efaa21693 |
Fields inherited from interface com.esri.arcgis.system.IPersistStream |
---|
IID, IID00000109_0000_0000_c000_000000000046, xxDummy |
Fields inherited from interface com.esri.arcgis.system.IPersist |
---|
IID0000010c_0000_0000_c000_000000000046 |
Constructor Summary | |
---|---|
StatsHistogram()
Constructs a StatsHistogram using ArcGIS Engine. |
|
StatsHistogram(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. StatsHistogram theStatsHistogram = (StatsHistogram) obj; |
Method Summary | |
---|---|
void |
accumulate(double value,
int count)
Accumulates a value and its count. |
void |
accumulateCovariance(int iBand,
double numValidPixel,
double xy,
double x,
double y)
Accumulates covariance array, numValidPixel. |
void |
empty()
Empties this RasterStatsHistogram and marks it invalid. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
java.lang.Object |
getCovariances()
Array of doubles, the covariances with the n bands of the raster. |
java.lang.Object |
getHistogram()
The histogram values of the statistics. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
double |
getMax()
The maximum value of the historgram. |
double |
getMean()
The mean value of the historgram. |
double |
getMin()
The minimum value of the historgram. |
double |
getPixelCount()
The total pixel count. |
IRasterHistogram |
getRasterHistogram()
The raster histogram. |
IRasterStatistics |
getRasterStatistics()
The raster statistics. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
double |
getStdDev()
The standard deviation value of the historgram. |
int |
hashCode()
the hashcode for this object |
boolean |
hasHistogram()
Checks if this StatsHistogram has histogram. |
boolean |
hasStats()
Checks if this StatsHistogram has stats. |
void |
initCovariances(int nBands)
Resizes covariance array to nBands, init all elements to 0. |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
void |
putHistogramInfo(int size,
double resolution,
double min,
double max)
Sets histogram size, min and max range. |
void |
putHistogramMinmax(double min,
double max)
Sets histogram min and max range. |
void |
putStats(double min,
double max,
double mean,
double stdDev)
Computes stats and histogram from a given Raster. |
void |
queryHistogramInfo(int[] size,
double[] resolution,
double[] min,
double[] max)
Gets histogram size, min and max range. |
void |
queryHistogramMinmax(double[] min,
double[] max)
Gets histogram min and max range. |
void |
queryStats(double[] min,
double[] max,
double[] mean,
double[] stdDev)
Computes stats and histogram from a given Raster. |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a StatsHistogram. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setCovariances(java.lang.Object pVal)
Array of doubles, the covariances with the n bands of the raster. |
void |
setHistogram(java.lang.Object histogram)
The histogram values of the statistics. |
void |
setMax(double max)
The maximum value of the historgram. |
void |
setMean(double mean)
The mean value of the historgram. |
void |
setMin(double min)
The minimum value of the historgram. |
void |
setStdDev(double stdDev)
The standard deviation value of the historgram. |
void |
update()
Updates the histogram after accumulation. |
void |
updateCovariances()
Final update after accumulate is finished. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public StatsHistogram() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic StatsHistogram(java.lang.Object obj) throws java.io.IOException
StatsHistogram theStatsHistogram = (StatsHistogram) obj;
obj
to StatsHistogram
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public double getMin() throws java.io.IOException, AutomationException
getMin
in interface IStatsHistogram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMin(double min) throws java.io.IOException, AutomationException
setMin
in interface IStatsHistogram
min
- The min (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMax() throws java.io.IOException, AutomationException
getMax
in interface IStatsHistogram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMax(double max) throws java.io.IOException, AutomationException
setMax
in interface IStatsHistogram
max
- The max (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getMean() throws java.io.IOException, AutomationException
getMean
in interface IStatsHistogram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMean(double mean) throws java.io.IOException, AutomationException
setMean
in interface IStatsHistogram
mean
- The mean (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getStdDev() throws java.io.IOException, AutomationException
getStdDev
in interface IStatsHistogram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStdDev(double stdDev) throws java.io.IOException, AutomationException
setStdDev
in interface IStatsHistogram
stdDev
- The stdDev (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putHistogramMinmax(double min, double max) throws java.io.IOException, AutomationException
putHistogramMinmax
in interface IStatsHistogram
min
- The min (in)max
- The max (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryHistogramMinmax(double[] min, double[] max) throws java.io.IOException, AutomationException
queryHistogramMinmax
in interface IStatsHistogram
min
- The min (out: use single element array)max
- The max (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getHistogram() throws java.io.IOException, AutomationException
getHistogram
in interface IStatsHistogram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHistogram(java.lang.Object histogram) throws java.io.IOException, AutomationException
setHistogram
in interface IStatsHistogram
histogram
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putStats(double min, double max, double mean, double stdDev) throws java.io.IOException, AutomationException
putStats
in interface IStatsHistogram
min
- The min (in)max
- The max (in)mean
- The mean (in)stdDev
- The stdDev (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryStats(double[] min, double[] max, double[] mean, double[] stdDev) throws java.io.IOException, AutomationException
queryStats
in interface IStatsHistogram
min
- The min (out: use single element array)max
- The max (out: use single element array)mean
- The mean (out: use single element array)stdDev
- The stdDev (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void empty() throws java.io.IOException, AutomationException
empty
in interface IStatsHistogram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hasStats() throws java.io.IOException, AutomationException
hasStats
in interface IStatsHistogram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hasHistogram() throws java.io.IOException, AutomationException
hasHistogram
in interface IStatsHistogram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void accumulate(double value, int count) throws java.io.IOException, AutomationException
accumulate
in interface IStatsHistogram
value
- The value (in)count
- The count (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void update() throws java.io.IOException, AutomationException
update
in interface IStatsHistogram
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPixelCount() throws java.io.IOException, AutomationException
getPixelCount
in interface IStatsHistogram2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putHistogramInfo(int size, double resolution, double min, double max) throws java.io.IOException, AutomationException
putHistogramInfo
in interface IStatsHistogram3
size
- The size (in)resolution
- The resolution (in)min
- The min (in)max
- The max (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryHistogramInfo(int[] size, double[] resolution, double[] min, double[] max) throws java.io.IOException, AutomationException
queryHistogramInfo
in interface IStatsHistogram3
size
- The size (out: use single element array)resolution
- The resolution (out: use single element array)min
- The min (out: use single element array)max
- The max (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRasterStatistics getRasterStatistics() throws java.io.IOException, AutomationException
getRasterStatistics
in interface IStatsHistogram3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRasterHistogram getRasterHistogram() throws java.io.IOException, AutomationException
getRasterHistogram
in interface IStatsHistogram3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void initCovariances(int nBands) throws java.io.IOException, AutomationException
initCovariances
in interface IStatsHistogram3
nBands
- The nBands (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void accumulateCovariance(int iBand, double numValidPixel, double xy, double x, double y) throws java.io.IOException, AutomationException
accumulateCovariance
in interface IStatsHistogram3
iBand
- The iBand (in)numValidPixel
- The numValidPixel (in)xy
- The xy (in)x
- The x (in)y
- The y (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void updateCovariances() throws java.io.IOException, AutomationException
updateCovariances
in interface IStatsHistogram3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getCovariances() throws java.io.IOException, AutomationException
getCovariances
in interface IStatsHistogram3
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCovariances(java.lang.Object pVal) throws java.io.IOException, AutomationException
setCovariances
in interface IStatsHistogram3
pVal
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |