Update of /cvsroot/ufraw/ufraw
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31168
Modified Files:
ufraw_ufraw.c
Log Message:
Fix a couple of denoising issues.
Index: ufraw_ufraw.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_ufraw.c,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -d -r1.196 -r1.197
--- ufraw_ufraw.c 18 Oct 2009 05:40:07 -0000 1.196
+++ ufraw_ufraw.c 19 Oct 2009 13:00:10 -0000 1.197
@@ -712,7 +712,7 @@
ufraw_developer_prepare(uf, file_developer);
ufraw_convert_image_init(uf);
ufraw_convert_image_first_phase(uf, TRUE);
- if (uf->ConvertShrink>1) {
+ if ( uf->ConvertShrink>1 || !uf->HaveFilters ) {
ufraw_image_data *FirstImage = &uf->Images[ufraw_first_phase];
dcraw_image_data final;
final.height = FirstImage->height;
@@ -1190,8 +1190,7 @@
return in;
dcraw_image_data tmp;
- /* With shrink==2 the border should be 16 pixels */
- int border = 16 * 2 / uf->ConvertShrink;
+ int border = 16;
int bx = MAX (x - border, 0);
int by = MAX (y - border, 0);
tmp.width = MIN ((x - bx) + w + border, in->width - bx);
------------------------------------------------------------------------------
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