33 if ( myStretchedValue < 0 )
37 else if ( myStretchedValue > 255 )
42 return myStretchedValue;
double mMinimumMaximumRange
Minimum maximum range for the band, used for enhanceContrasting.
bool isValueInDisplayableRange(double) override
A customicable method to indicate if the pixels is displayable.
A contrast enhancement funcion is the base class for all raster contrast enhancements.
double mMaximumValue
User defineable maximum value for the band, used for enhanceContrasting.
double mMinimumValue
User defineable minimum value for the band, used for enhanceContrasting.
QgsLinearMinMaxEnhancementWithClip(QGis::DataType, double, double)
DataType
Raster data types.
int enhance(double) override
A customizable method that takes in a double and returns a int between 0 and 255. ...