Re-enabled chroma detail DCT - denoise
This commit is contained in:
parent
8c8df83a5a
commit
f69fd2ddec
@ -5947,9 +5947,9 @@ void ImProcFunctions::DeNoise(int call, int del, float * slidL, float * slida, f
|
||||
|
||||
if (!adecomp.memoryAllocationFailed) {
|
||||
if ((lp.noisecf >= 0.1f || lp.noisecc >= 0.1f)) {
|
||||
if (lp.noisechrodetail > 1000) { //to avoid all utilisation
|
||||
// if (lp.noisechrodetail > 1000) { //to avoid all utilisation
|
||||
fftw_denoise(GW, GH, max_numblox_W, min_numblox_W, tmp1.a, Ain, numThreads, lp, 1);
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
@ -5977,12 +5977,12 @@ void ImProcFunctions::DeNoise(int call, int del, float * slidL, float * slida, f
|
||||
|
||||
|
||||
if (!bdecomp.memoryAllocationFailed) {
|
||||
if ((lp.noisecf >= 0.1f || lp.noisecc >= 0.1f)) {
|
||||
// if ((lp.noisecf >= 0.1f || lp.noisecc >= 0.1f)) {
|
||||
if (lp.noisechrodetail > 1000) {//to avoid all utilisation
|
||||
|
||||
fftw_denoise(GW, GH, max_numblox_W, min_numblox_W, tmp1.b, Bin, numThreads, lp, 1);
|
||||
}
|
||||
}
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
@ -2656,7 +2656,7 @@ LocallabParams::LocallabSpot::LocallabSpot() :
|
||||
noiselequal(7),
|
||||
noisechrof(0),
|
||||
noisechroc(0),
|
||||
noisechrodetail(0),
|
||||
noisechrodetail(90),
|
||||
adjblur(0),
|
||||
bilateral(0),
|
||||
sensiden(20)
|
||||
|
@ -325,7 +325,7 @@ Locallab::Locallab():
|
||||
noiselequal(Gtk::manage(new Adjuster(M("TP_LOCALLAB_NOISELEQUAL"), -2, 10, 1, 7, Gtk::manage(new RTImage("circle-white-small.png")), Gtk::manage(new RTImage("circle-black-small.png"))))),
|
||||
noisechrof(Gtk::manage(new Adjuster(M("TP_LOCALLAB_NOISECHROFINE"), MINCHRO, MAXCHRO, 1, 0))),
|
||||
noisechroc(Gtk::manage(new Adjuster(M("TP_LOCALLAB_NOISECHROCOARSE"), MINCHRO, MAXCHROCC, 1, 0))),
|
||||
noisechrodetail(Gtk::manage(new Adjuster(M("TP_LOCALLAB_NOISECHRODETAIL"), 0, 100, 1, 0))),
|
||||
noisechrodetail(Gtk::manage(new Adjuster(M("TP_LOCALLAB_NOISECHRODETAIL"), 0, 100, 1, 90))),
|
||||
adjblur(Gtk::manage(new Adjuster(M("TP_LOCALLAB_ADJ"), -100., 100., 1., 0., Gtk::manage(new RTImage("circle-blue-small.png")), Gtk::manage(new RTImage("circle-red-small.png"))))),
|
||||
bilateral(Gtk::manage(new Adjuster(M("TP_LOCALLAB_BILATERAL"), 0, 100, 1, 0))),
|
||||
sensiden(Gtk::manage(new Adjuster(M("TP_LOCALLAB_SENSIDEN"), 0, 100, 1, 20))),
|
||||
@ -1966,7 +1966,7 @@ Locallab::Locallab():
|
||||
wavBox->pack_start(*noiselequal);
|
||||
wavBox->pack_start(*noisechrof);
|
||||
wavBox->pack_start(*noisechroc);
|
||||
// wavBox->pack_start(*noisechrodetail); // Uncomment this line to use the noisechrodetail adjuster
|
||||
wavBox->pack_start(*noisechrodetail); // Uncomment this line to use the noisechrodetail adjuster
|
||||
wavBox->pack_start(*adjblur);
|
||||
wavFrame->add(*wavBox);
|
||||
denoisBox->pack_start(*wavFrame);
|
||||
|
Loading…
x
Reference in New Issue
Block a user