28 if ( myStretchedValue < 0 )
32 else if ( myStretchedValue > 255 )
37 return myStretchedValue;
DataType
Raster data types.
QgsLinearMinMaxEnhancement(Qgis::DataType, double, double)
double mMinimumMaximumRange
Minimum maximum range for the band, used for enhanceContrasting.
A contrast enhancement function is the base class for all raster contrast enhancements.
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. ...