60 class Q_DECL_HIDDEN Args
68 float* thold =
nullptr;
69 uint* lpass =
nullptr;
70 uint* hpass =
nullptr;
71 double* stdev =
nullptr;
72 uint* samples =
nullptr;
73 float** fimg =
nullptr;
74 float threshold = 0.0F;
75 double softness = 0.0;
80 explicit NRFilter(QObject*
const parent =
nullptr);
84 void readParameters(
const FilterAction& action)
override;
87 QString filterIdentifier()
const override;
89 static QString FilterIdentifier();
90 static QString DisplayableName();
91 static QList<int> SupportedVersions();
92 static int CurrentVersion();
94 static void srgb2ycbcr(
float**
const fimg, uint size);
98 void filterImage()
override;
100 void waveletDenoise(
float* fimg[3],
unsigned int width,
unsigned int height,
101 float threshold,
double softness);
102 inline void hatTransform(
float*
const temp,
float*
const base,
int st,
int size,
int sc);
104 void ycbcr2srgb(
float**
const fimg, uint size);
106 void calculteStdevMultithreaded(
const Args& prm);
107 void thresholdingMultithreaded(
const Args& prm);
112 Private*
const d =
nullptr;