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