Author: post
Date: 2009-07-12 16:36:31 +0200 (Sun, 12 Jul 2009)
New Revision: 2590

Modified:
   trunk/plugins/denoise/denoise.c
   trunk/plugins/denoise/fftdenoiser.h
Log:
Denoise FFT size is now 128x128 and overlap is 24 pixels. This gives less 
blocking and more speed.

Modified: trunk/plugins/denoise/denoise.c
===================================================================
--- trunk/plugins/denoise/denoise.c     2009-07-11 20:15:47 UTC (rev 2589)
+++ trunk/plugins/denoise/denoise.c     2009-07-12 14:36:31 UTC (rev 2590)
@@ -286,7 +286,7 @@
        denoise->info.sigmaLuma = exp_comp * ((float) denoise->denoise_luma) / 
2.5;
        denoise->info.sigmaChroma = exp_comp * ((float) 
denoise->denoise_chroma) / 2.5;
        denoise->info.sharpenLuma = exp_comp * ((float) denoise->sharpen) / 
20.0;
-       denoise->info.sharpenCutoffLuma = 0.3f;
+       denoise->info.sharpenCutoffLuma = 0.1f;
        denoise->info.beta = 1.0;
        denoise->info.sharpenChroma = 0.0f;
        denoise->info.sharpenMinSigmaLuma = denoise->info.sigmaLuma + exp_comp 
* 2.0;

Modified: trunk/plugins/denoise/fftdenoiser.h
===================================================================
--- trunk/plugins/denoise/fftdenoiser.h 2009-07-11 20:15:47 UTC (rev 2589)
+++ trunk/plugins/denoise/fftdenoiser.h 2009-07-12 14:36:31 UTC (rev 2590)
@@ -23,8 +23,8 @@
 #include "denoisethread.h"
 #include "denoiseinterface.h"
 
-#define FFT_BLOCK_SIZE 64       // Preferable able to be factorized into 
primes, must be divideable by 4.
-#define FFT_BLOCK_OVERLAP 16    // Must be dividable by 4 (OVERLAP * 2 must be 
< SIZE)
+#define FFT_BLOCK_SIZE 128       // Preferable able to be factorized into 
primes, must be divideable by 4.
+#define FFT_BLOCK_OVERLAP 24    // Must be dividable by 4 (OVERLAP * 2 must be 
< SIZE)
 #define SIGMA_FACTOR 0.25f;    // Amount to multiply sigma by to give 
reasonable amount
 class FFTDenoiser
 {


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to