Class: QgsRasterBandStats¶
- class qgis.core.QgsRasterBandStats¶
Bases:
sip.wrapper
The RasterBandStats struct is a container for statistics about a single raster band.
- All = 127¶
- Max = 2¶
- Mean = 16¶
- Min = 1¶
- None = 0¶
- Range = 4¶
- class Stats¶
Bases:
int
- StdDev = 32¶
- Sum = 8¶
- SumOfSquares = 64¶
- bandNumber¶
- contains(self, s: QgsRasterBandStats) bool ¶
Compares region, size etc. not collected statistics
- Parameters
s (QgsRasterBandStats) –
- Return type
bool
- elementCount¶
- extent¶
- height¶
- maximumValue¶
- mean¶
- minimumValue¶
- range¶
- statsGathered¶
- stdDev¶
- sum¶
- sumOfSquares¶
- width¶