Wavelet equalizer: added buttons C+,N,C-; some small fixes

This commit is contained in:
Ilia Popov
2010-07-03 00:58:14 +02:00
parent 7b35381546
commit 2e3d6d156e
7 changed files with 74 additions and 15 deletions

View File

@@ -22,7 +22,7 @@
#include <wavelet_dec.h>
#include <iostream>
//#include <iostream>
namespace rtengine {
@@ -51,7 +51,7 @@ void ImProcFunctions :: waveletEqualizer (LabImage * image, bool luminance, bool
return;
}
clock_t start = clock();
//clock_t start = clock();
if (luminance) {
limiter<wavelet_decomposition::internal_type> l1(0, 65535);
@@ -70,7 +70,7 @@ void ImProcFunctions :: waveletEqualizer (LabImage * image, bool luminance, bool
b.reconstruct(image->b, params->equalizer.c, l2);
}
std::cout << "Wavelets done in " << (double)(clock() - start) / CLOCKS_PER_SEC << std::endl;
//std::cout << "Wavelets done in " << (double)(clock() - start) / CLOCKS_PER_SEC << std::endl;
}