|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStatsHistogram
Provides access to members that controls stats and histogram.
IStatsHistogram, the interface for StatsHistogram , is used to access the statistics and bin histogram.
StatsHistogram can be created from RasterCalcStatsHistogram and is used to set the raster stretch (using IRasterStretch2) for RasterStretchColorRampRenderer
Method Summary | |
---|---|
void |
accumulate(double value,
int count)
Accumulates a value and its count. |
void |
empty()
Empties this RasterStatsHistogram and marks it invalid. |
Object |
getHistogram()
The histogram values of the statistics. |
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 |
getStdDev()
The standard deviation value of the historgram. |
boolean |
hasHistogram()
Checks if this StatsHistogram has histogram. |
boolean |
hasStats()
Checks if this StatsHistogram has stats. |
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 |
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 |
setHistogram(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. |
Method Detail |
---|
double getMin() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMin(double min) throws IOException, AutomationException
min
- The min (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMax() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMax(double max) throws IOException, AutomationException
max
- The max (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getMean() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMean(double mean) throws IOException, AutomationException
mean
- The mean (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getStdDev() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStdDev(double stdDev) throws IOException, AutomationException
stdDev
- The stdDev (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putHistogramMinmax(double min, double max) throws IOException, AutomationException
min
- The min (in)max
- The max (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryHistogramMinmax(double[] min, double[] max) throws IOException, AutomationException
min
- The min (out: use single element array)max
- The max (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.Object getHistogram() throws IOException, AutomationException
This method returns a single dimensional array of value of size 256. Each value in the array is the normalized count of pixels in the specific bin.
The pixel values in the raster, if they are beyond 0-255, will be binned (or reclassfied) to 0-255.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHistogram(Object histogram) throws IOException, AutomationException
histogram
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putStats(double min, double max, double mean, double stdDev) throws IOException, AutomationException
min
- The min (in)max
- The max (in)mean
- The mean (in)stdDev
- The stdDev (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void queryStats(double[] min, double[] max, double[] mean, double[] stdDev) throws IOException, AutomationException
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void empty() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean hasStats() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean hasHistogram() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void accumulate(double value, int count) throws IOException, AutomationException
value
- The value (in)count
- The count (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void update() throws IOException, AutomationException
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 |