IStatsHistogram4 Interface

Provides access to accumulating member variables. Allows for block-wise outside updating.

Members

Name Description
Method Accumulate Accumulates a value and its count.
Method AccumulateCovariance Accumulates covariance array, numValidPixel.
Read/write property Covariances Array of doubles, the covariances with the n bands of the raster.
Method Empty Empties this RasterStatsHistogram and marks it invalid.
Method GetCovarAccu Get the accumulating or running variables used for covar computation. Continue to increment from here.
Method HasHistogram Checks if this StatsHistogram has histogram.
Method HasStats Checks if this StatsHistogram has stats.
Read/write property Histogram The histogram values of the statistics.
Method InitCovariances Resizes covariance array to nBands, init all elements to 0.
Read/write property Max The maximum value of the historgram.
Read/write property Mean The mean value of the historgram.
Read/write property Min The minimum value of the historgram.
Read-only property PixelCount The total pixel count.
Method PutCovarAccu Put the accumulating or running variables used for covar computation. Do this after having incremented them.
Method PutHistogramInfo Sets histogram size, resolution, and min/max range.
Method PutHistogramMinmax Sets histogram min and max range.
Method PutStats Computes stats and histogram from a given Raster.
Method QueryHistogramInfo Gets histogram size, resolutiom, and min/max range.
Method QueryHistogramMinmax Gets histogram min and max range.
Method QueryStats Computes stats and histogram from a given Raster.
Read-only property RasterHistogram The raster histogram.
Read-only property RasterStatistics The raster statistics.
Read/write property StdDev The standard deviation value of the historgram.
Method Update Updates the histogram after accumulation.
Method UpdateCovariances Final update after accumulate is finished.

IStatsHistogram4.GetCovarAccu Method

Get the accumulating or running variables used for covar computation. Continue to increment from here.

Public Sub GetCovarAccu ( _
    ByVal iBand As Integer, _
    ByRef numValidPixel As Double, _
    ByRef covarXY As Double, _
    ByRef meanX As Double, _
    ByRef meanY As Double _
)
public void GetCovarAccu (
    int iBand,
    ref double numValidPixel,
    ref double covarXY,
    ref double meanX,
    ref double meanY
);

IStatsHistogram4.PutCovarAccu Method

Put the accumulating or running variables used for covar computation. Do this after having incremented them.

Public Sub PutCovarAccu ( _
    ByVal iBand As Integer, _
    ByVal numValidPixel As Double, _
    ByVal covarXY As Double, _
    ByVal meanX As Double, _
    ByVal meanY As Double _
)
public void PutCovarAccu (
    int iBand,
    double numValidPixel,
    double covarXY,
    double meanX,
    double meanY
);

Inherited Interfaces

Interfaces Description
IStatsHistogram3 Provides access to members that controls stats and histogram.
IStatsHistogram2 Provides access to members that controls stats and histogram.
IStatsHistogram Provides access to members that controls stats and histogram.

Classes that implement IStatsHistogram4

Classes Description
StatsHistogram A raster statistics and histogram class.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.