[gimp/soc-2011-seamless-clone2] Bug 697862 - heal tool quality regression



commit 25d3e0e7159c3a132927ba4a3d42e275d5db03a5
Author: Loren Merritt <pengvado akuvian org>
Date:   Fri Apr 12 03:56:55 2013 +0000

    Bug 697862 - heal tool quality regression
    
    Fix heal tool's convergence threshold.
    
    When we switched from [0,255] to [0,1] pixel range, the amount of numerical
    error to tolerate should have been reduced proportionally.

 app/paint/gimpheal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/paint/gimpheal.c b/app/paint/gimpheal.c
index 6e76db9..c2aaa6e 100644
--- a/app/paint/gimpheal.c
+++ b/app/paint/gimpheal.c
@@ -355,7 +355,7 @@ gimp_heal_laplace_loop (gdouble *matrix,
                         gdouble *solution,
                         guchar  *mask)
 {
-#define EPSILON   0.001
+#define EPSILON   1e-8
 #define MAX_ITER  500
   gint i;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]