Class: QgsRasterHistogram¶
The QgsRasterHistogram
is a container for histogram of a
single raster band. It is used to cache computed histograms in raster
providers.
Attributes
The gdal band number (starts at 1) |
|
Number of bins (intervals,buckets) in histogram. |
|
Extent used to calc histogram |
|
Number of rows used to calc histogram |
|
Stores the histogram for a given layer |
|
Whether histogram includes out of range values (in first and last bin) |
|
The maximum histogram value. |
|
The minimum histogram value. |
|
The number of non NULL cells used to calculate histogram. |
|
Histogram is valid |
|
Number of columns used to calc histogram |
- class qgis.core.QgsRasterHistogram[source]¶
Bases:
object
- __init__()
Constructor for an invalid QgsRasterHistogram.
- __init__(a0: QgsRasterHistogram)
- Parameters:
a0 (QgsRasterHistogram)
- bandNumber¶
The gdal band number (starts at 1)
- binCount¶
Number of bins (intervals,buckets) in histogram.
- extent¶
Extent used to calc histogram
- height¶
Number of rows used to calc histogram
- histogramVector¶
Stores the histogram for a given layer
- includeOutOfRange¶
Whether histogram includes out of range values (in first and last bin)
- maximum¶
The maximum histogram value.
- minimum¶
The minimum histogram value.
- nonNullCount¶
The number of non NULL cells used to calculate histogram.
- valid¶
Histogram is valid
- width¶
Number of columns used to calc histogram