27 #ifndef DIGIKAM_LOCAL_CONTRAST_FILTER_H
28 #define DIGIKAM_LOCAL_CONTRAST_FILTER_H
50 struct Q_DECL_HIDDEN Args
71 float denormal_remove;
83 return QLatin1String(
"digikam:LocalContrastFilter");
86 static QString DisplayableName();
100 return FilterIdentifier();
105 void readParameters(
const FilterAction& action)
override;
109 void filterImage()
override;
111 void processRgbImage(
float*
const img,
int sizex,
int sizey);
112 void process8bitRgbImage(
unsigned char*
const img,
int sizex,
int sizey);
113 void process16bitRgbImage(
unsigned short*
const img,
int sizex,
int sizey);
115 float func(
float x1,
float x2);
117 void inplaceBlur(
float*
const data,
int sizex,
int sizey,
float blur);
118 void stretchContrast(
float*
const data,
int datasize);
120 inline void rgb2hsv(
const float& r,
const float& g,
const float& b,
float& h,
float& s,
float& v);
121 inline void hsv2rgb(
const float& h,
const float& s,
const float& v,
float& r,
float& g,
float& b);
123 void blurMultithreaded(uint start, uint stop,
float*
const img,
float*
const blurimage);
124 void saturationMultithreaded(uint start, uint stop,
float*
const img,
float*
const srcimg);
126 void inplaceBlurYMultithreaded(
const Args& prm);
127 void inplaceBlurXMultithreaded(
const Args& prm);
Definition: dimgthreadedfilter.h:41
Definition: filteraction.h:43
Definition: localcontrastcontainer.h:39
Definition: localcontrastfilter.h:45
QString filterIdentifier() const override
Definition: localcontrastfilter.h:98
static QString FilterIdentifier()
Definition: localcontrastfilter.h:81
static int CurrentVersion()
Definition: localcontrastfilter.h:93
static QList< int > SupportedVersions()
Definition: localcontrastfilter.h:88
Definition: datefolderview.cpp:43