18 #ifndef QGSRASTERBANDSTATS
19 #define QGSRASTERBANDSTATS
45 SumOfSquares = 1 << 6,
46 All = Min | Max | Range | Sum | Mean | StdDev | SumOfSquares
A rectangle specified with double values.
double sum
The sum of all cells in the band.
int height
Number of rows used to calc statistics.
int bandNumber
The name of the band that these stats belong to.
double maximumValue
The maximum cell value in the raster band.
size_t elementCount
The number of not no data cells in the band.
bool contains(const QgsRasterBandStats &s) const
double ANALYSIS_EXPORT max(double x, double y)
returns the maximum of two doubles or the first argument if both are equal
QgsRectangle extent
Extent used to calc statistics.
double stdDev
The standard deviation of the cell values.
The RasterBandStats struct is a container for statistics about a single raster band.
double mean
The mean cell value for the band.
int statsGathered
Collected statistics.
double range
The range is the distance between min & max.
double minimumValue
The minimum cell value in the raster band.
double ANALYSIS_EXPORT min(double x, double y)
returns the minimum of two doubles or the first argument if both are equal
double sumOfSquares
The sum of the squares.
int width
Number of columns used to calc statistics.