18 #ifndef QGSHUESATURATIONFILTER_H
19 #define QGSHUESATURATIONFILTER_H
21 #include "qgis_core.h"
48 int bandCount() const override;
50 Qgis::DataType dataType(
int bandNo ) const override;
56 void setSaturation(
int saturation );
57 int saturation()
const {
return mSaturation; }
64 void setColorizeColor(
const QColor &colorizeColor );
69 void writeXml( QDomDocument &doc, QDomElement &parentElem )
const override;
72 void readXml(
const QDomElement &filterElem )
override;
76 void processSaturation(
int &r,
int &g,
int &b,
int &h,
int &s,
int &l );
78 void processColorization(
int &r,
int &g,
int &b,
int &h,
int &s,
int &l );
82 double mSaturationScale = 1;
88 bool mColorizeOn =
false;
89 QColor mColorizeColor;
90 int mColorizeH = 0, mColorizeS = 50;
91 int mColorizeStrength = 100;
95 #endif // QGSHUESATURATIONFILTER_H