com.esri.arcgis.datasourcesraster
Interface IStatsHistogram3

All Superinterfaces:
IStatsHistogram, IStatsHistogram2, Serializable
All Known Implementing Classes:
StatsHistogram

public interface IStatsHistogram3
extends IStatsHistogram2, Serializable

Provides access to members that controls stats and histogram.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void accumulateCovariance(int iBand, double numValidPixel, double xy, double x, double y)
          Accumulates covariance array, numValidPixel.
 Object getCovariances()
          Array of doubles, the covariances with the n bands of the raster.
 IRasterHistogram getRasterHistogram()
          The raster histogram.
 IRasterStatistics getRasterStatistics()
          The raster statistics.
 void initCovariances(int nBands)
          Resizes covariance array to nBands, init all elements to 0.
 void putHistogramInfo(int size, double resolution, double min, double max)
          Sets histogram size, min and max range.
 void queryHistogramInfo(int[] size, double[] resolution, double[] min, double[] max)
          Gets histogram size, min and max range.
 void setCovariances(Object pVal)
          Array of doubles, the covariances with the n bands of the raster.
 void updateCovariances()
          Final update after accumulate is finished.
 
Methods inherited from interface com.esri.arcgis.datasourcesraster.IStatsHistogram2
getPixelCount
 
Methods inherited from interface com.esri.arcgis.datasourcesraster.IStatsHistogram
accumulate, empty, getHistogram, getMax, getMean, getMin, getStdDev, hasHistogram, hasStats, putHistogramMinmax, putStats, queryHistogramMinmax, queryStats, setHistogram, setMax, setMean, setMin, setStdDev, update
 

Method Detail

putHistogramInfo

void putHistogramInfo(int size,
                      double resolution,
                      double min,
                      double max)
                      throws IOException,
                             AutomationException
Sets histogram size, min and max range.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
size - The size (in)
resolution - The resolution (in)
min - The min (in)
max - The max (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryHistogramInfo

void queryHistogramInfo(int[] size,
                        double[] resolution,
                        double[] min,
                        double[] max)
                        throws IOException,
                               AutomationException
Gets histogram size, min and max range.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
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)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterStatistics

IRasterStatistics getRasterStatistics()
                                      throws IOException,
                                             AutomationException
The raster statistics.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterStatistics
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterHistogram

IRasterHistogram getRasterHistogram()
                                    throws IOException,
                                           AutomationException
The raster histogram.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterHistogram
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initCovariances

void initCovariances(int nBands)
                     throws IOException,
                            AutomationException
Resizes covariance array to nBands, init all elements to 0.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
nBands - The nBands (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

accumulateCovariance

void accumulateCovariance(int iBand,
                          double numValidPixel,
                          double xy,
                          double x,
                          double y)
                          throws IOException,
                                 AutomationException
Accumulates covariance array, numValidPixel.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
iBand - The iBand (in)
numValidPixel - The numValidPixel (in)
xy - The xy (in)
x - The x (in)
y - The y (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateCovariances

void updateCovariances()
                       throws IOException,
                              AutomationException
Final update after accumulate is finished.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCovariances

Object getCovariances()
                      throws IOException,
                             AutomationException
Array of doubles, the covariances with the n bands of the raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCovariances

void setCovariances(Object pVal)
                    throws IOException,
                           AutomationException
Array of doubles, the covariances with the n bands of the raster.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pVal - A Variant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.