71
71
class ImgHSVTweak : public ImgColorProcessor {
74
73
inline ImgHSVTweak(ImgSource* parent, int hmin, int hmax, int smin,
75
74
int smax, int vmin, int vmax, float hfact, int hconst, float sfact,
76
int sconst, float vfact, int vconst) : ImgColorProcessor(parent),
77
m_hmin(hmin), m_hmax(hmax), m_smin(smin), m_smax(smax),
78
m_vmin(vmin), m_vmax(vmax), m_vfact(vfact), m_hfact(hfact), m_hconst(hconst),
79
m_sfact(sfact), m_sconst(sconst), m_vconst(vconst) {}
75
int sconst, float vfact, int vconst)
76
: ImgColorProcessor(parent),
77
m_hmin(hmin), m_hmax(hmax),
78
m_smin(smin), m_smax(smax),
79
m_vmin(vmin), m_vmax(vmax),
80
m_hconst(hconst), m_sconst(sconst), m_vconst(vconst),
81
m_hfact(hfact), m_sfact(sfact), m_vfact(vfact) {}
80
82
virtual QColor doColorCorrection(QColor c);
83
int m_hmin, m_hmax, m_smin, m_smax, m_vmin, m_vmax, m_hconst,
85
float m_hfact, m_sfact, m_vfact;
88
m_hconst, m_sconst, m_vconst;
89
float m_hfact, m_sfact, m_vfact;