Merge Locallab tool "Denoise" into Locallab tool "Blur & Noise"

This commit is contained in:
Pandagrapher
2020-04-19 15:19:48 +02:00
parent 99b4a056c8
commit dd4eb44971
12 changed files with 465 additions and 607 deletions

View File

@@ -582,6 +582,21 @@ private:
MyComboBoxText* const blurMethod;
MyComboBoxText* const chroMethod;
Gtk::CheckButton* const activlum;
CurveEditorGroup* const LocalcurveEditorwavden;
FlatCurveEditor* const wavshapeden;
Adjuster* const noiselumf0;
Adjuster* const noiselumf;
Adjuster* const noiselumf2;
Adjuster* const noiselumc;
Adjuster* const noiselumdetail;
Adjuster* const noiselequal;
Adjuster* const noisechrof;
Adjuster* const noisechroc;
Adjuster* const noisechrodetail;
Adjuster* const detailthr;
Adjuster* const adjblur;
Adjuster* const bilateral;
Adjuster* const sensiden;
MyExpander* const expmaskbl;
MyComboBoxText* const showmaskblMethod;
Gtk::CheckButton* const enablMask;
@@ -1048,42 +1063,6 @@ private:
void lumacontrastPlusPressed();
};
/* ==== LocallabDenoise ==== */
class LocallabDenoise:
public Gtk::VBox,
public LocallabTool
{
private:
CurveEditorGroup* const LocalcurveEditorwavden;
FlatCurveEditor* const wavshapeden;
Adjuster* const noiselumf0;
Adjuster* const noiselumf;
Adjuster* const noiselumf2;
Adjuster* const noiselumc;
Adjuster* const noiselumdetail;
Adjuster* const noiselequal;
Adjuster* const noisechrof;
Adjuster* const noisechroc;
Adjuster* const noisechrodetail;
Adjuster* const detailthr;
Adjuster* const adjblur;
Adjuster* const bilateral;
Adjuster* const sensiden;
public:
LocallabDenoise();
~LocallabDenoise();
void read(const rtengine::procparams::ProcParams* pp, const ParamsEdited* pedited = nullptr);
void write(rtengine::procparams::ProcParams* pp, ParamsEdited* pedited = nullptr);
void setDefaults(const rtengine::procparams::ProcParams* defParams, const ParamsEdited* pedited = nullptr);
void adjusterChanged(Adjuster* a, double newval);
void curveChanged(CurveEditor* ce);
private:
void enabledChanged();
};
/* ==== LocallabLog ==== */
class LocallabLog:
public Gtk::VBox,