QgsLinearMinMaxEnhancementWithClip class

A linear enhanceContrast enhancement that first clips to min max and then enhanceContrastes linearly between min and max.

Contents

Base classes

class QgsContrastEnhancementFunction
A contrast enhancement function is the base class for all raster contrast enhancements.

Public functions

auto enhance(double value) -> int override
A customizable method that takes in a double value and returns a int between 0 and 255.
auto isValueInDisplayableRange(double value) -> bool override
A customizable method to indicate if a pixel's value is within the displayable range.