18#ifndef QGSRASTERBANDSTATS
19#define QGSRASTERBANDSTATS
64 double maximumValue = -std::numeric_limits<double>::max();
70 double minimumValue = std::numeric_limits<double>::max();
88 double sumOfSquares = 0;
QFlags< RasterBandStatistic > RasterBandStatistics
Statistics to be calculated for raster bands.
The RasterBandStats struct is a container for statistics about a single raster band.
int bandNumber
The gdal band number (starts at 1)
int height
Number of rows used to calc statistics.
QgsRasterBandStats()=default
QgsRectangle extent
Extent used to calc statistics.
int width
Number of columns used to calc statistics.
Qgis::RasterBandStatistics statsGathered
Collected statistics.
bool contains(const QgsRasterBandStats &s) const
Compares region, size etc. not collected statistics.
A rectangle specified with double values.
unsigned long long qgssize
Qgssize is used instead of size_t, because size_t is stdlib type, unknown by SIP, and it would be har...