[gimp] Bug 697862 - heal tool quality regression
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 697862 - heal tool quality regression
- Date: Sun, 21 Apr 2013 19:52:34 +0000 (UTC)
commit 3f51850dc45b3a04c834ef4ebd12c826b143898d
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 file changed, 1 insertion(+), 1 deletion(-)
---
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]