Update of /cvsroot/ufraw/ufraw
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15102

Modified Files:
        ufraw_ufraw.c 
Log Message:
Scale wavelet denoising threshold.

Index: ufraw_ufraw.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_ufraw.c,v
retrieving revision 1.200
retrieving revision 1.201
diff -u -d -r1.200 -r1.201
--- ufraw_ufraw.c       28 Oct 2009 04:55:40 -0000      1.200
+++ ufraw_ufraw.c       29 Oct 2009 03:30:08 -0000      1.201
@@ -1043,7 +1043,8 @@
            img->height, raw->raw.colors, raw->rgbMax);
     rawimage = raw->raw.image;
     raw->raw.image = (dcraw_image_type *)img->buffer;
-    dcraw_wavelet_denoise(raw, uf->conf->threshold);
+    /* The threshold is scaled for compatibility */
+    dcraw_wavelet_denoise(raw, uf->conf->threshold * sqrt(uf->raw_multiplier));
     dcraw_finalize_raw(raw, dark, uf->developer->rgbWB);
     raw->raw.image = rawimage;
 }


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
ufraw-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to