QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSRASTERHISTOGRAM
19 #define QGSRASTERHISTOGRAM
21 #include "qgis_core.h"
66 bool includeOutOfRange =
false;
QVector< int > HistogramVector
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
A rectangle specified with double values.
QgsRectangle extent
Extent used to calc histogram.
bool includeOutOfRange
Whether histogram includes out of range values (in first and last bin)
double minimum
The minimum histogram value.
bool qgsDoubleNear(double a, double b, double epsilon=4 *std::numeric_limits< double >::epsilon())
Compare two doubles (but allow some difference)
int binCount
Number of bins (intervals,buckets) in histogram.
The QgsRasterHistogram is a container for histogram of a single raster band. It is used to cache comp...
int height
Number of rows used to calc histogram.
int width
Number of columns used to calc histogram.
double maximum
The maximum histogram value.
int bandNumber
The gdal band number (starts at 1)