Interface IStatsHistogram
- Namespace
- ESRI.ArcGIS.DatasourcesRaster
- Assembly
- ESRI.Server.DatasourcesRaster.dll
Provides access to members that controls stats and histogram.
[Guid("2B9062E8-DF44-4012-A0E4-CF0EFAA21693")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IStatsHistogram
Remarks
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
Properties
Histogram
The histogram values of the statistics.
object Histogram { get; set; }
Property Value
Remarks
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.
Max
The maximum value of the historgram.
double Max { get; set; }
Property Value
Mean
The mean value of the historgram.
double Mean { get; set; }
Property Value
Min
The minimum value of the historgram.
double Min { get; set; }
Property Value
StdDev
The standard deviation value of the historgram.
double StdDev { get; set; }
Property Value
Methods
Accumulate(double, int)
Accumulates a value and its count.
void Accumulate(double Value, int Count)
Parameters
Empty()
Empties this RasterStatsHistogram and marks it invalid.
void Empty()
HasHistogram()
Checks if this StatsHistogram has histogram.
bool HasHistogram()
Returns
HasStats()
Checks if this StatsHistogram has stats.
bool HasStats()
Returns
PutHistogramMinmax(double, double)
Sets histogram min and max range.
void PutHistogramMinmax(double Min, double Max)
Parameters
PutStats(double, double, double, double)
Computes stats and histogram from a given Raster.
void PutStats(double Min, double Max, double Mean, double StdDev)
Parameters
QueryHistogramMinmax(out double, out double)
Gets histogram min and max range.
void QueryHistogramMinmax(out double Min, out double Max)
Parameters
QueryStats(out double, out double, out double, out double)
Computes stats and histogram from a given Raster.
void QueryStats(out double Min, out double Max, out double Mean, out double StdDev)
Parameters
Update()
Updates the histogram after accumulation.
void Update()