21 #ifndef QGSCONTRASTENHANCEMENT_H 22 #define QGSCONTRASTENHANCEMENT_H 50 UserDefinedEnhancement
91 int enhanceContrast(
double );
94 bool isValueInDisplayableRange(
double );
103 void setMaximumValue(
double,
bool generateTable =
true );
106 void setMinimumValue(
double,
bool generateTable =
true );
120 bool mEnhancementDirty;
123 double mLookupTableOffset;
129 double mMinimumValue;
132 double mMaximumValue;
138 double mRasterDataTypeRange;
143 bool generateLookupTable();
146 int calculateContrastEnhancementValue(
double );
Eight bit unsigned integer (quint8)
double maximumValue() const
Return the maximum value for the contrast enhancement range.
double minimumValue() const
Return the minimum value for the contrast enhancement range.
A contrast enhancement funcion is the base class for all raster contrast enhancements.
ContrastEnhancementAlgorithm
This enumerator describes the types of contrast enhancement algorithms that can be used...
DataType
Raster data types.
ContrastEnhancementAlgorithm contrastEnhancementAlgorithm() const
Manipulates raster pixel values so that they enhanceContrast or clip into a specified numerical range...