Bugfix for detail window crash, and code cleanup.

This commit is contained in:
Emil Martinec
2012-03-18 11:23:40 -05:00
parent 3c95953725
commit b263308ca1
12 changed files with 53 additions and 1173 deletions

View File

@@ -104,9 +104,6 @@ void Crop::update (int todo) {
if (todo & M_LINDENOISE) {
if (skip==1 && params.dirpyrDenoise.enabled) {
//array2D<float> Ldn(cropw,croph);
//parent->ipf.L_denoise(origCrop, laboCrop, params.dirpyrDenoise);
//parent->ipf.dirpyrLab_denoise(laboCrop, origCrop, params.dirpyrDenoise);
parent->ipf.RGB_denoise(origCrop, origCrop, /*Roffset,*/ params.dirpyrDenoise, params.defringe);
}
}
@@ -154,7 +151,6 @@ void Crop::update (int todo) {
if (skip==1) {
parent->ipf.impulsedenoise (labnCrop);
parent->ipf.defringe (labnCrop);
//parent->ipf.dirpyrdenoise (labnCrop);
parent->ipf.MLsharpen (labnCrop);
parent->ipf.MLmicrocontrast (labnCrop);
//parent->ipf.MLmicrocontrast (labnCrop);