Subgroup: Contrast
Class: QgsContrastEnhancementFunction¶
-
class
qgis.core.
QgsContrastEnhancementFunction
¶ Bases:
sip.wrapper
A contrast enhancement function is the base class for all raster contrast enhancements.
The purpose of a contrast enhancement is to enhanceContrast or clip a pixel value into a specified bounding range.
Methods
enhance
A customizable method that takes in a double and returns a int between 0 and 255 isValueInDisplayableRange
A customicable method to indicate if the pixels is displayable setMaximumValue
Mustator for the maximum value setMinimumValue
Mutator for the minimum value Attributes
-
enhance
(self, float) → int¶ A customizable method that takes in a double and returns a int between 0 and 255
-
isValueInDisplayableRange
(self, float) → bool¶ A customicable method to indicate if the pixels is displayable
-
setMaximumValue
(self, float)¶ Mustator for the maximum value
-
setMinimumValue
(self, float)¶ Mutator for the minimum value
-