Class: QgsBrightnessContrastFilter

class qgis.core.QgsBrightnessContrastFilter

Bases: qgis._core.QgsRasterInterface

Brightness/contrast filter pipe for rasters.

bandCount(self) → int
block(self, bandNo: int, extent: QgsRectangle, width: int, height: int, feedback: QgsRasterBlockFeedback = None) → QgsRasterBlock
brightness(self) → int
clone(self) → QgsBrightnessContrastFilter
contrast(self) → int
dataType(self, bandNo: int) → Qgis.DataType
initHistogram()
initStatistics()
readXml(self, filterElem: QDomElement)

Sets base class members from xml. Usually called from create() methods of subclasses

setBrightness(self, brightness: int)
setContrast(self, contrast: int)
setInput(self, input: QgsRasterInterface) → bool
writeXml(self, doc: QDomDocument, parentElem: QDomElement)