QGIS API Documentation
3.6.0-Noosa (5873452)
|
A linear enhanceContrast enhancement that first clips to min max and then enhanceContrastes linearly between min and max. More...
#include <qgslinearminmaxenhancementwithclip.h>
Public Member Functions | |
QgsLinearMinMaxEnhancementWithClip (Qgis::DataType, double, double) | |
int | enhance (double) override |
A customizable method that takes in a double value and returns a int between 0 and 255. More... | |
bool | isValueInDisplayableRange (double) override |
A customizable method to indicate if a pixel's value is within the displayable range. More... | |
Public Member Functions inherited from QgsContrastEnhancementFunction | |
QgsContrastEnhancementFunction (Qgis::DataType, double, double) | |
QgsContrastEnhancementFunction (const QgsContrastEnhancementFunction &f) | |
virtual | ~QgsContrastEnhancementFunction ()=default |
double | maximumValue () const |
Returns the maximum value. More... | |
double | minimumValue () const |
Returns the minimum value. More... | |
void | setMaximumValue (double value) |
Sets the maximum value. More... | |
void | setMinimumValue (double value) |
Sets the minimum value. More... | |
Additional Inherited Members | |
Protected Attributes inherited from QgsContrastEnhancementFunction | |
double | mMaximumValue |
User defineable maximum value for the band, used for enhanceContrasting. More... | |
double | mMinimumMaximumRange |
Minimum maximum range for the band, used for enhanceContrasting. More... | |
double | mMinimumValue |
User defineable minimum value for the band, used for enhanceContrasting. More... | |
Qgis::DataType | mQgsRasterDataType |
Data type of the band. More... | |
A linear enhanceContrast enhancement that first clips to min max and then enhanceContrastes linearly between min and max.
Definition at line 30 of file qgslinearminmaxenhancementwithclip.h.
QgsLinearMinMaxEnhancementWithClip::QgsLinearMinMaxEnhancementWithClip | ( | Qgis::DataType | qgsRasterDataType, |
double | minimumValue, | ||
double | maximumValue | ||
) |
Definition at line 21 of file qgslinearminmaxenhancementwithclip.cpp.
|
overridevirtual |
A customizable method that takes in a double value and returns a int between 0 and 255.
Reimplemented from QgsContrastEnhancementFunction.
Definition at line 25 of file qgslinearminmaxenhancementwithclip.cpp.
|
overridevirtual |
A customizable method to indicate if a pixel's value is within the displayable range.
Reimplemented from QgsContrastEnhancementFunction.
Definition at line 45 of file qgslinearminmaxenhancementwithclip.cpp.